-
## Describe the bug
Array destructuring is a syntax in PHP where items of an array are assigned to single variables, using an array construct on the left of the assignment, e.g.
```php
[$foo, $…
-
This template is for **user support**. If you are reporting an actual Flycheck bug, please use the relevant issue template instead.
## Checklist
- [x] I have searched existing issues and StackOve…
-
Repost from https://github.com/squizlabs/PHP_CodeSniffer/issues/2898 by @gsherwood:
> Version 4 is a good time to review the exit codes that both scripts produce to ensure that success cases all us…
jrfnl updated
3 months ago
-
## Describe the bug
`Squiz.Commenting.FunctionComment.MissingParamName` is triggered for valid @param docblock
### Code sample
```php
-
## Describe the bug
When using the `phpcs-only` or `phpcbf-only` attributes within a ruleset, the reports from `phpcs` do not look as expected.
### Code sample
```php
test.php
…
-
## Bug Description
PHPCompatibility is incorrectly reporting `PHPCompatibility.Operators.RemovedTernaryAssociativity.Removed` violations on a code that mixes `match` syntax with multiple `new` init…
-
With #130 we now have a "production" build process for the Docker image. And can add a "development" build process to CI, including all the tooling we love in PHP world:
- code styling (PHP CodeSni…
-
With PHP 7, PHP_CodeSniffer to not find the sniffs from TYPO3SniffPool anymore:
https://travis-ci.org/oliverklee/sniffer-demo
This is the demo project I've used:
https://github.com/oliverklee/sniffe…
-
## Describe the bug
`Squiz.Commenting.PostStatementComment` flags only single-line trailing comments that start with `//`. But, as @jrfnl mentioned in https://github.com/PHPCSStandards/PHP_CodeSnif…
-
When i run "npm run dev" on a fresh installation i get a lot of warnings/errors. Some examples:
`[11:46:36] PHP Code Sniffer found a problem in C:\xampp\htdocs\wprig\wp-content\themes\wprig\ass…