-
## Description
Checks the usage of the add_option and update_option functions and warns if the $autoload parameter is not set, i.e. the default $autoload value is used, which is true. Too many auto…
-
At this moment, the plugin very deliberately only registers packages with the `phpcodesniffer-standard` type set in their `composer.json` file with PHP_CodeSniffer (providing a `ruleset.xml` file can …
jrfnl updated
1 month ago
-
- https://developer.wordpress.org/block-editor/contributors/code/testing-overview/
- https://make.wordpress.org/core/handbook/testing/automated-testing/
-
Since `phpcbf` is included, how about adding the option `autofix` to the config and [have phpcbf fix many](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Fixing-Errors-Automatically) of the coding …
-
Running
COMPOSER=composer-public.json composer update
I get:
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an insta…
-
Right now people are using [phpcodesniffer-composer-installer](https://github.com/Dealerdirect/phpcodesniffer-composer-installer) to automagically register standards .
Could this be integrated to C…
-
```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…
-
The package dealerdirect/phpcodesniffer-composer-installer@0.5.0 isn't compatible with composer 2.
https://github.com/next-press/NextPress-Coding-Standards/blob/03705daec6f08ddf253500f230a0331a7cff…
-
```
$ phpcs -i
The installed coding standards are Squiz, MySource, PEAR, Zend, PSR2, PSR1, Drupal and DrupalPractice
$ cgr update
>> Running: composer '--working-dir=/home/osboxes/.config/composer…
-
It seems that when custom sniffs are present, everything in the ruleset will be ignored, including the custom sniffs themselves, and phpcodesniffer will just report everything as having passed.
Cod…