]> khamidou — GitHub mirrors - arcanist.git/commit
Fix an issue with PHPCS output formatting
authorepriestley <git@epriestley.com>
Tue, 10 Sep 2013 22:10:34 +0000 (15:10 -0700)
committerepriestley <git@epriestley.com>
Tue, 10 Sep 2013 22:10:34 +0000 (15:10 -0700)
commit699f3b3c05e2e49745a9a258c67414f65fe01b6b
tree82a5279b3f40bf6c363076620172e4d63b239618
parent5fd07856c0e8fee1c3061c49ba10e7794e7f36e7
Fix an issue with PHPCS output formatting

Summary:
See <https://github.com/facebook/arcanist/issues/102>. PHPCS changed its output format sometime between 1.4.6 (stable) and 1.5.0RC3.

Add a "no errors" test and make the linter work on both versions.

Test Plan: Ran `arc unit` on PHPCS 1.5.0RC3.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran
Differential Revision: https://secure.phabricator.com/D6926
src/lint/linter/ArcanistPhpcsLinter.php
src/lint/linter/__tests__/phpcs/no-errors.lint-test [new file with mode: 0644]