Skip to content

Commit

Permalink
Add preliminar support for laravel 11.x
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepat committed Jun 11, 2024
1 parent 625816e commit bfb75d6
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 24 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,26 @@ jobs:
fail-fast: true
matrix:
php: [7.3, 7.4, 8.0, 8.1, 8.2]
laravel: [8.0, 9.0, 10.0]
laravel: [8.0, 9.0, 10.0, 11.0]
exclude:
- php: 7.3
laravel: 9.0
- php: 7.3
laravel: 10.0
- php: 7.3
laravel: 11.0
- php: 7.4
laravel: 9.0
- php: 7.4
laravel: 10.0
- php: 7.4
laravel: 11.0
- php: 8.0
laravel: 10.0
- php: 8.0
laravel: 11.0
- php: 8.1
laravel: 11.0
- php: 8.2
laravel: 8.0

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ composer.lock
.vscode
.phpunit.result.cache
.php_cs.cache
.phpunit.cache
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
}
],
"require": {
"php": "^7.3|^8.0|^8.1",
"illuminate/contracts": "^8.0|^9.0|^10.0",
"illuminate/database": "^8.0|^9.0|^10.0",
"illuminate/events": "^8.0|^9.0|^10.0",
"illuminate/support": "^8.0|^9.0|^10.0"
"php": "^7.3|^8.0|^8.1|^8.2",
"illuminate/contracts": "^8.0|^9.0|^10.0|^11.0",
"illuminate/database": "^8.0|^9.0|^10.0|^11.0",
"illuminate/events": "^8.0|^9.0|^10.0|^11.0",
"illuminate/support": "^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"mockery/mockery": "^1.4.4",
"phpunit/phpunit": "^8.5.19|^9.5.8",
"mockery/mockery": "^1.4",
"phpunit/phpunit": "^8.5.19|^9.5.8|^11.0.1",
"psy/psysh": "@stable",
"squizlabs/php_codesniffer": "*",
"illuminate/console": "^8.0|^9.0|^10.0",
"illuminate/filesystem": "^8.0|^9.0|^10.0"
"illuminate/console": "^8.0|^9.0|^10.0|^11.0",
"illuminate/filesystem": "^8.0|^9.0|^10.0|^11.0"
},
"autoload": {
"psr-4": {
Expand Down
27 changes: 13 additions & 14 deletions phpunit.xml
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"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="./bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
failOnRisky="true"
failOnWarning="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
verbose="true">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.2/phpunit.xsd"
backupGlobals="false"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="./bootstrap.php"
colors="true"
failOnRisky="true"
failOnWarning="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false">
<testsuites>
<testsuite name="Baum Test Suite">
<directory suffix="Test.php">./tests/suite</directory>
Expand Down

0 comments on commit bfb75d6

Please sign in to comment.