Skip to content

Commit

Permalink
Make compatible with Laravel 10 (#59)
Browse files Browse the repository at this point in the history
* Make compatible with Laravel 10

* Update PhpUnit configuration
  • Loading branch information
svenluijten authored Dec 7, 2023
1 parent f0880fe commit cd33bf3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 21 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.0, 8.1, 8.2, 8.3]
php: [8.1, 8.2, 8.3]
dependency-version: [lowest, highest]
exclude:
- php: 8.1
dependency-version: lowest
- php: 8.2
dependency-version: lowest
- php: 8.3
dependency-version: lowest
steps:
- uses: actions/checkout@v4

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
}
],
"require": {
"php": "^8.0",
"illuminate/support": "^8.0|^9.0"
"php": "^8.1",
"illuminate/support": "^10.0"
},
"require-dev": {
"graham-campbell/testbench": "^5.5.1|^6.0",
Expand Down
21 changes: 10 additions & 11 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
backupGlobals="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false"
>
<testsuites>
<testsuite name="Env Providers Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<testsuites>
<testsuite name="Env Providers Test Suite">
<directory suffix="Test.php">./tests/</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit cd33bf3

Please sign in to comment.