Page MenuHomePhabricator

Write a linter rule for `$this` reassignment
ClosedPublic

Authored by joshuaspence on Nov 18 2015, 10:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 2:01 AM
Unknown Object (File)
Mon, Nov 25, 11:35 PM
Unknown Object (File)
Fri, Nov 8, 8:42 PM
Unknown Object (File)
Fri, Nov 8, 8:42 PM
Unknown Object (File)
Fri, Nov 8, 8:42 PM
Unknown Object (File)
Oct 15 2024, 10:07 AM
Unknown Object (File)
Oct 15 2024, 8:22 AM
Unknown Object (File)
Sep 30 2024, 10:00 PM
Subscribers

Details

Summary

Re-assigning $this is an invalid PHP construct, see https://3v4l.org/TauX9.

Test Plan

Added unit tests.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Write a linter rule for `$this` reassignment.
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.Nov 18 2015, 11:04 PM
This revision was automatically updated to reflect the committed changes.