-
With PHP_CodeSniffer 2.0, I believe they have greatly improved their tokenizing of PHPDoc blocks. Would it now be possible to fold this into local_codechecker's PHP_CodeSniffer code standard?
-
## Describe the bug
`PSR2.Classes.PropertyDeclaration.ReadonlyBeforeVisibility` doesn't apply when constructor property promotion is used
### Code sample
```php
-
Just installed v1.0.0 from WP site.
Running WordPress 5.1.1
Options: no theme prefix, only checked WPThemeReview setting.
Receive this in error log for every theme checked:
[25-Mar-2019 21:04:04…
-
TL;DR: _PHPCompatibility_ thinks my `Foo::mysql_bar()` is one of [Original MySQL API](http://php.net/manual/en/book.mysql.php)'s [`mysql_*` functions](http://php.net/manual/en/ref.mysql.php).
Conside…
C-Duv updated
4 years ago
-
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…
-
**Describe the bug**
I get an error when run phpcs or phpcs-fix when I upgrade my project on php 8.1.
vendor/squizlabs/php_codesniffer/src/Files/LocalFile.php:32 it seem some path files are "null" i…
-
```
------ -----------------------------------------------------------------------------------------------------------
Line SniffHelpers.php
------ -------------------------------------------…
-
## Describe the bug
There's sort of two bugs in one here. One is that the error message is displayed differently when running `phpcs` than it is when running `phpcbf`. The other is that the error h…
-
## Is your feature request related to a problem?
Yes and no. When using `phpcs --cache`, subsequent runs are fast. When using `phpcbf --cache`, every run takes the same amount of time as the first.…
-
## Describe the bug
Destructuring an array for foreach - `foreach ($data as [, , $value]) {` - violates the `Squiz.Arrays.ArrayDeclaration.SpaceBeforeComma` ("Expected 0 spaces between "," and comma;…