Skip to content

Add Laravel 6 compatibility #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
build
composer.lock
vendor
run.php
run.php
.phpunit.result.cache
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
language: php

php:
- 7.0
- 7.1
- 7.2
- 7.3

env:
matrix:
- COMPOSER_FLAGS="--prefer-lowest"
- COMPOSER_FLAGS=""

before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source

script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
20 changes: 9 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
@@ -15,26 +15,24 @@
"email": "[email protected]"
}
],
"autoload":{
"psr-4":{
"LVR\\State\\":"src/"
"autoload": {
"psr-4": {
"LVR\\State\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"LVR\\State\\Tests\\": "tests/"
}
},
"minimum-stability": "stable",
"minimum-stability": "stable",
"require": {
"illuminate/contracts": "^5.5",
"illuminate/support": "^5.5",
"php": "^7.0"
"illuminate/contracts": "^5.5|^6.0",
"illuminate/support": "^5.5|^6.0"
},
"require-dev": {
"phpunit/phpunit": "^6.3",
"orchestra/testbench": "^3.5"
"phpunit/phpunit": "^7.0|^8.0",
"orchestra/testbench": "^3.5|^4.0"
},
"suggest": {
}
"suggest": {}
}