-
- phpcs version : 3.3.2
- php version: 7.2 and 7.3
- operating system: osx
### Description
I get this exception when i run phpcs using a parallel value greater than 1
```bash
Fatal error: U…
-
## Bug Description
Never call `opcache_reset()`, as this corrupts admin webs when in /wp-admin/ and normal webs when running admin-ajax.php on WPCOM
## Minimal Code Snippet
```php
$res…
-
In [dropping support for PHPCS 2.x](https://github.com/Automattic/VIP-Coding-Standards/issues/190), the minimum version of PHP was raised to [PHP >=5.4](https://github.com/Automattic/VIP-Coding-Standa…
-
Any output used from `get_the_title()` needs escaping, as per: https://developer.wordpress.org/reference/functions/get_the_title/#comment-2150 -- this should be flagged.
-
## What problem would the enhancement address for VIP?
The WordPress translation functions `esc_attr_e()` and `esc_html_e()` are meant to be passed a string literal to be translated, escape it …
-
After #197, the minimum supported version of PHPCS is `3.0.2`.
There are many bug fixes and useful features in later versions of PHPCS - the current release is `3.3.1`.
I'd like to encourage tho…
-
## Bug Description
When running `phpcs * --standard=WordPress-VIP-Go -s -d --severity=1` against the code snippet below, I'd expect to see a warning triggered for `WordPress.PHP.StrictComparisons.L…
-
> The command "if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n . --standard="WordPress-VIP" --extensions=php; fi" exited with 0.
It looks like PHPCS isn't running as expected vi…
-
As mentioned at https://github.com/justintadlock/mythic/issues/7#issuecomment-415202950, here are some suggestions for the PHPCS config file for this uuups repo. I've tried _not_ to comment on the cle…
-
`wp_verify_nonce` should not produce Detected usage of a non-sanitized input variable error.
Eg.: `wp_verify_nonce( $_POST['my_modules_nonce'], 'metro_modules' )` is totally valid.
EDIT: should …