Page MenuHomePhabricator

Lint against undefined magic symbols
ClosedPublic

Authored by joshuaspence on Jan 14 2015, 11:56 AM.
Tags
None
Referenced Files
F15395924: D11386.diff
Sun, Mar 16, 10:46 AM
F15377513: D11386.id27366.diff
Thu, Mar 13, 9:20 AM
Unknown Object (File)
Feb 8 2025, 1:09 AM
Unknown Object (File)
Feb 8 2025, 1:09 AM
Unknown Object (File)
Feb 8 2025, 1:09 AM
Unknown Object (File)
Feb 8 2025, 1:09 AM
Unknown Object (File)
Feb 4 2025, 1:50 AM
Unknown Object (File)
Feb 2 2025, 9:50 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
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 3836
Build 3848: [Placeholder Plan] Wait for 30 Seconds

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.