Coding Standard Issues

Created on 8 December 2023, over 1 year ago

Problem/Motivation

1: We could be using README.md instead of README.txt to make use of the nicer rendering via markdown.

Now that we've moved to GitLab, we should probably use Markdown instead of plain .txt files for our documentation.

Follow this pattern

README.md → template.

2: Fix the issues reported by phpcs

Run below command :

phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml ./web/modules/contrib/elasticsearch_connector

FILE: /web/modules/contrib/elasticsearch_connector/css/ec-index.css                                                             
-----------------------------------------------------------------------------------------------                                                      
FOUND 11 ERRORS AFFECTING 10 LINES                                                                                                                   
-----------------------------------------------------------------------------------------------                                                      
  1 | ERROR | [x] Multiple selectors should each be on a single line                                                                                 
  2 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4                                                                              
  5 | ERROR | [x] Multiple selectors should each be on a single line                                                                                 
  6 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4                                                                              
  9 | ERROR | [x] Multiple selectors should each be on a single line                                                                                 
 10 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4                                                                              
 10 | ERROR | [x] CSS colours must be defined in lowercase; expected #0074bd but found #0074BD                                                       
 14 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4                                                                              
 15 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4                                                                              
 19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4                                                                              
 23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4                                                                              
-----------------------------------------------------------------------------------------------                                                      
PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                          
-----------------------------------------------------------------------------------------------                                                      
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/elasticsearch_connector.info.yml                                             
-------------------------------------------------------------------------------------------------------------                                        
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE                                                                                                       
-------------------------------------------------------------------------------------------------------------                                        
 1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically                                           
 1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically                                         
 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically                                           
-------------------------------------------------------------------------------------------------------------                                        
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/elasticsearch_connector.install                                              
----------------------------------------------------------------------------------------------------------------------------------------------       
FOUND 7 ERRORS AND 1 WARNING AFFECTING 8 LINES                                                                                                       
----------------------------------------------------------------------------------------------------------------------------------------------       
 14 | WARNING | [x] 'TODO: This should be rewritten in order to get the correct library.' should match the format '@todo Fix problem X here.'        
 17 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                 
 18 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                 
 30 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                 
 31 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                 
 40 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                 
 41 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                 
 51 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                 
----------------------------------------------------------------------------------------------------------------------------------------------       
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
----------------------------------------------------------------------------------------------------------------------------------------------       
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/elasticsearch_connector.module                                               
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 41 ERRORS AND 8 WARNINGS AFFECTING 49 LINES                                                                                                    
-----------------------------------------------------------------------------------------------------------------------------------------------------
   9 | ERROR   | [x] When importing a class with "use", do not include a leading /                                                                   
  36 | WARNING | [x] 'TODO: Check cluster node state and update cluster nodes if any changes.' should match the format '@todo Fix problem X here.'   
  45 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  46 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  57 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  58 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  62 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  63 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  65 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  69 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  70 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  86 | ERROR   | [x] Return type must not contain variable name "$element"                                                                           
  93 | ERROR   | [x] Use null coalesce operator instead of ternary operator.                                                                         
  94 | ERROR   | [x] Use null coalesce operator instead of ternary operator.                                                                         
 130 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 161 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 197 | ERROR   | [x] Return type must not contain variable name "$element"                                                                           
 205 | WARNING | [x] 'TODO: Add icon if the cluster is OK or not.' should match the format '@todo Fix problem X here.'                               
 206 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 216 | WARNING | [x] 'TODO: Allow this option to be overwritten and #value if we had such.' should match the format '@todo Fix problem X here.'      
 218 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 231 | ERROR   | [x] Use null coalesce operator instead of ternary operator.                                                                         
 232 | ERROR   | [x] Use null coalesce operator instead of ternary operator.                                                                         
 237 | WARNING | [x] 'TODO: We need to handle the incoming tree name if such.' should match the format '@todo Fix problem X here.'                   
 238 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 239 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 241 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 250 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 253 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 254 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 262 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 276 | ERROR   | [x] Array indentation error, expected 4 spaces but found 6                                                                          
 277 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 279 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 283 | ERROR   | [x] Array indentation error, expected 4 spaces but found 6                                                                          
 284 | ERROR   | [x] Array indentation error, expected 4 spaces but found 6                                                                          
 288 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 355 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 357 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 358 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 396 | ERROR   | [ ] Return type "array Indices" must not contain spaces                                                                             
 400 | WARNING | [x] 'TODO in src.' should match the format '@todo Fix problem X here.'                                                              
 401 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 412 | WARNING | [x] 'TODO: Check index status if such e.g. index closed or s.o.' should match the format '@todo Fix problem X here.'                
 431 | WARNING | [x] 'TODO in src.' should match the format '@todo Fix problem X here.'                                                              
 456 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 462 | WARNING | [x] 'TODO: This should be changed to check all data Nodes only but for now lets' should match the format '@todo Fix problem X here.'
 476 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 480 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 48 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                          
-----------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/modules/elasticsearch_connector_views/elasticsearch_connector_views.info.yml 
---------------------------------------------------------------------------------------------------------------------------------------------------- 
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE                                                                                                       
---------------------------------------------------------------------------------------------------------------------------------------------------- 
 1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically                                           
 1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically                                         
 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically                                           
---------------------------------------------------------------------------------------------------------------------------------------------------- 
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/modules/elasticsearch_connector_views/elasticsearch_connector_views.views.inc
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 22 ERRORS AND 9 WARNINGS AFFECTING 29 LINES                                                                                                    
-----------------------------------------------------------------------------------------------------------------------------------------------------
  14 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  23 | WARNING | [x] 'TODO: Handle aliases also, not only indices.' should match the format '@todo Fix problem X here.'                              
  27 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  35 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  38 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  39 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  43 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  50 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  53 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  59 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  62 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  69 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  72 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  97 | ERROR   | [ ] Type hint "array" missing for $data                                                                                             
  97 | ERROR   | [ ] Type hint "array" missing for $fields                                                                                           
 100 | WARNING | [x] 'TODO: Restrict some fields if needed.' should match the format '@todo Fix problem X here.'                                     
 101 | WARNING | [x] 'TODO: Handle boolean.' should match the format '@todo Fix problem X here.'                                                     
 102 | WARNING | [x] 'TODO: Handle the cases with analyzed and not analyzed.' should match the format '@todo Fix problem X here.'                    
 131 | WARNING | [x] 'TODO: Handle the keyword also for the text fields!' should match the format '@todo Fix problem X here.'                        
 135 | WARNING | [x] 'TODO: Handle the analyser and non_analyzed fields.' should match the format '@todo Fix problem X here.'                        
 136 | WARNING | [x] 'TODO: For analysed fields we need to do fulltext search.' should match the format '@todo Fix problem X here.'                  
 138 | ERROR   | [x] Object operator not indented correctly; expected 12 spaces but found 21                                                         
 140 | WARNING | [x] 'TODO: Handle autocomplete.' should match the format '@todo Fix problem X here.'                                                
 141 | ERROR   | [x] No space found before comment text; expected "// $filter_handler = 'elasticsearch_connector_views_handler_filter_string_autocomp
     |         |     'elasticsearch_connector_views_handler_filter_string_autocomplete';"                                                            
 141 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses                       
 160 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 163 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 167 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 170 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 173 | WARNING | [x] 'TODO: Handle the argument class.' should match the format '@todo Fix problem X here.'                                          
 174 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 29 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                          
-----------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/modules/elasticsearch_connector_views/src/Plugin/views/ElasticsearchViewsHand
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE                                                                                                        
-----------------------------------------------------------------------------------------------------------------------------------------------------
 46 | WARNING | [x] 'TODO: Implement.' should match the format '@todo Fix problem X here.'                                                           
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
-----------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/modules/elasticsearch_connector_views/src/Plugin/views/field/ElasticsearchVie
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE                                                                                                        
-----------------------------------------------------------------------------------------------------------------------------------------------------
 15 | WARNING | [x] 'TODO: Implement the MultiItemsFieldHandlerInterface interface.' should match the format '@todo Fix problem X here.'             
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
-----------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/modules/elasticsearch_connector_views/src/Plugin/views/field/ElasticsearchVie
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES                                                                                                                     
-----------------------------------------------------------------------------------------------------------------------------------------------------
 215 | ERROR | Missing parameter type                                                                                                                
 217 | ERROR | Missing parameter type                                                                                                                
 225 | ERROR | Public method name "ElasticsearchViewsEntity::render_item" is not in lowerCamel format                                                
-----------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/modules/elasticsearch_connector_views/src/Plugin/views/field/ElasticsearchVie
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 19 ERRORS AFFECTING 18 LINES                                                                                                                   
-----------------------------------------------------------------------------------------------------------------------------------------------------
  48 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 34                                                            
  49 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
  49 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
  59 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"                                                        
  84 | ERROR | [x] list(...) is forbidden, use [...] instead.                                                                                        
  85 | ERROR | [x] list(...) is forbidden, use [...] instead.                                                                                        
  97 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
  98 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
  99 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 108 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 117 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 120 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 121 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 122 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 131 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 151 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 170 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 199 | ERROR | [ ] Public method name "ElasticsearchViewsEntityField::render_item" is not in lowerCamel format                                       
 241 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 18 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                          
-----------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/modules/elasticsearch_connector_views/src/Plugin/views/field/ElasticsearchVie
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES                                                                                                       
-----------------------------------------------------------------------------------------------------------------------------------------------------
 29 | ERROR   | [ ] Public method name "ElasticsearchViewsFieldTrait::render_item" is not in lowerCamel format                                       
 43 | WARNING | [x] 'TODO: Implement in Elasticsearch way.' should match the format '@todo Fix problem X here.'                                      
 44 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                 
 56 | ERROR   | [ ] Type hint "array" missing for $items                                                                                             
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
-----------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/modules/elasticsearch_connector_views/src/Plugin/views/field/ElasticsearchVie
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES                                                                                                                     
-----------------------------------------------------------------------------------------------------------------------------------------------------
 19 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found                                                                                       
 20 | ERROR | [x] Expected 3 space(s) before asterisk; 2 found                                                                                       
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
-----------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/modules/elasticsearch_connector_views/src/Plugin/views/filter/ElasticsearchVi
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 26 ERRORS AND 1 WARNING AFFECTING 27 LINES                                                                                                     
-----------------------------------------------------------------------------------------------------------------------------------------------------
   8 | WARNING | [x] Unused use statement                                                                                                            
  20 | ERROR   | [ ] More than 2 empty lines are not allowed                                                                                         
  24 | ERROR   | [x] Expected 1 blank line before function; 3 found                                                                                  
  31 | ERROR   | [x] Expected 1 blank line after function; 3 found                                                                                   
  34 | ERROR   | [ ] More than 2 empty lines are not allowed                                                                                         
  43 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  55 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  57 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  70 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph                             
  72 | ERROR   | [ ] Description for the @return value must be on the next line                                                                      
  88 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
  93 | ERROR   | [x] Expected 1 space after FUNCTION keyword; 0 found                                                                                
  98 | ERROR   | [x] Expected 1 blank line after function; 2 found                                                                                   
 102 | ERROR   | [x] Doc comment short description must end with a full stop                                                                         
 126 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 141 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 142 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 150 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 163 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 197 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 208 | ERROR   | [x] Doc comment short description must end with a full stop                                                                         
 211 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 223 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 224 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 232 | ERROR   | [x] Expected 1 blank line after function; 3 found                                                                                   
 235 | ERROR   | [ ] More than 2 empty lines are not allowed                                                                                         
 236 | ERROR   | [x] The closing brace for the class must have an empty line before it                                                               
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 22 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                          
-----------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/modules/elasticsearch_connector_views/src/Plugin/views/filter/ElasticsearchVi
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 19 ERRORS AFFECTING 19 LINES                                                                                                                   
-----------------------------------------------------------------------------------------------------------------------------------------------------
  10 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph                               
  19 | ERROR | [x] Doc comment short description must end with a full stop                                                                           
  43 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
  58 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
  59 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
  67 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
  80 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 111 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 122 | ERROR | [x] Doc comment short description must end with a full stop                                                                           
 125 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 137 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 138 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 144 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 150 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 156 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 162 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 171 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 172 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 178 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 18 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                          
-----------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/modules/elasticsearch_connector_views/src/Plugin/views/query/ElasticsearchVie
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AND 10 WARNINGS AFFECTING 15 LINES                                                                                                    
-----------------------------------------------------------------------------------------------------------------------------------------------------
 225 | WARNING | [x] 'TODO: Read the documentation about this.' should match the format '@todo Fix problem X here.'                                  
 280 | ERROR   | [x] 4 spaces found before inline comment; expected "// foreach ($this->query->parseModes() as $key => $mode) {" but found "//    for
 280 | ERROR   | [x] Inline comments must start with a capital letter                                                                                
 281 | ERROR   | [ ] Comment indentation error, expected only 4 spaces                                                                               
 283 | WARNING | [ ] Line exceeds 80 characters; contains 94 characters                                                                              
 283 | ERROR   | [ ] Comment indentation error, expected only 6 spaces                                                                               
 285 | ERROR   | [ ] Comment indentation error, expected only 8 spaces                                                                               
 291 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses                       
 339 | WARNING | [x] 'TODO: This should be refactored to use filters where possible.' should match the format '@todo Fix problem X here.'            
 340 | WARNING | [x] 'TODO: The specific queries should be on filter handler level, not here.' should match the format '@todo Fix problem X here.'   
 446 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters                                                                              
 446 | WARNING | [x] 'TODO: Handle this by implementing the Multi-value interface in D8' should match the format '@todo Fix problem X here.'         
 523 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters                                                                              
 523 | ERROR   | [x] 4 spaces found before inline comment; expected "// $account = $this->getOption('elasticsearch_connector_views_access_account');"
     |         |     $this->getOption('elasticsearch_connector_views_access_account');"                                                              
 525 | ERROR   | [ ] Comment indentation error, expected only 4 spaces                                                                               
 544 | WARNING | [ ] Possible useless method overriding detected                                                                                     
 579 | WARNING | [x] 'TODO: Comment.' should match the format '@todo Fix problem X here.'                                                            
 592 | ERROR   | [ ] Type hint "null" missing for $field                                                                                             
 593 | WARNING | [x] 'TODO: Implement the addOrderBy method.' should match the format '@todo Fix problem X here.'                                    
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                          
-----------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/ClusterManager.php                                                       
---------------------------------------------------------------------------------------------------------------------                                
FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES                                                                                                       
---------------------------------------------------------------------------------------------------------------------                                
 10 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name                                 
 27 | ERROR   | [ ] Parameter $entity_type_manager is not described in comment                                                                       
 65 | ERROR   | [ ] Missing parameter comment                                                                                                        
 67 | ERROR   | [ ] Description for the @return value is missing                                                                                     
 78 | ERROR   | [x] Expected 1 blank line after function; 2 found                                                                                    
 81 | ERROR   | [x] The closing brace for the class must have an empty line before it                                                                
---------------------------------------------------------------------------------------------------------------------                                
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
---------------------------------------------------------------------------------------------------------------------                                
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Controller/ElasticsearchController.php                                   
---------------------------------------------------------------------------------------------------------------------------------                    
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES                                                                                                       
---------------------------------------------------------------------------------------------------------------------------------                    
  36 | ERROR   | [x] Space before opening parenthesis of function call prohibited                                                                    
  79 | WARNING | [x] 'TODO: Check if we need string escaping.' should match the format '@todo Fix problem X here.'                                   
  93 | WARNING | [x] 'TODO: Get the statistics differently.' should match the format '@todo Fix problem X here.'                                     
 109 | WARNING | [x] 'TODO: Better format the results in order to build the' should match the format '@todo Fix problem X here.'                     
---------------------------------------------------------------------------------------------------------------------------------                    
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
---------------------------------------------------------------------------------------------------------------------------------                    
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/ElasticSearch/ClientManager.php                                          
-----------------------------------------------------------------------------------------------------------------                                    
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE                                                                                                        
-----------------------------------------------------------------------------------------------------------------                                    
 11 | WARNING | The class short comment should describe what the class does and not simply repeat the class name                                     
-----------------------------------------------------------------------------------------------------------------                                    
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/ElasticSearch/ClientManagerInterface.php                                 
--------------------------------------------------------------------------------------------------------------------                                 
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE                                                                                                        
--------------------------------------------------------------------------------------------------------------------                                 
 6 | WARNING | [x] 'TODO: Cluster should be an interface!' should match the format '@todo Fix problem X here.'                                       
--------------------------------------------------------------------------------------------------------------------                                 
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
--------------------------------------------------------------------------------------------------------------------                                 
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/ElasticSearch/Parameters/Builder/SearchBuilder.php                       
-------------------------------------------------------------------------------------------------------------------------------------------          
FOUND 8 ERRORS AND 9 WARNINGS AFFECTING 16 LINES                                                                                                     
-------------------------------------------------------------------------------------------------------------------------------------------          
  26 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name                                
 104 | WARNING | [x] 'TODO: Handle fields on filter query.' should match the format '@todo Fix problem X here.'                                      
 113 | WARNING | [x] 'TODO: Fix the match_all query.' should match the format '@todo Fix problem X here.'                                            
 296 | ERROR   | [x] Use null coalesce operator instead of ternary operator.                                                                         
 369 | WARNING | [x] 'TODO: no silly exceptions...' should match the format '@todo Fix problem X here.'                                              
 406 | WARNING | [x] 'TODO: When using views the sort field is coming as a filter and' should match the format '@todo Fix problem X here.'           
 408 | WARNING | [ ] Line exceeds 80 characters; contains 91 characters                                                                              
 408 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses                       
 412 | ERROR   | [x] Space before opening parenthesis of function call prohibited                                                                    
 413 | WARNING | [x] 'TODO: proper exception.' should match the format '@todo Fix problem X here.'                                                   
 424 | WARNING | [x] 'TODO: proper exception.' should match the format '@todo Fix problem X here.'                                                   
 438 | ERROR   | [x] Expected 1 space(s) after cast statement; 0 found                                                                               
 583 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses                       
 595 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses                       
 600 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses                       
 605 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses                       
 609 | WARNING | [x] 'TODO: Make this settings configurable in the view.' should match the format '@todo Fix problem X here.'                        
-------------------------------------------------------------------------------------------------------------------------------------------          
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                          
-------------------------------------------------------------------------------------------------------------------------------------------          
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/ElasticSearch/Parameters/Factory/FilterFactory.php                       
------------------------------------------------------------------------------------------------------------------------------                       
FOUND 3 ERRORS AND 5 WARNINGS AFFECTING 7 LINES                                                                                                      
------------------------------------------------------------------------------------------------------------------------------                       
   9 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name                                
  15 | ERROR   | [ ] Missing parameter comment                                                                                                       
  15 | ERROR   | [x] Data types in @param tags need to be fully namespaced                                                                           
  17 | ERROR   | [ ] Description for the @return value is missing                                                                                    
  68 | WARNING | [x] A comma should follow the last multiline array item. Found: ]                                                                   
  78 | WARNING | [x] A comma should follow the last multiline array item. Found: ]                                                                   
 159 | WARNING | [x] A comma should follow the last multiline array item. Found: ]                                                                   
 160 | WARNING | [x] A comma should follow the last multiline array item. Found: ]                                                                   
------------------------------------------------------------------------------------------------------------------------------                       
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
------------------------------------------------------------------------------------------------------------------------------                       
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/ElasticSearch/Parameters/Factory/IndexFactory.php                        
---------------------------------------------------------------------------------------------------------------------------------                    
FOUND 23 ERRORS AND 3 WARNINGS AFFECTING 23 LINES                                                                                                    
---------------------------------------------------------------------------------------------------------------------------------                    
  21 | WARNING | [x] 'TODO: We need to handle the following params as well:' should match the format '@todo Fix problem X here.'                     
  46 | WARNING | [x] 'TODO: Add the timeout option.' should match the format '@todo Fix problem X here.'                                             
  46 | ERROR   | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph                             
  48 | ERROR   | [ ] Missing parameter comment                                                                                                       
  50 | ERROR   | [ ] Description for the @return value is missing                                                                                    
  52 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 3                                                                           
  53 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 5                                                                           
  54 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 5                                                                           
  54 | ERROR   | [x] Expected 1 space after "="; 2 found                                                                                             
  64 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 5                                                                           
  65 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 5                                                                           
  66 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 5                                                                           
  67 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 5                                                                           
  68 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 5                                                                           
  70 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 5                                                                           
  71 | ERROR   | [x] Line indented incorrectly; expected 2 spaces, found 3                                                                           
  76 | ERROR   | [ ] Missing parameter comment                                                                                                       
  77 | ERROR   | [ ] Missing parameter comment                                                                                                       
  79 | ERROR   | [ ] Description for the @return value is missing                                                                                    
 118 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                
 157 | WARNING | [x] 'TODO: We need also:' should match the format '@todo Fix problem X here.'                                                       
 187 | ERROR   | [x] Use null coalesce operator instead of ternary operator.                                                                         
 195 | ERROR   | [x] Line indented incorrectly; expected 4 spaces, found 5                                                                           
 195 | ERROR   | [x] Closing brace indented incorrectly; expected 4 spaces, found 5                                                                  
 248 | ERROR   | [x] Use null coalesce operator instead of ternary operator.                                                                         
 252 | ERROR   | [x] Use null coalesce operator instead of ternary operator.                                                                         
---------------------------------------------------------------------------------------------------------------------------------                    
PHPCBF CAN FIX THE 20 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                          
---------------------------------------------------------------------------------------------------------------------------------                    
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/ElasticSearch/Parameters/Factory/MappingFactory.php                      
-------------------------------------------------------------------------------------------------------------------------------                      
FOUND 2 ERRORS AND 4 WARNINGS AFFECTING 5 LINES                                                                                                      
-------------------------------------------------------------------------------------------------------------------------------                      
  6 | WARNING | [x] Unused use statement                                                                                                             
 11 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name                                 
 17 | ERROR   | [ ] Missing parameter comment                                                                                                        
 17 | ERROR   | [x] Data types in @param tags need to be fully namespaced                                                                            
 35 | WARNING | [x] A comma should follow the last multiline array item. Found: ]                                                                    
 36 | WARNING | [x] A comma should follow the last multiline array item. Found: ]                                                                    
-------------------------------------------------------------------------------------------------------------------------------                      
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
-------------------------------------------------------------------------------------------------------------------------------                      
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/ElasticSearch/Parameters/Factory/SearchFactory.php                       
------------------------------------------------------------------------------------------------------------------------------                       
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES                                                                                                      
------------------------------------------------------------------------------------------------------------------------------                       
  6 | WARNING | [x] Unused use statement                                                                                                             
 11 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name                                 
 32 | WARNING | [x] 'TODO: Add excerpt handling.' should match the format '@todo Fix problem X here.'                                                
------------------------------------------------------------------------------------------------------------------------------                       
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
------------------------------------------------------------------------------------------------------------------------------                       
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Entity/Cluster.php                                                       
----------------------------------------------------------------------------------------------                                                       
FOUND 4 ERRORS AFFECTING 4 LINES                                                                                                                     
----------------------------------------------------------------------------------------------                                                       
  98 | ERROR | [x] Use null coalesce operator instead of ternary operator.                                                                           
  99 | ERROR | [x] Expected 1 blank line after function; 2 found                                                                                     
 105 | ERROR | [ ] Description for the @return value is missing                                                                                      
 127 | ERROR | [ ] Description for the @return value is missing                                                                                      
----------------------------------------------------------------------------------------------                                                       
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
----------------------------------------------------------------------------------------------                                                       
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Entity/ClusterRouteProvider.php                                          
-------------------------------------------------------------------------------------------------------------------------------                      
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE                                                                                                        
-------------------------------------------------------------------------------------------------------------------------------                      
 21 | WARNING | [x] 'TODO: Permissions should be checked and implemented.' should match the format '@todo Fix problem X here.'                       
-------------------------------------------------------------------------------------------------------------------------------                      
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
-------------------------------------------------------------------------------------------------------------------------------                      
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Entity/Index.php                                                         
--------------------------------------------------------------------------------------------------------                                             
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES                                                                                                       
--------------------------------------------------------------------------------------------------------                                             
  7 | WARNING | [x] 'TODO: Check the list builder.' should match the format '@todo Fix problem X here.'                                              
 78 | ERROR   | [ ] Doc comment is empty                                                                                                             
 82 | ERROR   | [x] Use null coalesce operator instead of ternary operator.                                                                          
--------------------------------------------------------------------------------------------------------                                             
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
--------------------------------------------------------------------------------------------------------                                             
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Entity/IndexRouteProvider.php                                            
-------------------------------------------------------------------------------------------------------------------------------                      
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE                                                                                                        
-------------------------------------------------------------------------------------------------------------------------------                      
 21 | WARNING | [x] 'TODO: Permissions should be checked and implemented.' should match the format '@todo Fix problem X here.'                       
-------------------------------------------------------------------------------------------------------------------------------                      
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
-------------------------------------------------------------------------------------------------------------------------------                      
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Event/BuildIndexParamsEvent.php                                          
---------------------------------------------------------------------------------------------------------------------                                
FOUND 13 ERRORS AND 1 WARNING AFFECTING 11 LINES                                                                                                     
---------------------------------------------------------------------------------------------------------------------                                
  8 | ERROR   | [x] Doc comment short description must end with a full stop                                                                          
 11 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name                                 
 16 | ERROR   | [ ] Missing member variable doc comment                                                                                              
 17 | ERROR   | [ ] Missing member variable doc comment                                                                                              
 22 | ERROR   | [ ] Missing parameter comment                                                                                                        
 22 | ERROR   | [ ] Missing parameter type                                                                                                           
 23 | ERROR   | [ ] Missing parameter comment                                                                                                        
 23 | ERROR   | [ ] Missing parameter type                                                                                                           
 33 | ERROR   | [ ] Description for the @return value is missing                                                                                     
 42 | ERROR   | [ ] Missing parameter comment                                                                                                        
 42 | ERROR   | [ ] Missing parameter type                                                                                                           
 51 | ERROR   | [ ] Description for the @return value is missing                                                                                     
 55 | ERROR   | [x] Expected 1 blank line after function; 0 found                                                                                    
 56 | ERROR   | [x] The closing brace for the class must have an empty line before it                                                                
---------------------------------------------------------------------------------------------------------------------                                
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
---------------------------------------------------------------------------------------------------------------------                                
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Event/BuildSearchParamsEvent.php                                         
---------------------------------------------------------------------------------------------------------------------                                
FOUND 13 ERRORS AND 1 WARNING AFFECTING 11 LINES                                                                                                     
---------------------------------------------------------------------------------------------------------------------                                
  8 | ERROR   | [x] Doc comment short description must end with a full stop                                                                          
 11 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name                                 
 16 | ERROR   | [ ] Missing member variable doc comment                                                                                              
 17 | ERROR   | [ ] Missing member variable doc comment                                                                                              
 22 | ERROR   | [ ] Missing parameter comment                                                                                                        
 22 | ERROR   | [ ] Missing parameter type                                                                                                           
 23 | ERROR   | [ ] Missing parameter comment                                                                                                        
 23 | ERROR   | [ ] Missing parameter type                                                                                                           
 33 | ERROR   | [ ] Description for the @return value is missing                                                                                     
 42 | ERROR   | [ ] Missing parameter comment                                                                                                        
 42 | ERROR   | [ ] Missing parameter type                                                                                                           
 51 | ERROR   | [ ] Description for the @return value is missing                                                                                     
 55 | ERROR   | [x] Expected 1 blank line after function; 0 found                                                                                    
 56 | ERROR   | [x] The closing brace for the class must have an empty line before it                                                                
---------------------------------------------------------------------------------------------------------------------                                
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
---------------------------------------------------------------------------------------------------------------------                                
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Event/PrepareIndexEvent.php                                              
---------------------------------------------------------------------------------------------------------------------                                
FOUND 13 ERRORS AND 1 WARNING AFFECTING 11 LINES                                                                                                     
---------------------------------------------------------------------------------------------------------------------                                
  8 | ERROR   | [x] Doc comment short description must end with a full stop                                                                          
 11 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name                                 
 16 | ERROR   | [ ] Missing member variable doc comment                                                                                              
 17 | ERROR   | [ ] Missing member variable doc comment                                                                                              
 22 | ERROR   | [ ] Missing parameter comment                                                                                                        
 22 | ERROR   | [ ] Missing parameter type                                                                                                           
 23 | ERROR   | [ ] Missing parameter comment                                                                                                        
 23 | ERROR   | [ ] Missing parameter type                                                                                                           
 33 | ERROR   | [ ] Description for the @return value is missing                                                                                     
 42 | ERROR   | [ ] Missing parameter comment                                                                                                        
 42 | ERROR   | [ ] Missing parameter type                                                                                                           
 51 | ERROR   | [ ] Description for the @return value is missing                                                                                     
 55 | ERROR   | [x] Expected 1 blank line after function; 0 found                                                                                    
 56 | ERROR   | [x] The closing brace for the class must have an empty line before it                                                                
---------------------------------------------------------------------------------------------------------------------                                
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
---------------------------------------------------------------------------------------------------------------------                                
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Event/PrepareIndexMappingEvent.php                                       
---------------------------------------------------------------------------------------------------------------------                                
FOUND 13 ERRORS AND 1 WARNING AFFECTING 11 LINES                                                                                                     
---------------------------------------------------------------------------------------------------------------------                                
  8 | ERROR   | [x] Doc comment short description must end with a full stop                                                                          
 11 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name                                 
 16 | ERROR   | [ ] Missing member variable doc comment                                                                                              
 17 | ERROR   | [ ] Missing member variable doc comment                                                                                              
 22 | ERROR   | [ ] Missing parameter comment                                                                                                        
 22 | ERROR   | [ ] Missing parameter type                                                                                                           
 23 | ERROR   | [ ] Missing parameter comment                                                                                                        
 23 | ERROR   | [ ] Missing parameter type                                                                                                           
 33 | ERROR   | [ ] Description for the @return value is missing                                                                                     
 42 | ERROR   | [ ] Missing parameter comment                                                                                                        
 42 | ERROR   | [ ] Missing parameter type                                                                                                           
 51 | ERROR   | [ ] Description for the @return value is missing                                                                                     
 55 | ERROR   | [x] Expected 1 blank line after function; 0 found                                                                                    
 56 | ERROR   | [x] The closing brace for the class must have an empty line before it                                                                
---------------------------------------------------------------------------------------------------------------------                                
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
---------------------------------------------------------------------------------------------------------------------                                
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Event/PrepareMappingEvent.php                                            
---------------------------------------------------------------------------------------------------------------------                                
FOUND 16 ERRORS AND 1 WARNING AFFECTING 12 LINES                                                                                                     
---------------------------------------------------------------------------------------------------------------------                                
  8 | ERROR   | [x] Doc comment short description must end with a full stop                                                                          
 11 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name                                 
 16 | ERROR   | [ ] Missing member variable doc comment                                                                                              
 17 | ERROR   | [ ] Missing member variable doc comment                                                                                              
 18 | ERROR   | [ ] Missing member variable doc comment                                                                                              
 23 | ERROR   | [ ] Missing parameter comment                                                                                                        
 23 | ERROR   | [ ] Missing parameter type                                                                                                           
 24 | ERROR   | [ ] Missing parameter comment                                                                                                        
 24 | ERROR   | [ ] Missing parameter type                                                                                                           
 25 | ERROR   | [ ] Missing parameter comment                                                                                                        
 25 | ERROR   | [ ] Missing parameter type                                                                                                           
 36 | ERROR   | [ ] Description for the @return value is missing                                                                                     
 45 | ERROR   | [ ] Missing parameter comment                                                                                                        
 45 | ERROR   | [ ] Missing parameter type                                                                                                           
 54 | ERROR   | [x] Expected "mixed" but found "type" for function return type                                                                       
 54 | ERROR   | [ ] Description for the @return value is missing                                                                                     
 63 | ERROR   | [ ] Description for the @return value is missing                                                                                     
---------------------------------------------------------------------------------------------------------------------                                
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
---------------------------------------------------------------------------------------------------------------------                                
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Event/PrepareSearchQueryEvent.php                                        
---------------------------------------------------------------------------------------------------------------------                                
FOUND 13 ERRORS AND 1 WARNING AFFECTING 11 LINES                                                                                                     
---------------------------------------------------------------------------------------------------------------------                                
  8 | ERROR   | [x] Doc comment short description must end with a full stop                                                                          
 11 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name                                 
 16 | ERROR   | [ ] Missing member variable doc comment                                                                                              
 17 | ERROR   | [ ] Missing member variable doc comment                                                                                              
 22 | ERROR   | [ ] Missing parameter comment                                                                                                        
 22 | ERROR   | [ ] Missing parameter type                                                                                                           
 23 | ERROR   | [ ] Missing parameter comment                                                                                                        
 23 | ERROR   | [ ] Missing parameter type                                                                                                           
 33 | ERROR   | [ ] Description for the @return value is missing                                                                                     
 42 | ERROR   | [ ] Missing parameter comment                                                                                                        
 42 | ERROR   | [ ] Missing parameter type                                                                                                           
 51 | ERROR   | [ ] Description for the @return value is missing                                                                                     
 55 | ERROR   | [x] Expected 1 blank line after function; 0 found                                                                                    
 56 | ERROR   | [x] The closing brace for the class must have an empty line before it                                                                
---------------------------------------------------------------------------------------------------------------------                                
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
---------------------------------------------------------------------------------------------------------------------                                
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Exception/ElasticSearchConnectorException.php                            
-------------------------------------------------------------------------------------------------------------------------                            
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE                                                                                                        
-------------------------------------------------------------------------------------------------------------------------                            
 9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name                                      
-------------------------------------------------------------------------------------------------------------------------                            
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Form/ClusterDeleteForm.php                                               
-------------------------------------------------------------------------------------------------------------------------------------                
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE                                                                                                        
-------------------------------------------------------------------------------------------------------------------------------------                
 105 | WARNING | [x] 'TODO: handle indices linked to the cluster being deleted.' should match the format '@todo Fix problem X here.'                 
-------------------------------------------------------------------------------------------------------------------------------------                
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
-------------------------------------------------------------------------------------------------------------------------------------                
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Form/ClusterForm.php                                                     
--------------------------------------------------------------------------------------------------------------------------------------               
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES                                                                                                        
--------------------------------------------------------------------------------------------------------------------------------------               
 166 | ERROR   | [x] Use null coalesce operator instead of ternary operator.                                                                         
 292 | WARNING | [x] 'TODO: Check for valid URL when we are submitting the form.' should match the format '@todo Fix problem X here.'                
--------------------------------------------------------------------------------------------------------------------------------------               
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
--------------------------------------------------------------------------------------------------------------------------------------               
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Form/IndexForm.php                                                       
-----------------------------------------------------------------------------------------------------------------------------------------------      
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES                                                                                                      
-----------------------------------------------------------------------------------------------------------------------------------------------      
   5 | WARNING | [x] Unused use statement                                                                                                            
   6 | WARNING | [x] Unused use statement                                                                                                            
 198 | WARNING | [x] 'TODO: Provide check and support for other index modules settings.' should match the format '@todo Fix problem X here.'         
 199 | WARNING | [x] 'TODO: Provide support for the rest of the dynamic settings.' should match the format '@todo Fix problem X here.'               
 200 | WARNING | [x] 'TODO: Make sure that on edit the static settings cannot be changed.' should match the format '@todo Fix problem X here.'       
-----------------------------------------------------------------------------------------------------------------------------------------------      
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
-----------------------------------------------------------------------------------------------------------------------------------------------      
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Plugin/search_api/backend/SearchApiElasticsearchBackend.php              
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 13 WARNINGS AFFECTING 14 LINES                                                                                                    
-----------------------------------------------------------------------------------------------------------------------------------------------------
   22 | WARNING | [x] Unused use statement                                                                                                           
   36 | WARNING | [x] 'TODO: Check for dependencies and remove them in order to properly test the' should match the format '@todo Fix problem X here.
  314 | WARNING | [x] 'TODO: implement 'search_api_multi',' should match the format '@todo Fix problem X here.'                                      
  315 | WARNING | [x] 'TODO: implement 'search_api_service_extra',' should match the format '@todo Fix problem X here.'                              
  316 | WARNING | [x] 'TODO: implement 'search_api_spellcheck',' should match the format '@todo Fix problem X here.'                                 
  317 | WARNING | [x] 'TODO: implement 'search_api_data_type_location',' should match the format '@todo Fix problem X here.'                         
  318 | WARNING | [x] 'TODO: implement 'search_api_data_type_geohash',' should match the format '@todo Fix problem X here.'                          
  648 | WARNING | [ ] Line exceeds 80 characters; contains 114 characters                                                                            
  648 | ERROR   | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses                      
  893 | WARNING | [x] 'TODO: missing function reference.' should match the format '@todo Fix problem X here.'                                        
  896 | WARNING | [x] 'TODO: handle different types (GeoDistance and so on). See the' should match the format '@todo Fix problem X here.'            
  939 | WARNING | [x] 'TODO: distinguish between normal filters and facet filters.' should match the format '@todo Fix problem X here.'              
 1001 | WARNING | [x] 'TODO: Check the timezone cause this hardcoded way doesn't seem right.' should match the format '@todo Fix problem X here.'    
 1074 | ERROR   | [ ] Missing parameter type                                                                                                         
 1141 | WARNING | [x] 'TODO: handle different types (GeoDistance and so on).' should match the format '@todo Fix problem X here.'                    
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                          
-----------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Plugin/search_api/backend/SearchApiElasticsearchBackendInterface.php     
------------------------------------------------------------------------------------------------------------------------------------------------     
FOUND 1 ERROR AFFECTING 1 LINE                                                                                                                       
------------------------------------------------------------------------------------------------------------------------------------------------     
 7 | ERROR | [x] Missing interface doc comment                                                                                                       
------------------------------------------------------------------------------------------------------------------------------------------------     
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
------------------------------------------------------------------------------------------------------------------------------------------------     
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/src/Plugin/search_api/processor/ExcludeSourceFields.php                      
-------------------------------------------------------------------------------------------------------------------------------                      
FOUND 10 ERRORS AND 1 WARNING AFFECTING 9 LINES                                                                                                      
-------------------------------------------------------------------------------------------------------------------------------                      
  1 | ERROR   | [x] The PHP open tag must be followed by exactly one blank line                                                                      
  2 | ERROR   | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment                                               
  2 | ERROR   | [ ] Missing short description in doc comment                                                                                         
 11 | WARNING | [x] Unused use statement                                                                                                             
 17 | ERROR   | [ ] Missing short description in doc comment                                                                                         
 31 | ERROR   | [x] Missing function doc comment                                                                                                     
 44 | ERROR   | [x] Short array syntax must be used to define arrays                                                                                 
 54 | ERROR   | [x] Missing function doc comment                                                                                                     
 63 | ERROR   | [x] Missing function doc comment                                                                                                     
 67 | ERROR   | [x] Expected 1 newline at end of file; 0 found                                                                                       
 67 | ERROR   | [x] The closing brace for the class must have an empty line before it                                                                
-------------------------------------------------------------------------------------------------------------------------------                      
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
-------------------------------------------------------------------------------------------------------------------------------                      
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/tests/modules/elasticsearch_test/elasticsearch_test.info.yml                 
------------------------------------------------------------------------------------------------------------------------------------                 
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 1 LINE                                                                                                       
------------------------------------------------------------------------------------------------------------------------------------                 
 1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically                                           
 1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically                                         
 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically                                           
------------------------------------------------------------------------------------------------------------------------------------                 
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/tests/src/Kernel/ClusterSchemaTest.php                                       
--------------------------------------------------------------------------------------------------------------                                       
FOUND 2 ERRORS AFFECTING 2 LINES                                                                                                                     
--------------------------------------------------------------------------------------------------------------                                       
 67 | ERROR | [x] Expected 1 blank line after function; 0 found                                                                                      
 68 | ERROR | [x] The closing brace for the class must have an empty line before it                                                                  
--------------------------------------------------------------------------------------------------------------                                       
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
--------------------------------------------------------------------------------------------------------------                                       
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/tests/src/Kernel/ElasticsearchTest.php                                       
------------------------------------------------------------------------------------------------------------------------------------------           
FOUND 77 ERRORS AFFECTING 72 LINES                                                                                                                   
------------------------------------------------------------------------------------------------------------------------------------------           
  34 | ERROR | [ ] Missing member variable doc comment                                                                                               
  41 | ERROR | [ ] The array declaration extends to column 81 (the limit is 80). The array content should be split up over multiple lines            
  41 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
  47 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
  60 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 111 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 26                                                            
 118 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 127 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 134 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 26                                                            
 143 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 150 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 151 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 26                                                            
 157 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 166 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 168 | ERROR | [ ] No key specified for array entry; first entry specifies key                                                                       
 169 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 171 | ERROR | [ ] No key specified for array entry; first entry specifies key                                                                       
 174 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 177 | ERROR | [ ] No key specified for array entry; first entry specifies key                                                                       
 185 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 223 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 26                                                            
 232 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 252 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 273 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 297 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 323 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 331 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 333 | ERROR | [ ] No key specified for array entry; first entry specifies key                                                                       
 336 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 336 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 345 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 353 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 353 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 364 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 366 | ERROR | [ ] No key specified for array entry; first entry specifies key                                                                       
 368 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 370 | ERROR | [ ] No key specified for array entry; first entry specifies key                                                                       
 374 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 374 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 383 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 390 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 392 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 394 | ERROR | [ ] No key specified for array entry; first entry specifies key                                                                       
 397 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 399 | ERROR | [ ] No key specified for array entry; first entry specifies key                                                                       
 404 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 404 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 417 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 425 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 428 | ERROR | [ ] No key specified for array entry; first entry specifies key                                                                       
 432 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 20                                                            
 437 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 446 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 449 | ERROR | [ ] No key specified for array entry; first entry specifies key                                                                       
 454 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 458 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 460 | ERROR | [ ] No key specified for array entry; first entry specifies key                                                                       
 461 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 464 | ERROR | [ ] No key specified for array entry; first entry specifies key                                                                       
 469 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 20                                                            
 474 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 491 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 499 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 511 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 57                                                            
 517 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 11                                                            
 518 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 520 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 11                                                            
 521 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 524 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 10                                                            
 526 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 528 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 532 | ERROR | [x] Object operator not indented correctly; expected 10 spaces but found 6                                                            
 536 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 540 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 544 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 548 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
 575 | ERROR | [x] Short array syntax must be used to define arrays                                                                                  
------------------------------------------------------------------------------------------------------------------------------------------           
PHPCBF CAN FIX THE 63 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                          
------------------------------------------------------------------------------------------------------------------------------------------           
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/tests/src/Unit/ClusterManagerTest.php                                        
-------------------------------------------------------------------------------------------------------------                                        
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES                                                                                                       
-------------------------------------------------------------------------------------------------------------                                        
 10 | WARNING | [x] Unused use statement                                                                                                             
 22 | ERROR   | [x] Doc comment short description must end with a full stop                                                                          
 86 | ERROR   | [x] Array closing indentation error, expected 6 spaces but found 8                                                                   
-------------------------------------------------------------------------------------------------------------                                        
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
-------------------------------------------------------------------------------------------------------------                                        
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/tests/src/Unit/ElasticSearch/ClientManagerTest.php                           
--------------------------------------------------------------------------------------------------------------------------                           
FOUND 1 ERROR AFFECTING 1 LINE                                                                                                                       
--------------------------------------------------------------------------------------------------------------------------                           
 23 | ERROR | [x] Doc comment short description must end with a full stop                                                                            
--------------------------------------------------------------------------------------------------------------------------                           
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
--------------------------------------------------------------------------------------------------------------------------                           
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/tests/src/Unit/ElasticSearch/Parameters/Builder/SearchBuilderTest.php        
---------------------------------------------------------------------------------------------------------------------------------------------        
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES                                                                                                       
---------------------------------------------------------------------------------------------------------------------------------------------        
 51 | WARNING | [x] 'TODO Can't test because IndexFactory is hardcoded' should match the format '@todo Fix problem X here.'                          
 53 | ERROR   | [x] Expected 1 blank line after function; 0 found                                                                                    
 54 | ERROR   | [x] The closing brace for the class must have an empty line before it                                                                
---------------------------------------------------------------------------------------------------------------------------------------------        
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
---------------------------------------------------------------------------------------------------------------------------------------------        
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/tests/src/Unit/ElasticSearch/Parameters/Factory/FilterFactoryTest.php        
---------------------------------------------------------------------------------------------------------------------------------------------        
FOUND 1 ERROR AFFECTING 1 LINE                                                                                                                       
---------------------------------------------------------------------------------------------------------------------------------------------        
 26 | ERROR | [x] Expected 1 blank line before function; 0 found                                                                                     
---------------------------------------------------------------------------------------------------------------------------------------------        
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
---------------------------------------------------------------------------------------------------------------------------------------------        
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/tests/src/Unit/ElasticSearch/Parameters/Factory/IndexFactoryTest.php         
--------------------------------------------------------------------------------------------------------------------------------------------         
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES                                                                                                      
--------------------------------------------------------------------------------------------------------------------------------------------         
  6 | WARNING | [x] Unused use statement                                                                                                             
 15 | WARNING | [x] 'TODO All the methods contain static statements or hardcoded' should match the format '@todo Fix problem X here.'                
 16 | WARNING | [x] There must be no blank line following an inline comment                                                                          
--------------------------------------------------------------------------------------------------------------------------------------------         
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
--------------------------------------------------------------------------------------------------------------------------------------------         
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/tests/src/Unit/ElasticSearch/Parameters/Factory/MappingFactoryTest.php       
----------------------------------------------------------------------------------------------------------------------------------------------       
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES                                                                                                       
----------------------------------------------------------------------------------------------------------------------------------------------       
 21 | ERROR   | [x] Expected 1 blank line before function; 0 found                                                                                   
 36 | WARNING | [x] A comma should follow the last multiline array item. Found: ]                                                                    
 37 | WARNING | [x] A comma should follow the last multiline array item. Found: ]                                                                    
----------------------------------------------------------------------------------------------------------------------------------------------       
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
----------------------------------------------------------------------------------------------------------------------------------------------       
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/tests/src/Unit/Entity/ClusterRouteProviderTest.php                           
--------------------------------------------------------------------------------------------------------------------------                           
FOUND 1 ERROR AFFECTING 1 LINE                                                                                                                       
--------------------------------------------------------------------------------------------------------------------------                           
 21 | ERROR | [x] Expected 1 blank line before function; 0 found                                                                                     
--------------------------------------------------------------------------------------------------------------------------                           
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
--------------------------------------------------------------------------------------------------------------------------                           
                                                                                                                                                     
                                                                                                                                                     
FILE: /web/modules/contrib/elasticsearch_connector/tests/src/Unit/Entity/IndexRouteProviderTest.php                             
------------------------------------------------------------------------------------------------------------------------                             
FOUND 1 ERROR AFFECTING 1 LINE                                                                                                                       
------------------------------------------------------------------------------------------------------------------------                             
 21 | ERROR | [x] Expected 1 blank line before function; 0 found                                                                                     
------------------------------------------------------------------------------------------------------------------------                             
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY                                                                                           
📌 Task
Status

Closed: won't fix

Version

1.0

Component

Documentation

Created by

🇮🇳India aman_lnwebworks

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024