diff options
| author | 2025-09-22 22:02:59 +0200 | |
|---|---|---|
| committer | 2025-09-22 22:02:59 +0200 | |
| commit | 833007f5860deae232bacf321d268124123d6749 (patch) | |
| tree | be6e18023f5e127545ab8cc1ef743a3a7e0c12ae /composer.json | |
| parent | aadbdabd8329d7dec43f71e15e3433fa8fe5e4d4 (diff) | |
Upgrade to PHP_CodeSniffer 4 (#7993)
https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Version-4.0-User-Upgrade-Guide
A couple of rules have changed name. Exclusion paths have slightly changed behaviour.
Main change is that it was unhappy with our i18n header comments, so minor edit there, since that rule kind of makes sense the rest of the time
Diffstat (limited to 'composer.json')
| -rw-r--r-- | composer.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/composer.json b/composer.json index 4c9d1f228..74089a0bd 100644 --- a/composer.json +++ b/composer.json @@ -61,7 +61,7 @@ "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-strict-rules": "^2.0", "phpunit/phpunit": "^10", - "squizlabs/php_codesniffer": "^3.12" + "squizlabs/php_codesniffer": "^4.0" }, "scripts": { "php-lint": "find . -type d -name 'vendor' -prune -o -name '*.php' -print0 | xargs -0 -n1 -P4 php -l 1>/dev/null", |
