Page MenuHomePhabricator

Improvements to `LINT_IMPLICIT_VISIBILITY`
ClosedPublic

Authored by joshuaspence on Jan 7 2015, 1:26 PM.
Tags
None
Referenced Files
F19222454: D11267.diff
Wed, Dec 17, 1:09 PM
F18855632: D11267.id27066.diff
Nov 1 2025, 5:59 AM
F18852361: D11267.id.diff
Oct 31 2025, 8:08 AM
F18845547: D11267.id27075.diff
Oct 29 2025, 12:53 PM
F18833855: D11267.diff
Oct 26 2025, 6:11 AM
F18729564: D11267.id.diff
Sep 30 2025, 11:20 AM
F18715491: D11267.diff
Sep 29 2025, 10:04 AM
F18712355: D11267.id.diff
Sep 29 2025, 5:22 AM
Subscribers

Details

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Improvements to `LINT_IMPLICIT_VISIBILITY`.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
richardvanvelzen edited edge metadata.

Seems reasonable to me.

One minor question - should it be:

  1. static public function or public static function
  2. abstract public function or public abstract function

?
For 1. I prefer the latter, while for 2. I prefer the former.

However, I don't care either way. This looks fine.

I think we use public static (vs static public) and abstract public (vs public abstract) nearly 100% of the time, although leaving the order undefined also seems fine to me.

epriestley edited edge metadata.
This revision is now accepted and ready to land.Jan 7 2015, 2:20 PM

I actually have a lint rule coming up for LINT_MODIFIER_ORDERING.

This revision was automatically updated to reflect the committed changes.