PHPCSStandards / PHP_CodeSniffer

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
BSD 3-Clause "New" or "Revised" License
937 stars 56 forks source link

Documentation: minor consistency fixes #572

Closed jrfnl closed 3 months ago

jrfnl commented 3 months ago

Description

Generic/Documentation: minor consistency fixes

PEAR/Documentation: minor consistency fixes

Docs/PEAR//FileComment: fix up swapped valid/invalid blocks

The invalid block for the "tag order" was next to the "valid" PHP version code sample and visa versa.

Docs/PEAR//FileComment: fix readability of the standard

Before

image

After

image

PSR1/2/12/Documentation: minor consistency fixes

Squiz/Documentation: minor consistency fixes

Squiz/FunctionDuplicateArgument: remove incorrect documentation

Looks like this XML file was committed/accepted by accident / was an unfinished copy/paste error, as it has nothing to do with the Squiz.Functions.FunctionDuplicateArgument sniff.

The sniff should be properly documented and the sniff has now been added to the task list in #148

Zend/Documentation: minor consistency fixes

Suggested changelog entry

N/A

Related issues/external references

Loosely related to #148

Types of changes