Page MenuHomePhabricator

Lint against undefined magic symbols
ClosedPublic

Authored by joshuaspence on Jan 14 2015, 11:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 10, 9:19 PM
Unknown Object (File)
Fri, Dec 6, 7:59 AM
Unknown Object (File)
Tue, Dec 3, 7:16 AM
Unknown Object (File)
Tue, Nov 26, 4:46 AM
Unknown Object (File)
Mon, Nov 25, 11:18 PM
Unknown Object (File)
Nov 19 2024, 3:49 AM
Unknown Object (File)
Nov 17 2024, 6:08 AM
Unknown Object (File)
Nov 14 2024, 11:11 PM
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.