Juliette

Results 605 issues of 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...

Type: enhancement
Feature: Universal

## 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...

Type: enhancement
Feature: Universal

## 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...

Type: enhancement
Feature: Universal

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** >...

Type: enhancement
Feature: Universal

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...

Type: breaking change
Feature: Universal

## 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...

Type: enhancement
Feature: Modernize

... 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]`...

Type: enhancement
Feature: (sniff) utils

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...

Type: enhancement
Feature: (sniff) utils

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...

Type: breaking change
Feature: (sniff) utils
Status: needs investigation

## 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...

Type: bug
Type: enhancement
Feature: (sniff) utils