Page MenuHomePhabricator

Lint against undefined magic symbols
ClosedPublic

Authored by joshuaspence on Jan 14 2015, 11:56 AM.
Tags
None
Referenced Files
F15554507: D11386.diff
Mon, Apr 28, 7:25 AM
F15547127: D11386.diff
Sat, Apr 26, 6:17 PM
F15506242: D11386.diff
Tue, Apr 15, 9:42 AM
F15478341: D11386.diff
Mon, Apr 7, 10:04 PM
F15443549: D11386.id.diff
Mar 27 2025, 4:58 AM
F15421009: D11386.diff
Mar 21 2025, 8:09 PM
F15417800: D11386.id.diff
Mar 20 2025, 6:41 PM
F15395924: D11386.diff
Mar 16 2025, 10: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.