acquia / coding-standards-php

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

Add Drupal.ControlStructures.ControlSignature to AcquiaPHP #44

Closed danepowell closed 2 years ago

danepowell commented 2 years ago

PSR-12 requires certain control structure styles that are not enforced today, such as spaces after keywords (e.g. if ( instead of if()

https://www.php-fig.org/psr/psr-12/#5-control-structures

TravisCarden commented 2 years ago

👍