Page MenuHomePhabricator

Lint against undefined magic symbols
ClosedPublic

Authored by joshuaspence on Jan 14 2015, 11:56 AM.
Tags
None
Referenced Files
F14022522: D11386.diff
Wed, Nov 6, 6:02 PM
F13975343: D11386.diff
Fri, Oct 18, 9:45 AM
Unknown Object (File)
Oct 1 2024, 11:00 PM
Unknown Object (File)
Aug 31 2024, 11:07 PM
Unknown Object (File)
Aug 28 2024, 6:20 AM
Unknown Object (File)
Aug 25 2024, 7:06 AM
Unknown Object (File)
Aug 16 2024, 1:15 AM
Unknown Object (File)
Aug 15 2024, 9:46 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.