PHPCSStandards/PHP_CodeSniffer
PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
PHPBSD-3-Clause
Pinned issues
Issues
- 1
- 2
Allow phpcbf to use the cache
#485 opened by fredden - 0
4.0 | Proposal: improvements to DocBlock tokenization
#484 opened by jrfnl - 0
Generic/InlineControlStructure: two issues when fixing some do-while statements
#483 opened by rodrigoprimo - 1
Tests: add missing `.fixed` files
#299 opened by jrfnl - 1
- 0
Auto-fixer for `PSR2.Namespaces.UseDeclaration` incorrect for some parse errors
#333 opened by fredden - 1
- 1
- 0
Generic.CodeAnalysis.JumbledIncrementer: improve the actionability of the error messages
#440 opened by jrfnl - 1
Generic.CodeAnalysis.JumbledIncrementer: prevent false positives / check with higher accuracy
#441 opened by jrfnl - 1
PSR2.Classes.PropertyDeclaration.ReadonlyBeforeVisibility doesn't support constructor property promotion
#444 opened by earthiverse - 0
Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned doens't work inside match
#475 opened by LastDragon-ru - 11
- 2
- 1
- 2
FunctionCallSignature works incorrectly
#452 opened by semirke - 5
Document all the sniffs
#434 opened by javaDeveloperKid - 0
Config: read all CLI args before doing a deep exit
#448 opened by jrfnl - 18
PHP gRPC extension breaks use of `--parallel`
#294 opened by mbomb007 - 5
Allow to register sniff via FQCN
#435 opened by javaDeveloperKid - 5
- 1
Review all sniffs/code doing label name comparisons
#372 opened by jrfnl - 2
- 2
- 1
Indenting not fixed
#405 opened by adam-nielsen - 6
- 12
- 5
4.0 | Proposal: add parameter types to methods in PHPCS
#390 opened by jrfnl - 5
4.0 (or later) | Named parameter support for PHPCS code
#392 opened by jrfnl - 0
Util\Common::$allowedTypes and ::suggestTypes() prefer non-normative types
#406 opened by andrewnicols - 3
5.0 | Proposal: add return types to select methods
#391 opened by jrfnl - 3
Introduce Sonarqube Generic Format Report
#400 opened by iVegas - 4
php_codesniffer 3.9 with standard PHPCompatibility seems not taking into account the target PHP 8.3
#398 opened by philprl - 4
PSR12.Properties.ConstantVisibility should automatically detect the PHP version
#393 opened by razvanphp - 1
Possible Incorrect Title in XML doc for Sniff Generic.Formatting.NoSpaceAfterCastStandard
#383 opened by jpoliveira08 - 3
Enhanced support for nested rulesets
#380 opened by shvlv - 2
- 4
Squiz.Arrays.ArrayDeclaration sniff not very configurable (follow up on Squizlabs#582)
#368 opened by michalbundyra - 7
Support nikic/PHP-Parser 5.x
#357 opened by staabm - 17
- 1
auto_detect_line_endings is deprecated
#342 opened by simPod - 2
- 4
Squiz.Operators.IncrementDecrementUsage.Found no longer works with missing spaces
#325 opened by cgocast - 3
Add license checker and fixer
#293 opened by jaapio - 3
Composer phar releases?
#318 opened by spaze - 1
- 0
Generic/ForLoopWithTestFunctionCall: sniff should not be triggered when function call receives the variable being incremented as a parameter
#298 opened by rodrigoprimo - 1
4.0 | Tests: flag tests which would lead to fixes, but are missing a `fixed` test case file
#300 opened by jrfnl - 0
Generic/ForLoopWithTestFunctionCall: sniff doesn't handle calling a function using a variable variable properly
#297 opened by rodrigoprimo