-
## Describe the bug
I have two identical files `app/Models/Locale.php` and `app/Models/.Locale.php` phpcs only reports the errors on the first one and phpcbf only fixes the first one.
### Code sam…
-
Hi!
I have windows 10 x64.
When I run console command, phpcbf forks fine.
But on save, phpcbf is not run.
http://prntscr.com/l4bjrx - it is after save.
http://prntscr.com/l4bkef - it is after r…
-
**Describe the bug**
I ran phpcbf with `--sniffs` option.
```console
$ vendor/bin/phpcbf --sniffs=Generic.PHP.DisallowShortOpenTag /path/to/files
```
I expected this command to only fix `Generic.…
-
`fin run kit/phpcbf` fails with 'file not found' in the 8.0.x versions. It is repaired in 8.1.x versions but they have a bug with vmlyr-drupal/kit and the pre-commit hook.
JeeMo updated
5 years ago
-
Repost from https://github.com/squizlabs/PHP_CodeSniffer/issues/2898 by @gsherwood:
> Version 4 is a good time to review the exit codes that both scripts produce to ensure that success cases all us…
jrfnl updated
3 months ago
-
Is there a way to disable reporting for `phpcbf`?
Something like: `phpcbf -q --report=none .`?
-
We're relying heavily on cache to make `phpcs` performant, but it appears `phpcbf` does not reuse it, e.g:
```
$ time tests/vendor/bin/phpcs
real 0m1.038s
user 0m1.649s
sys 0m1.066s…
-
```json
"phpcbf.enable": true,
"phpcbf.standard": "WordPress",
"phpcbf.debug": true,
"phpcbf.onsave": true,
"[php]": {
"editor.defaultFormatter": "persoderlind.vscode…
-
PHP_CodeSniffer version 3.4.2
VS Code version 1.36.1
I can format the document by using Shift+Alt+F but the onSave setting is not formatting the document.
Turned on debugging and nothing is sho…
-
#### Issue type
- [] bug
- [x] enhancement
#### Overview description
Is there any plan to integrate phpcbf into netbeans ?
Especially auto-format via phpcs.xml on save