-
## Describe the bug
SwitchDeclarationSniff throws a fatal error on some switch statements, stopping phpcbf execution.
```
PHP Fatal error: Uncaught PHP_CodeSniffer\Exceptions\RuntimeExcept…
-
https://www.php-fig.org/psr/psr-12/
-
I'm new to nvim-lint and php is not my primary language, but I noticed an inconsistency between running phpcs locally versus inside neovim.
**.phpcs.xml**
```xml
blog/wp-content/themes/m…
-
Corriendo Code snifer y php compatibility encontre los siguientes problemas en cuanto a los estandares de PSR12.
-
Sniffs in PHP_CodeSniffer should preferably be accompanied by documentation. There are currently still a number of sniffs which don't have documentation.
Sniff documentation is provided via XML fil…
jrfnl updated
1 month ago
-
Hello,
is it possible for `SlevomatCodingStandard.TypeHints.DeclareStrictTypes` to set the declare() below the file docblock to comply with `PSR12.Files.FileHeader.IncorrectOrder`?
So, instead …
-
Corriendo Code snifer y php compatibility encontre los siguientes problemas en cuanto a los estandares de PSR12.
-
Corriendo Code snifer y php compatibility encontrando los siguientes problemas en cuanto a los estandares de PSR12.
-
Hi,
in the PSR-12 standard [foreach](https://www.php-fig.org/psr/psr-12/#55-foreach) is defined only as:
> A foreach statement looks like the following. Note the placement of parentheses, space…
-
PSR-12 sniff, `PSR12.Classes.AnonClassDeclaration.SpaceAfterKeyword` rejects `new class()` with: _Expected 1 space after class keyword; 0 found._
However, `Symfony.Objects.ObjectInstantiation.Inval…
Bilge updated
1 month ago