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...
## 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...
## 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...
This sniff checks the whitespace around the ellipsis in a first class callable and can be used to address the following rule from PER-CS: > **4.8 Function Callable References** >...
PHPCS 4.x drops support for scanning JS/CSS files. In PHPCSExtra, the only sniff which explicitly has JS/CSS support is the `Univeral.WhiteSpace.PrecisionAlignment` sniff. In the next major, the scanning of JS/CSS...
## Is your feature request related to a problem? Help people find opportunities to modernize their codebase. ## Describe the solution you'd like Some typical code patterns the sniff could...
... to contain utility methods for analysing attribute blocks, where an attribute block is defined as being an attribute opener, an attribute closer and everything between. I.e. `#[MyAttribute(1, 2), AnotherAttribute]`...
This commit introduces four new public methods and an internal helper class. * `Constants::getAttributeOpeners()` - to retrieve the stack pointers to the attribute openers for the applicable attribute blocks for...
From a couple of previous discussions had over the last year or so, it looks like `strtolower()` will not affect non-ASCII chars, so a comparison between two names, which have...
## Bug Description PHP allows for multi-constant declarations, but the `ObjectDeclarations::getDeclaredConstants()` method - or rather, the underlying `ObjectDeclarations::analyzeOOStructure()` method - does not take those into account. ## Given the following...