php-coding-standards icon indicating copy to clipboard operation
php-coding-standards copied to clipboard

Style guide for writing consistent PHP for WordPress projects.

Results 11 php-coding-standards issues
Sort by recently updated
recently updated
newest added

### Is your feature request related to a problem? Currently, there is no rule that checks whether there is a space after the type casting. As a result, several spellings...

enhancement

**Describe the bug** Not sure if this bug should be tackled in here Some auto fixing is not working as expected Notice the **phpdeclare** at the right after running **phpcbf**...

question

**Is your feature request related to a problem? Please describe.** This is more a question: Would it be a good idea to throw an error or a warning when the...

enhancement

**Is your feature request related to a problem? Please describe.** At Inpsyde, PHP files used to have the following file header: ```

enhancement

### Is your feature request related to a problem? Can't update/install over PHPCS standards that require latest php_codesniffer version. ### Describe the desired solution Currently `squizlabs/php_codesniffer` is locked at ~3.6.0,...

enhancement

**Please check if the PR fulfills these requirements** - [ ] The commit message follows our guidelines - [ ] Tests for the changes have been added (for bug fixes/features)...

### Is your feature request related to a problem? In #58 @strangerkir Proposed to make use of the "unused use" sniff from [Slevomat coding standard](https://github.com/slevomat/coding-standard). As part of #70, that...

enhancement
needs-vote

### Is your feature request related to a problem? Curently we have a rule that enforces a reasonable amount of cyclomatic complexity. *Cyclomatic complexity* is a purely aritmetic value, which...

enhancement

### Is your feature request related to a problem? We already enforce functions' arguments and return types, considering that version v2 of this repo is PHP 7.4+ we should also...

enhancement

### Is your feature request related to a problem? At the current moment, we don't have any specific rule for spaces around keys in array square brackets. This means that...

enhancement