-
## 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/
-
Corriendo Code snifer y php compatibility encontre los siguientes problemas en cuanto a los estandares de PSR12.
-
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.
-
Corriendo Code snifer y php compatibility encontrando 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 …
-
PHP Code Sniffer is the standard linter of choice for PHP development. We ignore it in a lot of files (we shouldn't) and in the files we don't ignore we fail it.
```
$ ddev composer lint
> ./vend…
-
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…