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 PSR-12 sniffs #45

Closed danepowell closed 2 years ago

danepowell commented 2 years ago

I discovered several PSR-12 standards are not enforced. Conversely, there's a few Drupal-isms that I believe should override the PSR-12 standards (especially, putting the opening brace for a class declaration on the same line as the declaration). I discovered these were not enforced in https://github.com/infection/infection/issues/1712

TravisCarden commented 2 years ago

Good catches, @danepowell. Merging.