Page MenuHomePhabricator

Improve PHP compatibility linter
ClosedPublic

Authored by joshuaspence on Aug 10 2015, 10:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 11:55 PM
Unknown Object (File)
Sat, Dec 14, 1:22 AM
Unknown Object (File)
Tue, Dec 10, 3:14 PM
Unknown Object (File)
Thu, Dec 5, 6:02 PM
Unknown Object (File)
Fri, Nov 29, 9:41 AM
Unknown Object (File)
Wed, Nov 27, 3:27 PM
Unknown Object (File)
Nov 19 2024, 11:11 AM
Unknown Object (File)
Nov 14 2024, 9:32 PM
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.