Skip to content

Commit 8787d5c

Browse files
committed
Remove unused php version sniffers
1 parent 28d93b6 commit 8787d5c

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

composer.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,13 @@
7070
"phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan analyse",
7171
"phpcbf": "php ./vendor/bin/phpcbf -d memory_limit=512M --standard=./phpcs.xml --extensions=php src tests views *.php",
7272
"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/* ./",
7773
"phpunit": "php ./vendor/bin/phpunit ./tests/unit/",
7874
"coverage": "XDEBUG_MODE=coverage php ./vendor/bin/phpunit tests/unit --coverage-html coverage --whitelist src/",
7975
"lint": "php ./vendor/bin/parallel-lint --exclude integration-tests --exclude vendor .",
8076
"test": [
8177
"composer validate --strict",
8278
"@lint",
8379
"@phpcs",
84-
"@php81",
85-
"@php82",
86-
"@php83",
87-
"@php84",
8880
"@phpstan",
8981
"@phpunit"
9082
],

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
pname = "${name}-composer-deps";
2525
version = version;
2626
src = composerSrc;
27-
vendorHash = "sha256-3Hi6VYSpfgsTv71O6AhstrJxeuEzJL0Dkhq2HSZCIkI=";
27+
vendorHash = "sha256-9Kq1JgCPDqy0/ny/3XmLOncrfaZl4G+rEoF4h419Gq8=";
2828
});
2929
composerVendorDev = php.mkComposerVendor (finalAttrs: {
3030
composerNoDev = false;
3131
pname = "${name}-composer-deps-dev";
3232
version = version;
3333
src = composerSrc;
34-
vendorHash = "sha256-/38uou7iOaDCZUT3SHXP+opn/SgKRXP+EMx2c8s0EJw=";
34+
vendorHash = "sha256-wbH0LTt411E9CheDQK0L5nL2rEtBpT5yb3qBj+6UUrs=";
3535
});
3636
wp2staticSrc = pkgs.lib.cleanSourceWith {
3737
src = self;

0 commit comments

Comments
 (0)