-
**I want to...**
Run phpcs/phpcbf validation on my project files.
**It's not working because...**
Running the commands results in an error.
**Detailed error output**
If I run `blt validate:ph…
-
We had to disable phpcs because Magento starting requiring extra things that we're not in a position to add right now. We should fix the PHP CS warnings. and then reenable.
-
This issue is automatically created based on existing pull request: magento/magento2#38115: Set default PHP_CodeSniffer configuration
---------
### Description
When running `vendor/bin/phpcs…
-
How to integrate code checks into Visual Studio Code and PhpStorm?
-
## Describe the bug
`phpcs:enable` can sometimes wind up overriding a later `phpcs:ignore` for the rule. This can particularly happen when multiple `phpcs:enable` comments are present in the file…
-
It would be kind of nice to ship with a phpcs.xml file. Ideally this would be default at least have the rules be available in core by default, and point to just code running in modules/custom, themes/…
-
I apologize for having to ask this question but I am going around in ever decreasing circles!
I am running VS Code with Composer, Squizlab’s php_codesniffer and vscode-phpcs installed.
I am runnin…
-
>phpcs: The phpcs report contains invalid json. Please review "Diagnosing Common Errors" in the plugin README
Same problem as #100 but none of the suggestions fix it.
My config:
```json
{
…
-
It looks like we're using this [grunt-phpcs package](https://github.com/woocommerce/action-scheduler/blob/d4b1bb4463d90c3874b573548f6b8feedeffdd3c/package.json#L24) as [a shortcut](https://github.com/…
-
I use wodby/drupal-php (docker4drupal), which have inside a phpcs
`docker-compose exec php phpcs --version`
> PHP_CodeSniffer version 3.3.2 (stable) by Squiz (http://www.squiz.net)
Can I use this…