Skip to content

Commit

Permalink
PHP 8 support (#52)
Browse files Browse the repository at this point in the history
* Refactor travis file a bit, add php 8

* Add php 8 to composer

* Rookie mistake on min version

* Update faker repo
  • Loading branch information
specialtactics authored Jan 30, 2022
1 parent 87546a5 commit f87852b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
17 changes: 6 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
dist: bionic
language: php

matrix:
fast_finish: true
include:
- php: 7.4
env: LARAVEL_VERSION=8.*
# - php: 8.0
# env: LARAVEL_VERSION=8.*

sudo: false

dist: xenial
php:
- 7.4
- 8.0

env:
global:
- setup=basic
- xdebug=false
jobs:
- LARAVEL_VERSION=8.*

cache:
directories:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": "^7.3",
"php": "^7.4|^8.0",
"api-ecosystem-for-laravel/dingo-api": "^3.1",
"php-open-source-saver/jwt-auth": "^1.4",
"illuminate/support": "^8.0",
Expand All @@ -19,7 +19,7 @@
"require-dev": {
"ext-json": "*",
"beyondcode/laravel-dump-server": "^1.6",
"fzaninotto/faker": "^1.8",
"fakerphp/faker": "^1.18",
"mockery/mockery": "^1.4",
"nunomaduro/collision": "^4.2",
"phpunit/phpunit": "^9",
Expand Down

0 comments on commit f87852b

Please sign in to comment.