diff --git a/composer.json b/composer.json index a2f9fc9..0267eb6 100644 --- a/composer.json +++ b/composer.json @@ -38,8 +38,7 @@ }, "require-dev": { - "phpunit/phpunit": "^9.6.18|^10.5", - "symfony/phpunit-bridge": ">=7.0" + "phpunit/phpunit": "^10.5.59" }, "autoload": { @@ -47,7 +46,13 @@ "Webfactory\\Bundle\\WfdMetaBundle\\": "src" } }, - + + "autoload-dev": { + "psr-4": { + "Webfactory\\Bundle\\WfdMetaBundle\\Tests\\": "tests" + } + }, + "config": { "sort-packages": true } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 2da3b41..00f0755 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,13 +1,19 @@ - + + + + src + + - Tests + tests - - - - - diff --git a/Tests/ProviderTest.php b/tests/ProviderTest.php similarity index 100% rename from Tests/ProviderTest.php rename to tests/ProviderTest.php diff --git a/Tests/Util/CriticalSectionTest.php b/tests/Util/CriticalSectionTest.php similarity index 100% rename from Tests/Util/CriticalSectionTest.php rename to tests/Util/CriticalSectionTest.php