acquia / coding-standards-php

PHP_CodeSniffer rules (sniffs) for Acquia coding standards
GNU General Public License v2.0
19 stars 13 forks source link

Fix #61: Exclude .module files from type hint requirements #66

Closed danepowell closed 5 months ago

danepowell commented 8 months ago

I add these exclusions grudgingly. Drupal needs to type hint its hooks: https://www.drupal.org/project/drupal/issues/3229216

There's no reason end users can't type hint hooks themselves, but I understand why one wouldn't want to depart from the standard, broken though it may be.