Juliette
Juliette
## Setting the scene PHP 8.0 introduced support for attributes via the `#[...]` syntax. At this moment, neither PHPCS itself, nor PHPCSExtra contain any sniffs to handle the formatting of...
## Outline Follow up on #155 which made a lot of changes to the code style of this code base. I believe it may be helpful to add a `.git-blame-ignore-revs`...
While working on something else, I noticed a number of error messages in various sniffs using concatenation instead of passing variable parts of the error message to the `add[Fixable]Error/Warning()` methods...
Follow up on https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/1216 which highlighted this problem. ## The Problem There is one place in the PHP tokenizer where (next) tokens are "blanked out" to be ignored by the...
PR #314 introduced the `AbstractTokenizerTestCase` class, which tokenizes the "test case file" in the PHPUnit `setUp()` method to allow for code coverage to be recorded for the Tokenizer classes. The...
Some ideas for future enhancements: - [ ] Use the GH API to retrieve the publish date of releases and add the release date to the PHAR archive page. Notes:...
As became clear when testing PR #1105, running `shell_exec()` with the [Windows `where`](https://ss64.com/nt/where.html) command may return multiple paths. Also see: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1105#pullrequestreview-2876667320 Once #1105 will be merged, there will be three...
See: * #1079
See: * #1079 * #1086
## Describe the bug If no `--standard=...` is provided on the command-line, PHPCS will automatically try to find a ruleset with any of the following names: `.phpcs.xml`, `phpcs.xml`, `.phpcs.xml.dist`, `phpcs.xml.dist`...