[wp-trac] [WordPress Trac] #54717: Remove unused space from admin-ajax.php
WordPress Trac
noreply at wordpress.org
Sat Jan 1 09:55:08 UTC 2022
#54717: Remove unused space from admin-ajax.php
---------------------------+----------------------
Reporter: krupalpanchal | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: invalid
Keywords: has-patch | Focuses:
---------------------------+----------------------
Changes (by costdev):
* status: new => closed
* version: trunk =>
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
This spacing is used to align with `$core_actions_post_deprecated` in the
block above.
In addition, PHPCS throws a warning when the spaces are removed:
>156 | WARNING | [x] Equals sign not aligned with surrounding assignments;
expected 12 spaces but found 1 space
>(Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
Tip: Use the following command to check against PHPCS:
{{{#!sh
vendor/bin/phpcs <relative/path/to/file>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54717#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list