diff options
author | Remi Collet <remi@remirepo.net> | 2025-02-10 08:46:38 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-02-10 08:46:38 +0100 |
commit | bdabb99161a6c508c95c5b17075a8e039b4c4539 (patch) | |
tree | 1679e2f9c20216c697bac980614a9c688d0e8774 /composer.json | |
parent | b7990f0b4f568719f7f27aedac230a820caf3f74 (diff) |
move to /usr/share/php/Yoast/PHPUnitPolyfills4
raise dependency on PHP 7.1
add phpunit12
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/composer.json b/composer.json index ba28086..043a53f 100644 --- a/composer.json +++ b/composer.json @@ -26,8 +26,8 @@ "security": "https://github.com/Yoast/PHPUnit-Polyfills/security/policy" }, "require": { - "php": ">=7.0", - "phpunit/phpunit": "^6.4.4 || ^7.0 || ^8.0 || ^9.0 || ^11.0" + "php": ">=7.1", + "phpunit/phpunit": "^7.5 || ^8.0 || ^9.0 || ^11.0 || ^12.0" }, "require-dev": { "php-parallel-lint/php-console-highlighter": "^1.0.0", @@ -54,24 +54,18 @@ }, "extra": { "branch-alias": { - "dev-main": "3.x-dev" + "dev-main": "4.x-dev" } }, "scripts": { "lint7": [ "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git --exclude tests/Polyfills/Fixtures/ValueObjectUnion.php --exclude tests/Polyfills/Fixtures/ValueObjectUnionReturnType.php" ], - "lint70": [ - "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git --exclude src/Exceptions/Error.php --exclude src/Exceptions/TypeError.php --exclude tests/Polyfills/Fixtures/ValueObjectParamNotRequired.php --exclude tests/Polyfills/Fixtures/ValueObjectNullableReturnType.php --exclude tests/Polyfills/Fixtures/ValueObjectUnion.php --exclude tests/Polyfills/Fixtures/ValueObjectUnionReturnType.php" - ], "lint-gte80": [ "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git" ], - "lint-gte84": [ - "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git" - ], "check-cs": [ - "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 7.0-" + "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 7.1-" ], "fix-cs": [ "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf" @@ -82,23 +76,29 @@ "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" + ], + "coverage11": [ + "@php ./vendor/phpunit/phpunit/phpunit -c phpunit11.xml.dist" + ], + "test12": [ + "@php ./vendor/phpunit/phpunit/phpunit -c phpunit12.xml.dist --no-coverage" ], - "coverage10": [ - "@php ./vendor/phpunit/phpunit/phpunit -c phpunit10.xml.dist" + "coverage12": [ + "@php ./vendor/phpunit/phpunit/phpunit -c phpunit12.xml.dist" ] }, "scripts-descriptions": { "lint7": "Check the PHP files for parse errors. (PHP 7.1 - 7.4)", - "lint70": "Check the PHP files for parse errors. (PHP 7.0)", - "lint-gte80": "Check the PHP files for parse errors. (PHP 8.0 - 8.3)", - "lint-gte84": "Check the PHP files for parse errors. (PHP 8.4+)", + "lint-gte80": "Check the PHP files for parse errors. (PHP 8.0+)", "check-cs": "Check the PHP files for code style violations and best practices.", "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.", + "test12": "Run the unit tests without code coverage using the PHPUnit 12 configuration file.", + "coverage12": "Run the unit tests with code coverage using the PHPUnit 12 configuration file." } } |