User tests: Successful: Unsuccessful:
As we use only friendsofphp/php-cs-fixer for code style checks of PHP files since #47936, this pr removes the unused development dependency squizlabs/php_codesniffer.
| Status | New | ⇒ | Pending |
| Category | ⇒ | Repository External Library Composer Change |
| Labels |
Added:
Composer Dependency Changed
PR-7.0-dev
|
||
thanks, fixed it
The removal itself works on a fresh 7.0-dev instance (
ab25d77172):composer installfrom the lock,composer validateOK, nosquizlabsin vendor,composer csfixerruns, site and admin load.One leftover: the
phpcsscript incomposer.jsonstill points to the removed tool and ruleset, socomposer phpcsnow fails with./libraries/vendor/bin/phpcs: not found(exit 127).build/build.phpalso still lists'ruleset.xml'in$doNotPackage. Removing both keeps the lock valid (scripts aren't part of the content hash):