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)
Aug 8 2024, 6:53 PM
Unknown Object (File)
Aug 4 2024, 4:15 PM
Unknown Object (File)
Aug 2 2024, 5:38 PM
Unknown Object (File)
Jul 30 2024, 7:31 PM
Unknown Object (File)
Jul 29 2024, 2:06 AM
Unknown Object (File)
Jul 27 2024, 4:10 PM
Unknown Object (File)
Jul 27 2024, 12:45 AM
Unknown Object (File)
Jul 26 2024, 4:44 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.