Page MenuHomePhabricator

Add a linter rule for public properties
ClosedPublic

Authored by joshuaspence on Dec 2 2015, 9:06 PM.
Tags
None
Referenced Files
F17704935: D14641.diff
Wed, Jul 16, 6:10 AM
Unknown Object (File)
May 29 2025, 6:27 PM
Unknown Object (File)
May 19 2025, 9:38 AM
Unknown Object (File)
May 19 2025, 9:38 AM
Unknown Object (File)
May 19 2025, 9:38 AM
Unknown Object (File)
May 19 2025, 9:37 AM
Unknown Object (File)
May 10 2025, 9:51 AM
Unknown Object (File)
May 10 2025, 4:06 AM
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.