-
## Is your feature request related to a problem?
XML docs for sniffs should have consistent formatting, but this can't currently be checked automatically as the `xmllint` + `diff` commands need the…
jrfnl updated
2 months ago
-
Since WordPress forces global input vars to get magic quoted, any access to them should pass through `wp_unslash()`. Likewise, any data data sent into a function that expects pre-slashed input should …
-
> This ticket is a split from #1157 as suggested in https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1157#issuecomment-351753423.
## History
In the beginning, [the…
-
From https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/900#issuecomment-290970192:
> @grappler
> Would it make sense to check for prefixing the following items or a …
jrfnl updated
5 years ago
-
In the MVC+Templating world, all new code does have template separation from the code.
So in templates with template-like syntax, which uses "`if(STATEMENT):`", "`endif;`", "`foreach(..):`", `endfore…
-
## Describe the solution you'd like
VIPCS could benefit from having a custom IniSet sniff...similar to https://github.com/WordPress/WordPress-Coding-Standards/blob/41f5a9c66ff814863bc479fb52fd6cd1a…
-
```bash
composer require --dev wp-coding-standards/wpcs dealerdirect/phpcodesniffer-composer-installer
composer exec -- phpcs --standard=WordPress-Core src/ -s --exclude=WordPress.Files.FileName,Wor…
-
Prettier has an official plugin to format PHP code which might be a good option: https://github.com/prettier/plugin-php
It has some considerations:
* We need to check if it does not conflict wit…
-
One good feature worth adding into the options is the use of a custom ruleset
https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml
https://github.com/WordPress-Coding-Standards/…
-
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.
## Config Migration Needed
- […