Pinned issues
Issues
- 7
- 1
`PHPCompatibility.Operators.RemovedTernaryAssociativity.Removed` false-positive on multiple ternaries as consecutive arguments
#1778 opened by Wirone - 0
Account for changes introduced in PHP 8.4
#1731 opened by jrfnl - 7
NewAttributes: various improvements to make
#1480 opened by jrfnl - 0
Account for changes introduced in PHP 8.3
#1589 opened by jrfnl - 3
False positive on PHPCompatibility.Keywords.ForbiddenNames.implementsFound with user-defined Enum class
#1724 opened by A-Shevchenko - 4
False positive on PHPCompatibility.FunctionDeclarations.NewParamTypeDeclarations.InvalidTypeHintFound with user-defined Integer class
#1726 opened by A-Shevchenko - 3
False positive for PHPCompatibility.ParameterValues.RemovedMbStrrposEncodingThirdParam
#1721 opened by rikvdh - 1
- 3
- 2
PHP 8.3: sniff to detect comment between `yield` and `from`
#1720 opened by jrfnl - 2
- 1
- 1
PHP 8.x - missing deprecated items
#1713 opened by djaenecke - 3
Signature of abstract methods defined in traits is checked against the implementing class method in php 8+
#1712 opened by lee-van-oetz - 1
- 3
- 4
- 1
`PHPCompatibility.Syntax.NewFlexibleHeredocNowdoc.ClosingMarkerNoNewLine` is reported for two different errors
#1696 opened by anomiex - 3
Loop not detected without curly braces
#1698 opened by afilina - 1
PHPCompatibility used with php_codesniffer 3.9 seems not taking into account the target PHP 8.3
#1691 opened by philprl - 1
number_format(): 'multi-byte separator not supported' is misreported when separator is empty.
#1679 opened by MarkMaldaba - 4
PHP 7.0: Returning by reference from magic methods, e.g. `__call()`, `__callStatic()`
#1675 opened by MarkMaldaba - 0
- 5
PHPCompatibility is depending on the squizlabs version, which creates conflicts on vendor/bin/phpcs
#1682 opened by MetalArend - 8
- 4
Do not report deprecations as errors
#1678 opened by javaDeveloperKid - 5
Installation via git does not work.
#1664 opened by AphidGit - 4
Weird errors relating $this in class methods
#1666 opened by WanWizard - 8
- 3
`squizlabs/PHP_CodeSniffer` is abandoned - Replace with `PHPCSStandards/PHP_CodeSniffer` when the time is right
#1661 opened by Levivb - 4
An error occurred during processing; checking has been aborted. The error message was: trim(): Passing null to parameter #1 ($string) of type string is deprecated in vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniff.php on line 131
#1654 opened by glo71317 - 3
PHP 7.3: constants are allowed on the left-hand-side of the instanceof operator
#1652 opened by jrfnl - 5
Should I use develop or 9.3.5 sniffs?
#1653 opened by MrJnrman - 8
Time for a new release
#1651 opened by andrewnicols - 6
- 11
PHP Fatal error: Cannot redeclare class PHPCompatibility\Sniffs\ParameterValues\RemovedPCREModifiersSniff
#1608 opened by caicob - 3
- 2
New release version?
#1583 opened by mstimvol - 31
- 2
throw error when running on develop branch
#1578 opened by xinghailong - 1
__destruct visibility must not be declared as public
#1542 opened by magikstm - 0
- 6
Parent as a method name causes false positive
#1489 opened by afilina - 3
- 2
Using a `break` in a loop without curly braces causes `ForbiddenBreakContinueOutsideLoop`
#1491 opened by afilina - 2
`eregDeprecated` sniff picks up method names
#1492 opened by afilina - 3
False positive PHPCompatibility.Keywords.ForbiddenNames.asFound on import statement of a class named Enum with an alias
#1474 opened by etremblay - 6
phpcbf doesn't fix issues found by phpcs
#1473 opened by tomekpolska - 4