Page MenuHomePhabricator

Improve PHP compatibility linter
ClosedPublic

Authored by joshuaspence on Aug 10 2015, 10:06 AM.
Tags
None
Referenced Files
F13177926: D13841.diff
Wed, May 8, 8:03 PM
Unknown Object (File)
Fri, Apr 26, 3:59 AM
Unknown Object (File)
Thu, Apr 25, 1:00 AM
Unknown Object (File)
Tue, Apr 16, 5:02 AM
Unknown Object (File)
Apr 9 2024, 6:48 AM
Unknown Object (File)
Feb 20 2024, 10:56 AM
Unknown Object (File)
Jan 28 2024, 8:03 AM
Unknown Object (File)
Jan 28 2024, 8:03 AM
Subscribers

Details

Summary

Ref T8674. Adds to ArcanistPHPCompatibilityXHPASTLinterRule such that an error is raised whenever self or $this is used in an anonymous closure prior to PHP 5.4.

Test Plan

Added test cases.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Improve PHP compatibility linter.
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.Aug 10 2015, 1:29 PM
This revision was automatically updated to reflect the committed changes.