|
70 | 70 | "phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan analyse", |
71 | 71 | "phpcbf": "php ./vendor/bin/phpcbf -d memory_limit=512M --standard=./phpcs.xml --extensions=php src tests views *.php", |
72 | 72 | "phpcs": "php ./vendor/bin/phpcs -d memory_limit=512M -s --standard=./phpcs.xml --extensions=php src tests views *.php", |
73 | | - "php81": "php ./vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 8.1 --ignore=*/tests/*,*/admin/*,**/coverage/*,*.js,*/vendor/*,*/integration-tests/bedrock/*,*/integration-tests/result*,*/integration-tests/wordpress/* ./", |
74 | | - "php82": "php ./vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 8.2 --ignore=*/tests/*,*/admin/*,**/coverage/*,*.js,*/vendor/*,*/integration-tests/bedrock/*,*/integration-tests/result*,*/integration-tests/wordpress/* ./", |
75 | | - "php83": "php ./vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 8.3 --ignore=*/tests/*,*/admin/*,**/coverage/*,*.js,*/vendor/*,*/integration-tests/bedrock/*,*/integration-tests/result*,*/integration-tests/wordpress/* ./", |
76 | | - "php84": "php ./vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 8.4 --ignore=*/tests/*,*/admin/*,**/coverage/*,*.js,*/vendor/*,*/integration-tests/bedrock/*,*/integration-tests/result*,*/integration-tests/wordpress/* ./", |
77 | 73 | "phpunit": "php ./vendor/bin/phpunit ./tests/unit/", |
78 | 74 | "coverage": "XDEBUG_MODE=coverage php ./vendor/bin/phpunit tests/unit --coverage-html coverage --whitelist src/", |
79 | 75 | "lint": "php ./vendor/bin/parallel-lint --exclude integration-tests --exclude vendor .", |
80 | 76 | "test": [ |
81 | 77 | "composer validate --strict", |
82 | 78 | "@lint", |
83 | 79 | "@phpcs", |
84 | | - "@php81", |
85 | | - "@php82", |
86 | | - "@php83", |
87 | | - "@php84", |
88 | 80 | "@phpstan", |
89 | 81 | "@phpunit" |
90 | 82 | ], |
|
0 commit comments