Skip to content

Commit 587a618

Browse files
committed
feat!: PHPUnit v13 support (and drop v12).
1 parent 3572f26 commit 587a618

45 files changed

Lines changed: 50 additions & 50 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
"phpdocumentor/type-resolver": "^1.10.0|^2.0.0",
4949
"phpstan/phpdoc-parser": "^2.0.0",
5050
"phpstan/phpstan": "^2.1.1",
51-
"phpunit/phpunit": "^12.5.8",
51+
"phpunit/phpunit": "^13.0.0",
5252
"psr/event-dispatcher": "^1.0.0",
5353
"psr/http-message": "^1.1|^2.0",
54-
"sebastian/comparator": "^7.1.4",
54+
"sebastian/comparator": "^8.0.0",
5555
"symfony/console": "^8.0.4",
5656
"symfony/deprecation-contracts": "^3.0.0",
5757
"symfony/filesystem": "^8.0.0",

packages/glob-matcher/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"require-dev": {
2626
"lastdragon-ru/phpunit-extensions": "self.version",
2727
"mockery/mockery": "^1.6.6",
28-
"phpunit/phpunit": "^12.5.8"
28+
"phpunit/phpunit": "^13.0.0"
2929
},
3030
"autoload": {
3131
"psr-4": {

packages/glob-matcher/phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.2/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/13.1/phpunit.xsd"
44
cacheDirectory=".phpunit/cache"
55
executionOrder="random"
66
colors="true">

packages/graphql-printer/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"require-dev": {
2929
"composer/class-map-generator": "^1.7.0",
30-
"phpunit/phpunit": "^12.5.8",
30+
"phpunit/phpunit": "^13.0.0",
3131
"lastdragon-ru/phpunit-extensions": "self.version",
3232
"lastdragon-ru/phpunit-graphql": "self.version",
3333
"mockery/mockery": "^1.6.6"

packages/graphql-printer/phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.2/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/13.1/phpunit.xsd"
44
cacheDirectory=".phpunit/cache"
55
executionOrder="random"
66
colors="true">

packages/lara-asp-core/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"symfony/polyfill-php85": "^1.33.0"
2929
},
3030
"require-dev": {
31-
"phpunit/phpunit": "^12.5.8",
31+
"phpunit/phpunit": "^13.0.0",
3232
"lastdragon-ru/lara-asp-testing": "self.version",
3333
"lastdragon-ru/phpunit-extensions": "self.version",
3434
"mockery/mockery": "^1.6.6",

packages/lara-asp-core/phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.2/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/13.1/phpunit.xsd"
44
cacheDirectory=".phpunit/cache"
55
executionOrder="random"
66
colors="true">

packages/lara-asp-dev/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"symfony/var-dumper": "^8.0.0"
3434
},
3535
"require-dev": {
36-
"phpunit/phpunit": "^12.5.8"
36+
"phpunit/phpunit": "^13.0.0"
3737
},
3838
"autoload": {
3939
"psr-4": {

packages/lara-asp-dev/phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.2/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/13.1/phpunit.xsd"
44
cacheDirectory=".phpunit/cache"
55
executionOrder="random"
66
colors="true">

packages/lara-asp-dev/src/PhpStan/ClassMustBeFinal/RuleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use PHPStan\Rules\Rule as RuleContract;
77
use PHPStan\Testing\RuleTestCase;
88
use PHPUnit\Framework\Attributes\CoversClass;
9-
use PHPUnit\Framework\Attributes\RunClassInSeparateProcess;
9+
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
1010

1111
use function sprintf;
1212

@@ -15,7 +15,7 @@
1515
* @extends RuleTestCase<Rule>
1616
*/
1717
#[CoversClass(Rule::class)]
18-
#[RunClassInSeparateProcess]
18+
#[RunTestsInSeparateProcesses]
1919
final class RuleTest extends RuleTestCase {
2020
#[Override]
2121
protected function getRule(): RuleContract {

0 commit comments

Comments
 (0)