Skip to content

Commit ef049da

Browse files
committed
fix: laravel 11
1 parent 27493af commit ef049da

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

.phpunit.result.cache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":1,"defects":{"CustomD\\Addressable\\Tests\\Feature\\ServiceProviderTest::it_has_provides_method":4,"CustomD\\Addressable\\Tests\\Feature\\ServiceProviderTest::it_is_a_service_provider":4},"times":{"CustomD\\Addressable\\Tests\\Feature\\ServiceProviderTest::it_has_provides_method":0.233,"CustomD\\Addressable\\Tests\\Feature\\ServiceProviderTest::it_is_a_service_provider":0.016}}
1+
{"version":1,"defects":{"CustomD\\Addressable\\Tests\\Feature\\ServiceProviderTest::it_has_provides_method":4,"CustomD\\Addressable\\Tests\\Feature\\ServiceProviderTest::it_is_a_service_provider":4},"times":{"CustomD\\Addressable\\Tests\\Feature\\ServiceProviderTest::it_has_provides_method":0,"CustomD\\Addressable\\Tests\\Feature\\ServiceProviderTest::it_is_a_service_provider":0.039}}

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,22 @@
3737
],
3838
"require": {
3939
"php": "^8.0.0",
40-
"illuminate/console": "^9.0|^10.0",
41-
"illuminate/database": "^9.0|^10.0",
42-
"illuminate/support": "^9.0|^10.0",
40+
"illuminate/console": "^9.0|^10.0|^11.0",
41+
"illuminate/database": "^9.0|^10.0|^11.0",
42+
"illuminate/support": "^9.0|^10.0|^11.0",
4343
"jackpopp/geodistance": "^1.2.0",
4444
"rinvex/countries": "^8.0.0",
4545
"spatie/laravel-package-tools": "^1.9.2"
4646
},
4747
"require-dev": {
48-
"illuminate/container": "^9.0|^10.0",
48+
"illuminate/container": "^9.0|^10.0|^11.0",
4949
"nunomaduro/collision": "^6.0|^7.0",
5050
"nunomaduro/larastan": "^2.0.1",
51-
"orchestra/testbench": "^7.0",
52-
"phpstan/extension-installer": "^1.1",
53-
"phpstan/phpstan-deprecation-rules": "^1.0",
54-
"phpstan/phpstan-phpunit": "^1.0",
55-
"phpunit/phpunit": "^9.5.0|^10.0"
51+
"orchestra/testbench": "^7.0|^8.0|^9.0",
52+
"phpstan/extension-installer": "*",
53+
"phpstan/phpstan-deprecation-rules": "*",
54+
"phpstan/phpstan-phpunit": "*",
55+
"phpunit/phpunit": "^9.5.0|^10.0|^11.0"
5656
},
5757
"autoload": {
5858
"psr-4": {
@@ -65,7 +65,7 @@
6565
}
6666
},
6767
"scripts": {
68-
"analyse": "vendor/bin/phpstan analyse",
68+
"phpstan": "vendor/bin/phpstan analyse",
6969
"test": "vendor/bin/phpunit"
7070
},
7171
"config": {

phpunit.xml.dist

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" executionOrder="random" failOnWarning="true" failOnRisky="true" failOnEmptyTestSuite="true" beStrictAboutOutputDuringTests="true" verbose="true">
3-
2+
<phpunit backupGlobals="false"
3+
backupStaticAttributes="false"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
convertErrorsToExceptions="true"
7+
convertNoticesToExceptions="true"
8+
convertWarningsToExceptions="true"
9+
processIsolation="false"
10+
stopOnFailure="false">
411
<testsuites>
512
<testsuite name="Custom D Addresssable Unit Test Suite">
613
<directory suffix="Test.php">./tests/Unit</directory>
@@ -9,19 +16,12 @@
916
<directory suffix="Test.php">./tests/Feature</directory>
1017
</testsuite>
1118
</testsuites>
12-
<filter>
13-
<whitelist>
14-
<directory suffix=".php">./src</directory>
15-
</whitelist>
16-
</filter>
17-
<logging>
18-
<log type="tap" target="build/report.tap" />
19-
<log type="junit" target="build/report.junit.xml" />
20-
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true" />
21-
<log type="coverage-text" target="build/coverage.txt" />
22-
<log type="coverage-clover" target="build/logs/clover.xml" />
23-
</logging>
24-
<php>
19+
<filter>
20+
<whitelist processUncoveredFilesFromWhitelist="true">
21+
<directory suffix=".php">src</directory>
22+
</whitelist>
23+
</filter>
24+
<php>
2525
<server name="APP_ENV" value="testing" />
2626
<server name="CACHE_DRIVER" value="array" />
2727
<server name="SESSION_DRIVER" value="array" />

0 commit comments

Comments
 (0)