-
I echo the value of `$_GET['s']` on a search results page, like so:
`Search results for: `
WPCS tells me:
`Detected usage of a non-sanitised input variable: $_GET['s']`
_Indeed_, it is not san…
-
**Flaky test detected. This is an auto-generated issue by GitHub Actions. Please do NOT edit this manually.**
## Test title
defaults to the Product Catalog template
## Test path
`/plugins/woocommer…
-
One of the Neutron sniffs is [DisallowAssignAlign](https://github.com/Automattic/phpcs-neutron-standard/blob/master/NeutronStandard/Sniffs/AssignAlign/DisallowAssignAlignSniff.php).
Neutron [claims…
-
Hi,
I get the following error when running the following command:
**phpcbf --standard=WordPress _foldername**_
> vendor/bin/phpcbf : PHP Fatal error: Uncaught PHP_CodeSniffer\Exceptions\Runti…
-
## Bug Description
There's a false negative when there's no comma after a single item array. For example, this will flag as expected:
```
$args = array(
'nopaging' => true, // Bad.
);
…
-
Hello everybody, mine is a question more than an issue (being only a question I thought it was more correct to consider it as an "Issue" instead of a "Dependency Change" or a "Feature request"). In th…
-
### Description
Hi,
I'm trying to bring lint and beautify functionality based on WPCS standards to VS Code. Your extension is the best choice as it's the most recent, well-integrated with VS Cod…
-
# Topic Description
With all versions of PHP 7 now officially EOL (end of life) any plugins you develop, or have developed, must support PHP 8. While WordPress does run on PHP 8, many plugins still d…
-
Since we want Advanced administration handbook to be generated from GitHub repository, we will need to create manifest.json, for which we will have to know the exact structure/sitemap of the handbook.…
-
I'm running the library and it's only pulling and namespacing the `dealerdirect/phpcodesniffer-composer-installer` dependency which is actually a dev dependency..
Its totally ignoring a dependency …