Getting following error/warnings
FILE: /app/modules/contrib/entity_block/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
4 | WARNING | Line exceeds 80 characters; contains 134 characters
----------------------------------------------------------------------
FILE: /app/modules/contrib/entity_block/src/Plugin/Block/EntityBlock.php
-----------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------------------
68 | ERROR | [ ] Class property $view_mode_options should use lowerCamel naming without underscores
211 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 0
211 | ERROR | [x] 8 spaces found before inline comment; expected "// return [];" but found "// return [];"
211 | ERROR | [x] Inline comments must start with a capital letter
211 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
-----------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------
FILE: /app/modules/contrib/entity_block/src/Plugin/Derivative/EntityBlock.php
----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------
83 | WARNING | [x] 'TODO: Add proper config dependencies.' should match the format '@todo Fix problem X here.'
----------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------
FILE: /app/modules/contrib/entity_block/tests/src/Kernel/EntityBlockTest.php
----------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------
30 | ERROR | [x] Missing function doc comment
54 | ERROR | [x] Missing function doc comment
----------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------
Time: 9.87 secs; Memory: 10MB
Run following command
phpcs --standard="Drupal,DrupalPractice" --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml modules/contrib/entity_block/
Above error/warnings need to be fixed
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.