-
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…
-
```phpfmt.wp | boolean | activate WP style```
What exactly does the WP parameter stand for? Wordpress styles? What exactly happens when this is active? In the source code, I only see that a --wp pa…
-
As pointed out on reddit: https://www.reddit.com/r/PHP/comments/3yq3yx/byteformatter_is_a_psr2_compliant_library_that/cygfps8
-
As pointed out on reddit: https://www.reddit.com/r/PHP/comments/3yq3yx/byteformatter_is_a_psr2_compliant_library_that/cygfps8
-
As title, I think we can use the `PSR2` coding style for all codes in `src` and `test` folders.
-
When selecting you have a drupal project you are unable to select the PSR1 and PSR2 coding standards while those are framework agnostic.
rjd22 updated
7 years ago
-
I've discovered through trial and error that I can configure PHPCS features that this library doesn't directly support through configuration. Example:
```
options: {
// hack: args…
-
```
$ 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…
-
**Is your feature request related to a problem? Please describe.**
[PSR2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) is deprecated although we use it o…
matks updated
2 years ago
-
Hey,
installed php-cs-fixer correctly as a global composer package, can run it from the command line.
Output from debug console inside of VSCode:
`(4) ["fix", "--using-cache=no", "C:\Users\P…