Skip to content

Commit

Permalink
Support for Laravel 8 and PHP 8.0 (#15)
Browse files Browse the repository at this point in the history
* Upgrade dependencies.
* Upgrade phpunit schema.
  • Loading branch information
mdpoulter authored Sep 25, 2020
1 parent 3b8c4bd commit d8866a6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
}
],
"require": {
"php": "^7.3",
"php": "^7.3|^8.0",
"laravel/nova": "^3.0",
"illuminate/support": "^7.0",
"bensampo/laravel-enum": "^2.0"
"illuminate/support": "^7.0|^8.0",
"bensampo/laravel-enum": "^2.0|^3.0"
},
"require-dev": {
"symfony/var-dumper": "^5.0",
"orchestra/testbench": "^5.0",
"orchestra/testbench": "^5.0|^6.0",
"phpunit/phpunit": "^8.2|^9.0"
},
"autoload": {
Expand Down
16 changes: 9 additions & 7 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
Expand All @@ -8,15 +9,16 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Simple Squid Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src</directory>
</whitelist>
</filter>
</phpunit>

0 comments on commit d8866a6

Please sign in to comment.