Juliette
Juliette
@Koen1999 Running tests based off the PHPCS test framework will work fine on PHP 8.1 with PHPUnit 7.5 as described above. Seriously, PHPCS itself does so and I'm doing it...
Related to #3479
Duplicate of #2918
Just some notes for perspective: while `phpcbf` could use the cache to skip over files which don't need to be _fixed_, that's where the usefulness of the cache ends. `phpcbf`...
Some notes/suggestions for implementation: - Limit the sniff to CSS files - At the start of the sniff check that it's reading the main `style.css` - Parse the file header...
For the text-domain part, this should be fixed by https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/807
@dingo-d I don't understand why this was closed ?
Reopened: while this file can now be added, it _hasn't been added yet_. I think it would be a good idea for such an example ruleset to be added +...
The "check that all translatable strings are in the same language" bit _may_ be sniffable if we could do some sort of dictionary check, possibly using the PHP ICU extension,...
All the same, if at all, this should probably be addressed in WPCS itself. Not sure if an upstream issue exists for this yet.