mirror of
https://gh.wpcy.net/https://github.com/WordPress/WordPress-Coding-Standards.git
synced 2026-05-04 05:12:20 +08:00
Includes:
- Redo the sniff to check for unwanted arguments values
Instead of checking for an expected value.
- Improve test coverage
- The CASE body must start on the line following the statement
- Handle null value as not set for version
- Normalize condition formatting
- Rename sniff and filenames
- Update the namespace to match moved location
- Update sniff name in the ruleset
Updated the description to be more complete and shorter
- Remove falsy from the in_footer check
Update warning description
- Move falsy back to the sniff
- Simplified conditional checking
- Update warning/error descriptions
- Add missing tests
- Copy syntax from Cron sniff
- Update regex to match floats as well
- Add additional tests
- Fix name in rule reference
- Replace `domain.com` with `example.com`
- Improve documentation
- Add support for 0x0 hex value checks
- Improve documentation and context
|
||
|---|---|---|
| .. | ||
| ruleset.xml | ||