Skip to content

Commit

Permalink
Allow laravel 8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dexx committed Sep 9, 2020
1 parent e968eee commit a79c1b7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 25 deletions.
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
"description": "Easily filter eloquent models",
"type": "library",
"require": {
"illuminate/database": "^7.0",
"illuminate/support": "^7.0"
"illuminate/database": "^7.0|^8.0",
"illuminate/support": "^7.0|^8.0"
},
"require-dev": {
"orchestra/testbench": "^5.3",
"nesbot/carbon": "^2.35"
"orchestra/testbench": "^6.0.0",
"nesbot/carbon": "^2.39",
"laravel/legacy-factories": "^1.0"
},
"license": "MIT",
"authors": [
Expand Down
33 changes: 12 additions & 21 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
>
<testsuites>
<testsuite name="Package Test Suite">
<directory>tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
</phpunit>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="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="Package Test Suite">
<directory>tests/</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit a79c1b7

Please sign in to comment.