aik099 / CodingStandard

The PHP_CodeSniffer coding standard I'm using on all of my projects
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Disallow type names in variable names #16

Open aik099 opened 10 years ago

aik099 commented 10 years ago

Disallow type names in variable names. For example $user_object or $categories_string.

List of not allowed types (see more at http://phpdoc.org/docs/latest/guides/types.html):

Related to: #78

aik099 commented 10 years ago

Special case would be to allow variable named $object.