-
Specifying `--sniffs=Squiz.WhiteSpace` shows sniff as invalid. I would expect it'll run all sniffs in that category.
When I run:
phpcbf --standard=Squiz --sniffs='Squiz.WhiteSpace.*' src/
…
-
Right now we have the `codechecker` command that reports all the issues found by `phpcs`. This is useful locally and @ CIs.
Also, there is the `codecbf` command that also runs `phpcs` but in fix mo…
-
The following code is NOT flagged as an error, but I would expect it to be. Note missing space after the first `(`.
```
get_extended_template_part('atoms/heading', '4', [
'heading_three' => 'Thi…
-
Based on https://travis-ci.org/Codiad/Codiad and PSR2 we have severall coding issues
PSR-2: http://www.php-fig.org/psr/psr-2/
daeks updated
9 years ago
-
``
in phpcs-ruleset.xml is commented out. It was added to enforce standards on comments.
It breaks on switch statement. Like:
```
FILE: /Users/pwolanin/www/php-tuf/tests/Metadata/MetaData…
-
It looks like it can find problems, but it can't fix it by default. Here is the output from console:
```
Changing into directory /home/---/Projects/magento2/app/etc
Processing config.php [PHP => 816 …
-
Related to #382
Just created a project with CakePHP 4 and configured PHPStorm to use phpcs and this standard. Issue 382 refers to a warning relating to slevomat/coding-standard. Version 4.7 shows …
-
```bash
composer require --dev wp-coding-standards/wpcs dealerdirect/phpcodesniffer-composer-installer
composer exec -- phpcs --standard=WordPress-Core src/ -s --exclude=WordPress.Files.FileName,Wor…
-
Running phpcbf for PSR12 I get:
```
-
**Describe the bug**
A clear and concise description of what the bug is.
Some files have errors and cannot be repaired, so the code has been truncated to make it shorter and easier to understand.
…
ghost updated
2 years ago