Skip to content

Commit

Permalink
Add laravel 9.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Niek Pijp committed Mar 7, 2022
1 parent ee40ef4 commit 7a9fd6b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ before_script:
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source

script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
- export XDEBUG_MODE=coverage && vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
],
"require": {
"php": "^7.2|^8.0",
"illuminate/support": "5.8.* || 6.*.* || ^7.0 || ^8.0"
"illuminate/support": "5.8.* || 6.*.* || ^7.0 || ^8.0 || ^9.0 "
},
"require-dev": {
"orchestra/testbench": "^5.0|^6.0",
"phpunit/phpunit": "^8.0"
"orchestra/testbench": "^5.0|^6.0|^7.0",
"phpunit/phpunit": "^8.0|^9.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
<log type="coverage-html" target="build/coverage"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
Expand Down
2 changes: 0 additions & 2 deletions tests/FileVaultTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class FileVaultTest extends TestCase
* Get package providers.
*
* @param \Illuminate\Foundation\Application $app
*
* @return array
*/
protected function getPackageProviders($app)
Expand All @@ -27,7 +26,6 @@ protected function getPackageProviders($app)
* Get package aliases.
*
* @param \Illuminate\Foundation\Application $app
*
* @return array
*/
protected function getPackageAliases($app)
Expand Down

0 comments on commit 7a9fd6b

Please sign in to comment.