diff --git a/composer.json b/composer.json index fc9a341edc..5be968d8ac 100644 --- a/composer.json +++ b/composer.json @@ -153,7 +153,7 @@ "phpstan/phpstan-doctrine": "^2.0", "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-symfony": "^2.0", - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "psr/log": "^1.0 || ^2.0 || ^3.0", "ramsey/uuid": "^4.7", "ramsey/uuid-doctrine": "^2.0", diff --git a/src/Doctrine/Common/composer.json b/src/Doctrine/Common/composer.json index fdef310498..82bcef5d17 100644 --- a/src/Doctrine/Common/composer.json +++ b/src/Doctrine/Common/composer.json @@ -34,7 +34,7 @@ "doctrine/mongodb-odm": "^2.10", "doctrine/orm": "^2.17 || ^3.0", "phpspec/prophecy-phpunit": "^2.2", - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "symfony/type-info": "^7.4 || ^8.0" }, "conflict": { diff --git a/src/Doctrine/Odm/composer.json b/src/Doctrine/Odm/composer.json index 788f335c57..cbf9dd5321 100644 --- a/src/Doctrine/Odm/composer.json +++ b/src/Doctrine/Odm/composer.json @@ -37,7 +37,7 @@ "doctrine/doctrine-bundle": "^2.11 || ^3.1", "doctrine/mongodb-odm-bundle": "^5.0", "phpspec/prophecy-phpunit": "^2.2", - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "symfony/cache": "^7.4 || ^8.0", "symfony/framework-bundle": "^7.4 || ^8.0", "symfony/property-access": "^7.4 || ^8.0", diff --git a/src/Doctrine/Orm/composer.json b/src/Doctrine/Orm/composer.json index 83263ceed4..fc555709c5 100644 --- a/src/Doctrine/Orm/composer.json +++ b/src/Doctrine/Orm/composer.json @@ -34,7 +34,7 @@ "require-dev": { "doctrine/doctrine-bundle": "^2.11.1 || ^3.1", "phpspec/prophecy-phpunit": "^2.2", - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "ramsey/uuid": "^4.7", "ramsey/uuid-doctrine": "^2.0", "symfony/cache": "^7.4 || ^8.0", diff --git a/src/Documentation/composer.json b/src/Documentation/composer.json index 474aefe8bf..9d25d55905 100644 --- a/src/Documentation/composer.json +++ b/src/Documentation/composer.json @@ -39,7 +39,7 @@ } }, "require-dev": { - "phpunit/phpunit": "^11.5 || ^12.2" + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0" }, "minimum-stability": "beta", "prefer-stable": true diff --git a/src/Elasticsearch/composer.json b/src/Elasticsearch/composer.json index b578baf70e..b46084f0c2 100644 --- a/src/Elasticsearch/composer.json +++ b/src/Elasticsearch/composer.json @@ -41,7 +41,7 @@ }, "require-dev": { "phpspec/prophecy-phpunit": "^2.2", - "phpunit/phpunit": "^11.5 || ^12.2" + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0" }, "autoload": { "psr-4": { diff --git a/src/GraphQl/composer.json b/src/GraphQl/composer.json index 866c65b124..19a375dab9 100644 --- a/src/GraphQl/composer.json +++ b/src/GraphQl/composer.json @@ -36,7 +36,7 @@ "twig/twig": "^1.42.3 || ^2.12 || ^3.0", "symfony/mercure-bundle": "^0.4.3|^0.5", "symfony/routing": "^7.4 || ^8.0", - "phpunit/phpunit": "^11.5 || ^12.2" + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0" }, "autoload": { "psr-4": { diff --git a/src/Hal/composer.json b/src/Hal/composer.json index 6c4562a898..ae1c6389bd 100644 --- a/src/Hal/composer.json +++ b/src/Hal/composer.json @@ -67,7 +67,7 @@ "require-dev": { "api-platform/json-schema": "^5.0", "phpspec/prophecy-phpunit": "^2.2", - "phpunit/phpunit": "^11.5 || ^12.2" + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0" }, "minimum-stability": "beta", "prefer-stable": true diff --git a/src/HttpCache/composer.json b/src/HttpCache/composer.json index ceea4df045..29c6e2c554 100644 --- a/src/HttpCache/composer.json +++ b/src/HttpCache/composer.json @@ -33,7 +33,7 @@ "phpspec/prophecy-phpunit": "^2.2", "symfony/http-client": "^7.4 || ^8.0", "symfony/type-info": "^7.4 || ^8.0", - "phpunit/phpunit": "^11.5 || ^12.2" + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0" }, "autoload": { "psr-4": { diff --git a/src/Hydra/composer.json b/src/Hydra/composer.json index 65c8f203d5..c70b7c9d52 100644 --- a/src/Hydra/composer.json +++ b/src/Hydra/composer.json @@ -40,7 +40,7 @@ "api-platform/doctrine-common": "^5.0", "phpspec/prophecy": "^1.19", "phpspec/prophecy-phpunit": "^2.2", - "phpunit/phpunit": "^11.5 || ^12.2" + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0" }, "autoload": { "psr-4": { diff --git a/src/JsonApi/composer.json b/src/JsonApi/composer.json index e7b7591758..9ee8d8128d 100644 --- a/src/JsonApi/composer.json +++ b/src/JsonApi/composer.json @@ -34,7 +34,7 @@ "require-dev": { "phpspec/prophecy": "^1.19", "phpspec/prophecy-phpunit": "^2.2", - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "symfony/type-info": "^7.4 || ^8.0" }, "autoload": { diff --git a/src/JsonLd/composer.json b/src/JsonLd/composer.json index 0d389945ae..d7708a3ca7 100644 --- a/src/JsonLd/composer.json +++ b/src/JsonLd/composer.json @@ -69,7 +69,7 @@ }, "require-dev": { "symfony/type-info": "^7.4 || ^8.0", - "phpunit/phpunit": "^11.5 || ^12.2" + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0" }, "minimum-stability": "beta", "prefer-stable": true diff --git a/src/JsonSchema/composer.json b/src/JsonSchema/composer.json index 39c2e025f5..713b099039 100644 --- a/src/JsonSchema/composer.json +++ b/src/JsonSchema/composer.json @@ -34,7 +34,7 @@ }, "require-dev": { "phpspec/prophecy-phpunit": "^2.2", - "phpunit/phpunit": "^11.5 || ^12.2" + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0" }, "autoload": { "psr-4": { diff --git a/src/Laravel/composer.json b/src/Laravel/composer.json index 70ea3d51be..72a9181343 100644 --- a/src/Laravel/composer.json +++ b/src/Laravel/composer.json @@ -63,7 +63,7 @@ "orchestra/testbench": "^10.1 || ^11.0", "phpdocumentor/type-resolver": "^1.7", "phpstan/phpdoc-parser": "^1.29 || ^2.0", - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "symfony/http-client": "^7.4 || ^8.0", "symfony/mcp-bundle": "^0.13", "symfony/object-mapper": "^7.4 || ^8.0" diff --git a/src/Mcp/composer.json b/src/Mcp/composer.json index 4979c7f11f..db4de7c9e7 100644 --- a/src/Mcp/composer.json +++ b/src/Mcp/composer.json @@ -39,7 +39,7 @@ "symfony/serializer": "^7.4 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "symfony/expression-language": "^7.4 || ^8.0" }, "autoload": { diff --git a/src/Metadata/composer.json b/src/Metadata/composer.json index 4bde1823d6..b66aa03eb8 100644 --- a/src/Metadata/composer.json +++ b/src/Metadata/composer.json @@ -41,7 +41,7 @@ "api-platform/state": "^5.0", "phpspec/prophecy-phpunit": "^2.2", "phpstan/phpdoc-parser": "^1.29 || ^2.0", - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "symfony/config": "^7.4 || ^8.0", "symfony/routing": "^7.4 || ^8.0", "symfony/var-dumper": "^7.4 || ^8.0", diff --git a/src/OpenApi/composer.json b/src/OpenApi/composer.json index 8690267115..611de987a4 100644 --- a/src/OpenApi/composer.json +++ b/src/OpenApi/composer.json @@ -39,7 +39,7 @@ }, "require-dev": { "phpspec/prophecy-phpunit": "^2.2", - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "api-platform/doctrine-common": "^5.0", "api-platform/doctrine-orm": "^5.0", "api-platform/doctrine-odm": "^5.0", diff --git a/src/RamseyUuid/composer.json b/src/RamseyUuid/composer.json index 4437afcaeb..3f7a65d793 100644 --- a/src/RamseyUuid/composer.json +++ b/src/RamseyUuid/composer.json @@ -30,7 +30,7 @@ "phpspec/prophecy-phpunit": "^2.2", "ramsey/uuid": "^4.7", "ramsey/uuid-doctrine": "^2.0", - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "symfony/type-info": "^7.4 || ^8.0" }, "autoload": { diff --git a/src/Serializer/composer.json b/src/Serializer/composer.json index 4184416017..75a6f78119 100644 --- a/src/Serializer/composer.json +++ b/src/Serializer/composer.json @@ -38,7 +38,7 @@ "api-platform/openapi": "^5.0", "doctrine/collections": "^2.1", "phpspec/prophecy-phpunit": "^2.2", - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "sebastian/exporter": "^6.3.2 || ^7.0.2", "symfony/mercure-bundle": "^0.4.3|^0.5", "symfony/var-dumper": "^7.4 || ^8.0", diff --git a/src/State/composer.json b/src/State/composer.json index 8baf6c5b9b..b8860ae9af 100644 --- a/src/State/composer.json +++ b/src/State/composer.json @@ -37,7 +37,7 @@ "require-dev": { "api-platform/serializer": "^5.0", "api-platform/validator": "^5.0", - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "symfony/http-foundation": "^7.4 || ^8.0", "symfony/object-mapper": "^7.4 || ^8.0", "symfony/type-info": "^7.4 || ^8.0", diff --git a/src/Symfony/composer.json b/src/Symfony/composer.json index 801c56b633..fa02ecace2 100644 --- a/src/Symfony/composer.json +++ b/src/Symfony/composer.json @@ -59,7 +59,7 @@ "api-platform/json-api": "^5.0", "api-platform/test": "^5.0", "phpspec/prophecy-phpunit": "^2.2", - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "symfony/expression-language": "^7.4 || ^8.0", "symfony/intl": "^7.4 || ^8.0", "symfony/mercure-bundle": "^0.4.3|^0.5", diff --git a/src/Test/composer.json b/src/Test/composer.json index 7705d7ec1a..a43c48671d 100644 --- a/src/Test/composer.json +++ b/src/Test/composer.json @@ -28,7 +28,7 @@ "php": ">=8.2", "api-platform/json-schema": "^5.0", "api-platform/metadata": "^5.0", - "phpunit/phpunit": "^11.5 || ^12.2", + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0", "symfony/browser-kit": "^7.4 || ^8.0", "symfony/framework-bundle": "^7.4 || ^8.0", "symfony/http-client": "^7.4 || ^8.0" diff --git a/src/Validator/composer.json b/src/Validator/composer.json index 2a49fec93e..59e10e1ff1 100644 --- a/src/Validator/composer.json +++ b/src/Validator/composer.json @@ -33,7 +33,7 @@ }, "require-dev": { "phpspec/prophecy-phpunit": "^2.2", - "phpunit/phpunit": "^11.5 || ^12.2" + "phpunit/phpunit": "^11.5 || ^12.2 || ^13.0" }, "autoload": { "psr-4": { diff --git a/tests/Functional/DeserializedQueryInputTest.php b/tests/Functional/DeserializedQueryInputTest.php index c5ba88577c..8180353eb9 100644 --- a/tests/Functional/DeserializedQueryInputTest.php +++ b/tests/Functional/DeserializedQueryInputTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\DeserializedQueryInput\DeserializedQueryInput; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/HttpQueryMethodInputDtoTest.php b/tests/Functional/HttpQueryMethodInputDtoTest.php index 84f7e5c8a3..07306e94c0 100644 --- a/tests/Functional/HttpQueryMethodInputDtoTest.php +++ b/tests/Functional/HttpQueryMethodInputDtoTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\PostInputDtoQueryParameterIsolation\PostInputDtoQueryParameterIsolation; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\QueryInputDummy; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/HttpQueryMethodTest.php b/tests/Functional/HttpQueryMethodTest.php index a4ba835ea5..9b2bcaf743 100644 --- a/tests/Functional/HttpQueryMethodTest.php +++ b/tests/Functional/HttpQueryMethodTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\QueryMethodDummy; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Parameters/ExactFilterSchemaParameterTest.php b/tests/Functional/Parameters/ExactFilterSchemaParameterTest.php index 594df8891c..2ac103c31d 100644 --- a/tests/Functional/Parameters/ExactFilterSchemaParameterTest.php +++ b/tests/Functional/Parameters/ExactFilterSchemaParameterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\ExactFilterSchemaParameter\ExactFilterSchemaParameter; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Security/SecurityFromContainerParameterAttributeTest.php b/tests/Functional/Security/SecurityFromContainerParameterAttributeTest.php index 98034829bc..8a5017d1ec 100644 --- a/tests/Functional/Security/SecurityFromContainerParameterAttributeTest.php +++ b/tests/Functional/Security/SecurityFromContainerParameterAttributeTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Security; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\SecurityFromContainerParameter; use ApiPlatform\Tests\SetupClassResourcesTrait; use Symfony\Component\Security\Core\User\InMemoryUser; diff --git a/tests/Functional/Security/SecurityFromContainerParameterTest.php b/tests/Functional/Security/SecurityFromContainerParameterTest.php index b3051a0fac..a1e82cfb1c 100644 --- a/tests/Functional/Security/SecurityFromContainerParameterTest.php +++ b/tests/Functional/Security/SecurityFromContainerParameterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Security; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Model\SecurityFromParameter; use ApiPlatform\Tests\SetupClassResourcesTrait; use Symfony\Component\Security\Core\User\InMemoryUser; diff --git a/tests/Symfony/Bundle/DependencyInjection/Compiler/GraphQlResolverPassTest.php b/tests/Symfony/Bundle/DependencyInjection/Compiler/GraphQlResolverPassTest.php index eee98a43ae..63a340fac8 100644 --- a/tests/Symfony/Bundle/DependencyInjection/Compiler/GraphQlResolverPassTest.php +++ b/tests/Symfony/Bundle/DependencyInjection/Compiler/GraphQlResolverPassTest.php @@ -42,7 +42,7 @@ public function testProcess(): void [], ['foo' => [], 'bar' => [['id' => 'bar']]] ); - $containerBuilder->method('getDefinition')->with('api_platform.graphql.resolver_locator')->willReturn($typeLocatorDefinition); + $containerBuilder->expects($this->once())->method('getDefinition')->with('api_platform.graphql.resolver_locator')->willReturn($typeLocatorDefinition); $filterPass->process($containerBuilder); }