Juliette

Results 605 issues of Juliette

... to get the pointers to the trait import use statements in an OO construct. Needs a new `uses` array entry in the `analyzeOOStructure()` method to track the `use` tokens....

Type: enhancement
Feature: (sniff) utils
Status: needs investigation

## Is your feature request related to a problem? Seems like a quick win - the `FunctionDeclarations::getProperties()` method already does quite some token walking in the function signature anyway, so...

Type: enhancement
Feature: (sniff) utils

PHPCSUtils 1.1.0 introduced a number of new exceptions via #598 (and started using them via #599). These exceptions currently all extend the PHPCSUtils `PHPCSUtils\Exceptions\RuntimeException`, which in turn extends the PHPCS...

Type: breaking change
Type: meta

PHPCS 4.0 makes a couple of changes to the `File::getDeclarationName()` method, which have been applied to the `BCFile::getDeclarationName()` method via PR #674 for PHPCSUtils 1.1.0, but should be considered a...

Type: breaking change
Feature: (sniff) utils
Type: sync with upstream

[PHP 8.5](https://www.php.net/releases/8.5/en.php) introduces new syntaxes for which it should be verified if the Tokenizer needs updates and/or whether any sniffs need updating. ## Action list Notes: * _Action items in...

Type: enhancement
Core Component: File
Core Component: Tokenizer
Status: needs investigation

While working on something else, I came across the `Squiz.ControlStructures.SwitchDeclaration` sniff, and saw the following issues: 1. The sniff contains a number of whitespace/blank line related errors which are not...

Standard: Squiz
Status: needs investigation
Status: help wanted

## Describe the bug Given a control structure which contains a `match` expression within its condition... ... and within the body of said control structure, there is a nested control...

Type: bug
Standard: Generic

## Describe the bug The `Generic.WhiteSpace.ScopeIndent` sniff incorrectly flags code _within_ a closure, and directly following a _nested_ closure as having the wrong indent, while the indent is correct. ###...

Type: bug
Standard: Generic

## Summary Came across this by chance. Documenting the error here as this needs further investigation. Looks like PHPCS tries to create a `LocalFile` object for symlinked directories on Windows,...

Type: bug
Core Component: File
Status: needs investigation

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

Status: needs investigation
Status: help wanted