-
I am trying to check for errors via phpcs and PHPCompatibility standard on a laravel project, here is the command:
phpcs -psvw app --extensions=php --standard=PHPCompatibility --runtime-set tes…
-
PHPCS Version: 3.7.2 (stable)
>Searched for any of /Users/jacob/.vscode-insiders/extensions/fnando.linter-0.0.19/shims/phpcs-shim; couldn't be found within $PATH
It then goes on to print my `$PA…
-
... to allow external standards to more easily test their sniffs without using the PHPCS native unit test framework.
### Advantages this will/can provide:
* Tests will keep working once PHPCS 4.0 …
jrfnl updated
7 months ago
-
Currently the standards bundled with phpcs seem to be hardcoded into the plugin's code. We use our custom coding standard where I work, and we would benefit greatly from more flexible configuration op…
fqqdk updated
6 years ago
-
## 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…
-
Add either Travis CI or Circle CI with code sniffs against the WP-Core coding standards.
Running `phpcs` the WP coding standards produces a number of errors, most of which can be fixed automaticall…
-
```
vendor/bin/phpcs --standard=phpcs-ruleset.xml src/
vendor/bin/phpmd src/ text phpmd-ruleset.xml --exclude tests,vendor --suffixes php
```
Please consider running CI on every file: `composer …
-
I've followed the direction to install the package globally (composer require + installation with "10up-code-review-install"), then ran `phpcs --standard=10up-Code-Review ./`, but I get this:
`ERRO…
-
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…
-
### Preconditions
1. Have a file test.html like this:
```
```
### Steps to reproduce
1. Run `vendor/bin/phpcs -s --standard=Magento2 test.html`
### Expected result
1. Show no errors.
#…