Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disallow type names in variable names #16

Open
aik099 opened this issue Jun 19, 2014 · 1 comment
Open

Disallow type names in variable names #16

aik099 opened this issue Jun 19, 2014 · 1 comment

Comments

@aik099
Copy link
Owner

aik099 commented Jun 19, 2014

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):

  • string
  • int, integer
  • float
  • bool, boolean
  • array
  • resource
  • null
  • callable
  • object
  • array

Related to: #78

@aik099
Copy link
Owner Author

aik099 commented Jun 22, 2014

Special case would be to allow variable named $object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant