Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixer conflict: WhiteSpace_OperatorSpacing vs Arrays_ArrayDeclaration #986
While testing some improvements to the
The fixer goes into the typical 50-loop sequence and ends with unfixed errors.
Example code which will trigger the issue:
get_current_screen()->add_help_tab( array( 'id' => <<<EOD Here comes some text. EOD , ) ); get_current_screen()->add_help_tab( array( 'id' => <<<EOD Here comes some text. EOD . '</hr>', ) );
Strangely enough I can't reproduce the issue with just one of the two function calls. For some reason, both have to be there to trigger the issue.
Relevant part of the debug log:
Both the involved sniffs are - partial - copies of upstream sniffs, so any fix found for this issue should also be pulled upstream.