Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293211

Fix Squiz.Scope.MethodScope.Missing - all methods should have scopes

$
0
0

Problem/Motivation

All methods should have a scope.

Proposed resolution

Add the Squiz.Scope.MethodScope.Missing rule
Make all methods missing scope public as this is the default.

I ran the following replaces:
^ static function with public static function
^ function with public function
^ abstract function with abstract public function

Remaining tasks

User interface changes

None

API changes

None

Data model changes

Noe


Viewing all articles
Browse latest Browse all 293211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>