[wp-trac] [WordPress Trac] #49376: Adjust coding standards to always omit parenthesis for include/require statements
WordPress Trac
noreply at wordpress.org
Thu Feb 6 22:13:50 UTC 2020
#49376: Adjust coding standards to always omit parenthesis for include/require
statements
-------------------------------------+-------------------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: low | Milestone: 5.4
Component: General | Version:
Severity: trivial | Resolution:
Keywords: has-patch needs-refresh | Focuses: coding-standards
-------------------------------------+-------------------------------
Changes (by GaryJ):
* keywords: has-patch => has-patch needs-refresh
Comment:
The `Squiz.WhiteSpace.LanguageConstructSpacing` sniff is already
deprecated and
[https://github.com/squizlabs/PHP_CodeSniffer/blob/077ebabafe34c7bc3c214bc8c9f591580707914b/CHANGELOG.md#L43-L44
will be removed in PHPCS 4.0].
Use `Generic.WhiteSpace.LanguageConstructSpacing` instead.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49376#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list