-
Hi,
Currently versions 8 of php are not officially supported (in release), but the curious thing, according to what I have read in the develop branch, is that it is supported.
Are you planning to …
-
## What problem would the enhancement address for VIP?
Much of the logic in our sniffs does not account for certain code styles, more modern PHP syntax, and misses other edge cases related to white…
-
What we do in Understrap as a reference: https://github.com/understrap/understrap/tree/main/.github/workflows
-
In the [upgrade guide](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Version-3.0-Upgrade-Guide), it says:
> Note: It doesn't matter what namespace you use for your sniffs as long as the last pa…
-
Let's take this code:
```php
-
### Current situation
The WordPress Coding Standards currently enforce file names to:
1. Be all lowercase;
2. Use hyphens instead of underscores as word separators;
3. Have a `class-` prefix for…
-
-
Just like `die()` or `exit()`, `throw` will send to the screen unless the Exception is caught.
Should we start checking throw statements for output escaping ?
```php
throw new Exception( "There…
-
See: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards
Note: depending on the volume of issues found we can either correct them as part of this issue or spin up a separate is…
-
## Is your feature request related to a problem?
Suppose I have the following code:
```
$variable = 'foo';
$my_array["a_string_{$variable}"] = 'bar';
```
This res…