issues
search
squizlabs
/
PHP_CodeSniffer
PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
BSD 3-Clause "New" or "Revised" License
10.66k
stars
1.48k
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
PHP 8.1 - Constructor Multi-line function declaration not indented correctly
#3786
ricklambrechts
closed
1 year ago
8
Fix PHP Fatal error in `Squiz.Commenting.FunctionComment`
#3785
fredden
closed
1 year ago
1
Possible improvements for sniff performance analysis
#3784
jrfnl
closed
9 months ago
10
Make ForbiddenFunctionsSniff fixable
#3783
RobinvanderVliet
closed
1 year ago
3
Nullable Typehint is not detected as nullable
#3782
wendelb
closed
1 year ago
2
Cache makes phpcbf fix unexpected sniff
#3781
takaram
opened
1 year ago
1
`PEAR.Functions.ValidDefaultValue`: doesn't catch PHP 8.1 deprecation
#3780
davidrans
opened
1 year ago
6
Squiz/LowercasePHPFunctions + Generic/ForbiddenFunctions: bug fix for class names in attributes
#3779
jrfnl
closed
1 year ago
2
Squiz.PHP.LowercasePHPFunctions incorrectly reports on attribute names
#3778
bytestream
closed
1 year ago
2
Squiz/NonExecutableCode: slew of bug fixes, mostly related to modern PHP
#3777
jrfnl
closed
1 year ago
2
Fix case when jshint is not available
#3776
fredden
closed
1 year ago
1
Standards/AbstractSniffUnitTest: order test files using natural sort
#3775
jrfnl
closed
9 months ago
5
Fix mis-identification of 'readonly' keyword
#3773
fredden
closed
9 months ago
7
PSR1/SideEffects: improve recognition of disable/enable annotations
#3772
jrfnl
closed
9 months ago
5
Generic/Todo-Fixme sniffs: improve handling of docblock tags and efficiency fix
#3771
jrfnl
closed
9 months ago
1
Squiz/NonExecutableCode: fix false positives when code goes in and out of PHP/HTML
#3770
fredden
closed
11 months ago
2
Generic.Commenting.Todo.CommentFound sample not working
#3769
davidsneighbour
opened
1 year ago
4
Fatal error: Uncaught ValueError: Path cannot be empty in phar:///home/user/.local/bin/phpcs.phar/src/Reporter.php:3
#3768
NoxInmortus
closed
1 year ago
5
Failed to set PHP CodeSniffer installed_paths Config
#3767
remayex
closed
1 year ago
2
Fatal error if you try to get the declaration name of an arrow function
#3766
antonioeatgoat
closed
1 year ago
2
PHPCBF incorrectly indents statements when mixing PSR12 and basic indentation config
#3765
neerolyte
closed
1 year ago
2
Auto-fix more of PSR12.Files.FileHeader
#3764
fredden
opened
1 year ago
0
PHP 8.1 : Undefined index scope_closer with Enum
#3763
dimitriBouteille
closed
1 year ago
4
http to https for hyperlink
#3762
vanillajonathan
closed
1 year ago
3
PHP 8.1 | Config: fix passing null to non-nullable notice
#3761
jrfnl
closed
1 year ago
3
PHP Deprecated: preg_match(): Passing null to parameter #2
#3760
web-programmer-here
closed
1 year ago
9
Fix indent for closing function parenthesis
#3758
fredden
closed
1 year ago
3
Squiz/VariableComment: allow union types to be detected
#3757
fcool
closed
8 months ago
4
Allow multiple spaces in PropertyDeclaration sniff to respect more carefully the PSR-12.
#3756
niconoe-
opened
1 year ago
6
Define requirements in `composer.json`
#3755
fredden
closed
1 year ago
1
Define requirements in `composer.json`
#3754
fredden
opened
1 year ago
2
Fix failing test
#3753
fredden
closed
1 year ago
2
Allow auto-fixing Generic.Commenting.DocComment
#3752
fredden
opened
1 year ago
1
Allow auto-fixing Generic.Commenting.DocComment
#3751
fredden
closed
1 year ago
1
match() nested within if() statement breaks setting of "conditions" key
#3750
momala454
opened
1 year ago
4
Add GitLab Code Climate report
#3749
KamiYang
opened
1 year ago
9
`@phpcsSuppress` comment should work
#3748
dereuromark
closed
1 year ago
1
Squiz.PHP.EmbeddedPhp.ContentAfterEnd and DOCTYPE
#3747
kkmuffme
opened
1 year ago
0
PHP 8.1 Enum methods error
#3746
meego47
closed
1 year ago
1
false positive on Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed and compact
#3745
tebeso
opened
1 year ago
5
Support dist file name `phpcs.dist.xml`
#3744
MarcHagen
opened
1 year ago
0
Readonly class key triggers a warning about declaring new symbols and causing a side effect
#3743
OleksiiBulba
closed
1 year ago
2
phpcs.phar executable being treated as a directory by itself
#3742
davidfavor
opened
1 year ago
4
$data variable should be array
#3741
juanpgarciac
closed
1 year ago
2
phpcs doesn't see obvious syntax errors
#3740
dvhx
closed
1 year ago
1
PEAR/FunctionDeclaration: bug fix x 2 - prevent fixer creating a parse error + prevent fixer conflict
#3739
jrfnl
closed
9 months ago
4
Update LineLengthSniff.php
#3738
Stepa4man
closed
1 year ago
0
FileComment: update year in test files
#3737
jrfnl
closed
1 year ago
1
Fixer breaks the file when code violates both `PEAR.Functions.FunctionDeclaration` and `Squiz.WhiteSpace.ScopeClosingBrace`
#3736
ODAEL
closed
9 months ago
3
Unsealed array shapes false positive error for Squiz.Commenting.FunctionComment.MissingParamTag and Squiz.Commenting.FunctionComment.MissingParamName
#3734
kkmuffme
opened
1 year ago
0
Previous
Next