Closed divinity76 closed 2 years ago
Additional info: the scope map recursion goes into an infinite loop on that file.
Support for non-PHP files is being removed from PHP_CodeSniffer and I'm not fixing any bugs for these file types. Please switch to another tool to check CSS standards.
Describe the bug phpcs hangs forever while scanning the attached css file: fontAwesomeIE7.css.zip
Code sample see the attached css file (too large to comfortably inline.)
Custom ruleset no custom ruleset..
To reproduce Steps to reproduce the behavior:
./vendor/bin/phpcs -p fontAwesomeIE7.css -v
Expected behavior not freeze
Versions (please complete the following information):
Additional context was initially discovered with PHPCompatibility and reported over at https://github.com/PHPCompatibility/PHPCompatibility/issues/1337