PHP_CodeSniffer icon indicating copy to clipboard operation
PHP_CodeSniffer copied to clipboard

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.

Results 100 PHP_CodeSniffer issues
Sort by recently updated
recently updated
newest added

Repost from https://github.com/squizlabs/PHP_CodeSniffer/issues/1732: > I've just been looking into the `parallel` running option a bit more and am left with some questions. > * When should you use this option...

Type: documentation
Status: help wanted

## Description As of PHPCS 4.0, the tests will no longer ship in a packaged version of the repo :tada: However, while this removes a lot of friction, it can...

Type: chores/QA
Type: enhancement
Status: has merge conflict

## Is your feature request related to a problem? There are a number of command-line options which will not run a scan, but will show different output. When processing the...

Type: enhancement
Core Component: Config & Ruleset & CLI options
Status: needs investigation
Status: blocked

## Description Recreation of upstream PR https://github.com/squizlabs/PHP_CodeSniffer/pull/3915 + rebased against the 4.0 branch: > ### ErrorSuppressionTest: prevent Internal errors > > ... about a mismatch in line endings when the...

Type: breaking change
Type: bug
Core Component: File

## Description Recreation of upstream PR https://github.com/squizlabs/PHP_CodeSniffer/pull/3802: > I have the impression that the Zend Code Analyzer tool as stand-alone tool is no longer available. Please correct me if I'm...

Type: breaking change
Standard: Zend
Status: has merge conflict

## Description Recreation of upstream PR https://github.com/squizlabs/PHP_CodeSniffer/pull/3636 + rebase for the 4.0 branch: > The function call spacing for anonymous class instantiations was so far not checked by these ~~or...

Type: enhancement
Core Component: Utils
Standard: PEAR
Standard: PSR2
Standard: Squiz

## Description Recreation of upstream PR https://github.com/squizlabs/PHP_CodeSniffer/pull/3344. ## Suggested changelog entry _N/A_

Type: chores/QA
Core Component: Tokenizer

## Description Recreation of upstream PR https://github.com/squizlabs/PHP_CodeSniffer/pull/3338: > Commit 08824f327ce5e20d7528c5e838dd7fade3dcd11c added support for `T_USE` tokens for closures being parentheses owners and PR squizlabs/PHP_CodeSniffer#3104 fixed this up for non-closure use. >...

Type: chores/QA
Core Component: File

## Description Recreation of upstream PR https://github.com/squizlabs/PHP_CodeSniffer/pull/3121: > Implementation of the proposal outlined in issue squizlabs/PHP_CodeSniffer#3115. > > 1. Removes the Tokenizer/PHP code which made an exception for `instanceof static`....

Type: breaking change
Core Component: Tokenizer

## Description Recreation of upstream PR https://github.com/squizlabs/PHP_CodeSniffer/pull/2729: > This changes the error codes for the `SpacingAfterBlock` and `SpacingInsideBlock` errors to modular error codes which include a reference to the type...

Type: breaking change
Type: enhancement
Standard: PSR12