Page MenuHomePhabricator

Add a linter rule for public properties
ClosedPublic

Authored by joshuaspence on Dec 2 2015, 9:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 11:32 PM
Unknown Object (File)
Fri, Nov 15, 3:06 PM
Unknown Object (File)
Sun, Nov 10, 11:50 PM
Unknown Object (File)
Sun, Nov 10, 6:38 PM
Unknown Object (File)
Wed, Nov 6, 7:01 PM
Unknown Object (File)
Oct 19 2024, 7:06 AM
Unknown Object (File)
Oct 9 2024, 2:44 AM
Unknown Object (File)
Oct 2 2024, 3:17 PM
Subscribers

Details

Summary

Add a linter rule which advises against public class properties.

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 Add a linter rule for public properties.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/lint/linter/xhpast/rules/ArcanistPublicPropertyXHPASTLinterRule.php
29–30

Maybe "getter and setter methods" or "a getter and setter" vs "a getter and setter methods".

This revision is now accepted and ready to land.Dec 2 2015, 9:11 PM
joshuaspence marked an inline comment as done.
joshuaspence edited edge metadata.

Fix text

This revision was automatically updated to reflect the committed changes.