-
When declaring a function, if at least one extra space is added next to a parameter, the phpcs engine will crash with a php fatal error. See code snippet bellow and notice that there are 2 spaces next…
-
Adding a `composer.json` template would encourage developers to make their plugins available via Packagist, and also allow local install of dependencies.
Currently, WPCS + PHPCS is made available v…
-
Based on https://github.com/wimg/PHPCompatibility/issues/514#issuecomment-340369984, what about adding some example rulesets for the larger PHP frameworks/CMSes/projects ?
The rulesets would be int…
-
Getting the following error when attempting to use the `develop` branch due to the requirements needed to use the 'develop' branch of PHPCompatibility in order to scan for PHP 8.0 compatibility.
`T…
-
This package looks at running PHPCS with a certain standard, but this is too broad and the wrong focus IMO. It should define that PHPCS to run in a git hook - not also how PHPCS should run.
PHPCS c…
-
Copied over from https://core.trac.wordpress.org/ticket/56467#comment:242 for visibility
While looking at the test runs of WP Core, I've found that [WP Core PR 3199](https://github.com/WordPress/wo…
-
### Description
When running [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) against `PHP7.4` the plugin generates a handful of warnings and 2 errors.
```php
FILE: content/plugins…
-
### Feature request/bug description
In my wp_debug error log i see this errors:
[07-Jul-2021 11:14:54 UTC] PHP Warning: Array to string conversion in /public_html/wp-content/plugins/health-check/in…
-
I have two custom packages (not in Packagist): `wporg-main-2022` and `wporg-repo-tools`. `main` depends on `repo-tools`, and `repo-tools` [provides a `bin/update-configs` script](https://github.com/Wo…
-
## Bug Description
A `testVersion` configuration value in the PHPCS config file was [uncommented](https://github.com/cloudinary/cloudinary_wordpress/commit/d8bc42264d4179d00e44a56669faccf265e3b5db)…