Skip to content

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.

2 participants