Skip to content

Commit

Permalink
Merge pull request #78 from Laravel-Backpack/dependabot/composer/phpu…
Browse files Browse the repository at this point in the history
…nit/phpunit-9.star

Update phpunit/phpunit requirement from 4.* to 9.*
  • Loading branch information
tabacitu authored Mar 5, 2020
2 parents f594f5c + 8ffae19 commit 84057a9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ language: php

php:
- 7.2
- 7.3
- 7.4
- 8.0
- nightly

matrix:
allow_failures:
- php: 8.0
- php: nightly

sudo: false
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"spatie/laravel-backup": "^6.0"
},
"require-dev": {
"phpunit/phpunit" : "4.*",
"phpunit/phpunit" : "^9.0||^7.0",
"scrutinizer/ocular": "~1.1"
},
"autoload": {
Expand All @@ -41,7 +41,7 @@
}
},
"scripts": {
"test": "phpunit"
"test": "vendor/bin/phpunit --testdox"
},
"extra": {
"branch-alias": {
Expand Down
1 change: 0 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
>
<testsuites>
<testsuite name="Package Test Suite">
Expand Down
4 changes: 3 additions & 1 deletion tests/BaseTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

class BaseTest extends PHPUnit_Framework_TestCase
use PHPUnit\Framework\TestCase;

class BaseTest extends TestCase
{
/**
* A basic test example.
Expand Down

0 comments on commit 84057a9

Please sign in to comment.