diff --git a/.gitattributes b/.gitattributes index 665044e..770247c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,7 +17,7 @@ phpstan.neon.dist export-ignore phpstan-bootstrap.php export-ignore phpunit.xml.dist export-ignore -phpunit10.xml.dist export-ignore +phpunit11.xml.dist export-ignore # # Auto detect text files and perform LF normalization diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f15fd5e..018c032 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -172,9 +172,9 @@ jobs: id: phpunit_config run: | if [ "${{ matrix.phpunit == 'dev-main' }}" == "true" ]; then - echo 'FILE=phpunit10.xml.dist' >> "$GITHUB_OUTPUT" + echo 'FILE=phpunit11.xml.dist' >> "$GITHUB_OUTPUT" elif [ "${{ startsWith( steps.phpunit_version.outputs.VERSION, '11.' ) }}" == "true" ]; then - echo 'FILE=phpunit10.xml.dist' >> "$GITHUB_OUTPUT" + echo 'FILE=phpunit11.xml.dist' >> "$GITHUB_OUTPUT" else echo 'FILE=phpunit.xml.dist' >> "$GITHUB_OUTPUT" fi @@ -367,7 +367,7 @@ jobs: id: phpunit_config run: | if [ "${{ startsWith( steps.phpunit_version.outputs.VERSION, '11.' ) }}" == "true" ]; then - echo 'FILE=phpunit10.xml.dist' >> "$GITHUB_OUTPUT" + echo 'FILE=phpunit11.xml.dist' >> "$GITHUB_OUTPUT" else echo 'FILE=phpunit.xml.dist' >> "$GITHUB_OUTPUT" fi diff --git a/.gitignore b/.gitignore index 06abe51..5d44d51 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ vendor/ /phpcs.xml .cache/*.cache /phpunit.xml -/phpunit10.xml +/phpunit11.xml /.phpunit.result.cache /build/ phpstan.neon diff --git a/composer.json b/composer.json index c859926..ce37b57 100644 --- a/composer.json +++ b/composer.json @@ -79,11 +79,11 @@ "coverage": [ "@php ./vendor/phpunit/phpunit/phpunit" ], - "test10": [ - "@php ./vendor/phpunit/phpunit/phpunit -c phpunit10.xml.dist --no-coverage" + "test11": [ + "@php ./vendor/phpunit/phpunit/phpunit -c phpunit11.xml.dist --no-coverage" ], - "coverage10": [ - "@php ./vendor/phpunit/phpunit/phpunit -c phpunit10.xml.dist" + "coverage11": [ + "@php ./vendor/phpunit/phpunit/phpunit -c phpunit11.xml.dist" ] }, "scripts-descriptions": { @@ -94,7 +94,7 @@ "fix-cs": "Auto-fix code style violations in the PHP files.", "test": "Run the unit tests without code coverage (PHPUnit < 10).", "coverage": "Run the unit tests with code coverage (PHPUnit < 10).", - "test10": "Run the unit tests without code coverage using the PHPUnit 10/11 configuration file.", - "coverage10": "Run the unit tests with code coverage using the PHPUnit 10/11 configuration file." + "test11": "Run the unit tests without code coverage using the PHPUnit 11 configuration file.", + "coverage11": "Run the unit tests with code coverage using the PHPUnit 11 configuration file." } }