Skip to content

Commit 4f8e3d9

Browse files
authored
Added Laravel 11 Support (#43)
* Added Laravel 11 Support * Clean up
1 parent 24f17dd commit 4f8e3d9

File tree

3 files changed

+26
-39
lines changed

3 files changed

+26
-39
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ phpunit.xml
55
storage
66
vendor
77
.php_cs
8+
.phpunit.result.cache
9+
.phpunit.result.cache/

composer.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@
1515
"require": {
1616
"php": "^8.0",
1717
"dingo/blueprint": "^0.4.5",
18-
"illuminate/routing": "^9.0|^10.0",
19-
"illuminate/support": "^9.0|^10.0",
18+
"illuminate/routing": "^9.0|^10.0|^11.0",
19+
"illuminate/support": "^9.0|^10.0|^11.0",
2020
"league/fractal": "^0.20"
2121
},
2222
"require-dev": {
2323
"friendsofphp/php-cs-fixer": "~3",
24-
"illuminate/auth": "^9.0|^10.0",
25-
"illuminate/cache": "^9.0|^10.0",
26-
"illuminate/console": "^9.0|^10.0",
27-
"illuminate/database": "^9.0|^10.0",
28-
"illuminate/events": "^9.0|^10.0",
29-
"illuminate/filesystem": "^9.0|^10.0",
30-
"illuminate/log": "^9.0|^10.0",
31-
"illuminate/pagination": "^9.0|^10.0",
32-
"laravel/lumen-framework": "^9.0|^10.0",
24+
"illuminate/auth": "^9.0|^10.0|^11.0",
25+
"illuminate/cache": "^9.0|^10.0|^11.0",
26+
"illuminate/console": "^9.0|^10.0|^11.0",
27+
"illuminate/database": "^9.0|^10.0|^11.0",
28+
"illuminate/events": "^9.0|^10.0|^11.0",
29+
"illuminate/filesystem": "^9.0|^10.0|^11.0",
30+
"illuminate/log": "^9.0|^10.0|^11.0",
31+
"illuminate/pagination": "^9.0|^10.0|^11.0",
32+
"laravel/lumen-framework": "^9.0|^10.0|^11.0",
3333
"mockery/mockery": "~1.0",
34-
"phpunit/phpunit": "^9.0",
34+
"phpunit/phpunit": "^9.0|^10.0",
3535
"squizlabs/php_codesniffer": "~2.0",
3636
"php-open-source-saver/jwt-auth": "^1.4"
3737
},

phpunit.xml.dist

Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,14 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
beStrictAboutTestsThatDoNotTestAnything="true"
5-
beStrictAboutOutputDuringTests="true"
6-
bootstrap="vendor/autoload.php"
7-
colors="true"
8-
convertErrorsToExceptions="true"
9-
convertNoticesToExceptions="true"
10-
convertWarningsToExceptions="true"
11-
failOnRisky="true"
12-
failOnWarning="true"
13-
processIsolation="false"
14-
stopOnError="false"
15-
stopOnFailure="false"
16-
verbose="true"
17-
>
18-
<testsuites>
19-
<testsuite name="API Test Suite">
20-
<directory suffix="Test.php">./tests</directory>
21-
<exclude>./tests/Routing/Adapter/LumenTest.php</exclude>
22-
</testsuite>
23-
</testsuites>
24-
<filter>
25-
<whitelist processUncoveredFilesFromWhitelist="true">
26-
<directory suffix=".php">./src</directory>
27-
</whitelist>
28-
</filter>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutOutputDuringTests="true" bootstrap="vendor/autoload.php" colors="true" failOnRisky="true" failOnWarning="true" processIsolation="false" stopOnError="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3+
<testsuites>
4+
<testsuite name="API Test Suite">
5+
<directory suffix="Test.php">./tests</directory>
6+
<exclude>./tests/Routing/Adapter/LumenTest.php</exclude>
7+
</testsuite>
8+
</testsuites>
9+
<source>
10+
<include>
11+
<directory suffix=".php">./src</directory>
12+
</include>
13+
</source>
2914
</phpunit>

0 commit comments

Comments
 (0)