We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Customisable Sniff Properties: fix incorrect property type ... for the `PSR12.ControlStructures.BooleanOperatorPlacement` sniff.
Usage: update the "explain" output The PSR1 standard now contains 8 sniffs, not 7.
Usage: use fenced code blocks
Usage: update the help information As per the revamped help screen. See PR PHPCSStandards/PHP_CodeSniffer#447
Coding-Standard-Tutorial: update the tutorial * Remove mention of creating the standards in the PHPCS `Standards` directory and replace it with information about registering a standard with PHPCS via the `installed_paths` command. * Add note about the token array containing additional information. * Modernize the sniff code sample. - Replace the file docblock with a simpler class docblock. - Use the correct namespace for the standard. - Make it a `final` class. - Use short arrays. - Remove `//end ...` comments. - Improve type specificity in the docblocks. - Remove PHP close tag. * Improve the test code by including code samples which should *not* be flagged (but would trigger the sniff). * Use the more common term (class) "property" instead of "member variable". * Fix grammatical error. * Use fenced code blocks for bash commands. * Various other markdown tweaks for readability.
Coding-Standard-Tutorial: update code sample ... to prevent a deprecation notice on PHP 7.4 and a parse error on PHP 8.0+. Fixes PHPCSStandards/PHP_CodeSniffer#496
Update sniff code vs error code + additional info about this in Reporting and Advanced Usage Refs: #319, #328 Co-authored-by: Joachim Noreiko <[email protected]>
Reporting: add note about caching vs Performance Report Related to #306
Reporting: fix typo
Add information about the new Performance report Ref: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/60
Fix some grammar issues and typos
Add missing PSR12 standard to installed standards list ... and remove the PHPCS standard which was removed in PHPCS 3.0.
Remove reference to PEAR package Not that it's being used for _this_ package, but PEAR packages are much less common nowadays, so the reference looks dated.
Fix references to deprecated ignore syntaxes
Add "back to top" links under each section ... on long pages which contain a table of contents.
Use highlighted blocks for important information Ref: https://github.com/orgs/community/discussions/16925
Update URLs to point to the PHPCSStandards repo
Fix ruleset sample related to changing the message template (related to #3769)
Fix case of available filters - see #3877
Fixed language around phpcs:ignore annotation (issues #3657)
Updated Customisable Sniff Properties (markdown)
Updated Fixing Errors Automatically (markdown)
Updated Annotated Ruleset (markdown)