Skip to content

Check PHPDoc and typehints declaration #45

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

Merged
merged 1 commit into from
Jun 20, 2018
Merged

Conversation

VasekPurchart
Copy link
Member

  • check for missing property types in PHPDoc @var
  • check for missing typehints in case they can be declared
  • check for missing @return and/or native return typehint in case the method body contains return with a value
  • check for useless doc comments
  • forces to specify what's in traversable types like array, iterable and \Traversable

@VasekPurchart VasekPurchart merged commit fb48c3d into master Jun 20, 2018
@VasekPurchart VasekPurchart deleted the type-hints-sniff branch June 20, 2018 08:11
@VasekPurchart VasekPurchart added the features Changes in feature set (including removals) label Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
features Changes in feature set (including removals)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant