Page MenuHomePhabricator

Lint against undefined magic symbols
ClosedPublic

Authored by joshuaspence on Jan 14 2015, 11:56 AM.
Tags
None
Referenced Files
F14095716: D11386.diff
Mon, Nov 25, 11:18 PM
Unknown Object (File)
Tue, Nov 19, 3:49 AM
Unknown Object (File)
Sun, Nov 17, 6:08 AM
Unknown Object (File)
Thu, Nov 14, 11:11 PM
Unknown Object (File)
Thu, Nov 14, 4:53 AM
Unknown Object (File)
Thu, Nov 14, 4:34 AM
Unknown Object (File)
Thu, Nov 14, 2:28 AM
Unknown Object (File)
Thu, Nov 14, 1:37 AM
Subscribers

Details

Summary

Fixes T5639. Allows the detection of undefined magic symbols, such as the use of __DIR__ in a codebase that targets < PHP 5.3.0.

Test Plan

Added a test case.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Lint against undefined magic symbols.
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.Jan 14 2015, 2:00 PM
This revision was automatically updated to reflect the committed changes.