- Issue created by @alyaj2a
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml,css .
FILE: .../web/modules/custom/search_api_solr_nlp/search_api_solr_nlp.install
-----------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
51 | ERROR | [x] Concat operator must be surrounded by a single space
-----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------
FILE: .../web/modules/custom/search_api_solr_nlp/src/EventSubscriber/SearchApiSolrSubscriber.php
-------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
-------------------------------------------------------------------------------------------------------------------------
16 | ERROR | [ ] Missing short description in doc comment
17 | ERROR | [x] Expected "array The models" but found "array The models." for @var tag in member variable comment
32 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found
52 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found
69 | ERROR | [x] Expected 1 space after "=>"; 2 found
71 | ERROR | [x] Expected 1 blank line after function; 0 found
72 | ERROR | [x] The closing brace for the class must have an empty line before it
-------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------
FILE: .../web/modules/custom/search_api_solr_nlp/.github/workflows/remove-old-artifacts.yml
--------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------
20 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml,css .
Active
1.1
Code