Page MenuHomePhabricator

Allow the `ArcanistPhutilLibraryLinter` to recover from PHP syntax errors
ClosedPublic

Authored by joshuaspence on Jul 9 2014, 9:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 7:50 AM
Unknown Object (File)
Thu, May 2, 10:57 AM
Unknown Object (File)
Wed, Apr 24, 10:45 PM
Unknown Object (File)
Sat, Apr 20, 12:32 PM
Unknown Object (File)
Thu, Apr 11, 5:42 PM
Unknown Object (File)
Thu, Apr 11, 9:57 AM
Unknown Object (File)
Mar 23 2024, 4:07 PM
Unknown Object (File)
Feb 23 2024, 10:42 PM
Subscribers

Details

Summary

Fixes T5577. If the ArcanistPhutilLibraryLinter lints a PHP file that contains a syntax error, it will die horribly. Instead, force it to continue as if nothing was wrong.

Test Plan

Introduced a PHP syntax error. Ran arc lint and made sure the output looked reasonable.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joshuaspence retitled this revision from to Allow the `ArcanistPhutilLibraryLinter` to recover from PHP syntax errors.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jul 9 2014, 9:58 PM

Oh whoops, there's a change that needs to be made in rPHU as well. Coming right up.