-
Just installed v1.0.0 from WP site.
Running WordPress 5.1.1
Options: no theme prefix, only checked WPThemeReview setting.
Receive this in error log for every theme checked:
[25-Mar-2019 21:04:04…
-
**Is your feature request related to a problem? Please describe.**
Opening random PHP files which are not formatted for PHP Sniffer always highlights tons of errors which makes it difficult to read.
…
-
When I tested a theme that requires PHP 8, the sniffer kept running without any results. The sniffer also kept running when testing with Twenty Twenty-Two.
It did not seem to matter what minimum P…
-
Theme Sniffer is erroneously requiring several theme files on https://github.com/WPTRT/theme-sniffer/blob/master/src/callback/class-run-sniffer-callback.php#L783
**comments.php**
This file is no…
-
Hi, @isaaceindhoven I installed your package, and it doesn't work almost.
I call your package via CLI like that: `./vendor/bin/phpcs-baseliner create-baseline ./app` and I got errors
```log
R…
-
**Describe the bug**
PHP errors should also go to stderr not stdout.
Current behaviour breaks external tools calling phpcs - these expect json and not mix of json with errors
**Code sample** + …
arekm updated
2 years ago
-
**Describe the bug**
Running sniffer with PSR-12 standard on some valid switch statements (mixing curly braces syntax with classic syntax) shows an Internal.Exception, which aborts checking rest of t…
-
It useful for legacy code.
For exapmle:
```yaml
test:
php_code_sniffer:
allowed_errors: last.errors_count
```
or
```yaml
test:
php_code_sniffer:
fail_on: has_new_errors
```
-
With PHP 7, PHP_CodeSniffer to not find the sniffs from TYPO3SniffPool anymore:
https://travis-ci.org/oliverklee/sniffer-demo
This is the demo project I've used:
https://github.com/oliverklee/sniffe…
-
Open the Settings Pane and then Languages and Frameworks | PHP
There is no PHP in 'Languages and Frameworks'.
Unclear if I should Install these as plugins,
Is something wrong with my installati…