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
Improve AutoloadSplitter regexes #4422
Two commits - the first is fine, but the second one may be too strict.
changed the title from
Inspection autoload splitter regexes
Improve AutoloadSplitter regexes
Oct 6, 2017
First of the rebased commits adds unit tests for existing functionality. You can check out that commit, and run
Second commit makes the non-breaking change, and the tests still pass as they were.
The third commit makes the opinionated change that stops
Note: this is only used for the WP-CLI bundled commands, not for third-party commands. So, we can do it as strict as we want, as long as we make sure that our own bundled commands still work correctly.