Problem/Motivation
Drupal Coding standards should be fixed.
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml .
FILE: .../web/modules/custom/seckit/seckit.test
------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
------------------------------------------------------------------------
768 | ERROR | Type hint "array" missing for $report
768 | ERROR | Type hint "array" missing for $headers
------------------------------------------------------------------------
FILE: .../web/modules/custom/seckit/seckit.module
---------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------
380 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 6
522 | ERROR | [x] Use null coalesce operator instead of ternary operator.
---------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------
Steps to reproduce
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml .
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes