PHPCSExtra icon indicating copy to clipboard operation
PHPCSExtra copied to clipboard

A collection of code standards for use with PHP_CodeSniffer

Results 14 PHPCSExtra issues
Sort by recently updated
recently updated
newest added

Please add a sniff to format array key => value pairs, like PHPStorm does. ![Peek 2021-12-20 16-16](https://user-images.githubusercontent.com/423050/146902936-09c84c64-c70e-427e-be8c-c63d03c33432.gif) The main difference between already existing sniffs is they do not consider empty...

Type: enhancement
Feature: NormalizedArrays

A sniff to examine code and comments for the use of non-inclusive language and throw a warning when found. Specifically, the sniff should look for sexist, racist, ablist or ethnocentric...

Type: enhancement
Feature: Universal

Seems that Allman styling for control structures are still missing in PHPCS. Below an example of a valid structure: https://en.wikipedia.org/wiki/Indentation_style#Allman_style I also noticed some work already has been done over...

Type: enhancement
Feature: Universal

## Is your feature request related to a problem? In WordPress, there are a handful of files that need to function on their own. A sniff that detects the use...

Type: enhancement
Status: awaiting feedback
Status: wait for upstream
Feature: Universal