[wp-trac] [WordPress Trac] #43644: Revert multiline calls to actions and filters
WordPress Trac
noreply at wordpress.org
Mon Jul 9 03:35:50 UTC 2018
#43644: Revert multiline calls to actions and filters
-------------------------------------+-------------------------------------
Reporter: johnbillion | Owner: johnbillion
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 5.0
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch 2nd-opinion | Focuses: docs, coding-standards
-------------------------------------+-------------------------------------
Comment (by pento):
Well, this has certainly dragged on. As the RFC process didn't really go
anywhere, let's do the following:
- WPCS 1.0 is due out this week, Core will upgrade to using that, and
start enforcing coding standards on commit. (#30153)
- @ocean90's suggestion in comment:4 is a good first step, we can easily
enforce this in Core's `phpcs.xml.dist`, if it doesn't make it into WPCS
1.0.
- @azaozz's suggestion is a good next step, but I imagine it wouldn't be
auto-fixable. We can add a sniff for it to be manually fixed.
I don't know if the PHPdoc parser will need work to handle this format,
someone familiar with it should probably check that out.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43644#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list