- Issue created by @LupusGr3y
- 🇮🇳India vishal.kadam Mumbai
Thank you for applying!
Please read Review process for security advisory coverage: What to expect → for more details and Security advisory coverage application checklist → to understand what reviewers look for. Tips for ensuring a smooth review → gives some hints for a smoother review.
The important notes are the following.
- If you have not done it yet, you should run
phpcs --standard=Drupal,DrupalPractice
on the project, which alone fixes most of what reviewers would report. - For the time this application is open, only your commits are allowed.
- The purpose of this application is giving you a new drupal.org role that allows you to opt projects into security advisory coverage, either projects you already created, or projects you will create. The project status won't be changed by this application and no other user will be able to opt projects into security advisory policy.
- We only accept an application per user. If you change your mind about the project to use for this application, or it is necessary to use a different project for the application, please update the issue summary with the link to the correct project and the issue title with the project name and the branch to review.
To the reviewers
Please read How to review security advisory coverage applications → , Application workflow → , What to cover in an application review → , and Tools to use for reviews → .
The important notes are the following.
- It is preferable to wait for a Code Review Administrator before commenting on newly created applications. Code Review Administrators will do some preliminary checks that are necessary before any change on the project files is suggested.
- Reviewers should show the output of a CLI tool → only once per application.
- It may be best to have the applicant fix things before further review.
For new reviewers, I would also suggest to first read In which way the issue queue for coverage applications is different from other project queues → .
- If you have not done it yet, you should run
- Status changed to Needs work
over 1 year ago 2:35pm 7 September 2023 - 🇮🇳India vishal.kadam Mumbai
Fix phpcs issues.
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml transform_api/ FILE: transform_api/modules/transform_api_comment/transform_api_comment.module ------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------- 1 | ERROR | [x] Missing file doc comment ------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------- FILE: transform_api/modules/transform_api_comment/src/Plugin/Transform/Field/CommentDefaultTransform.php ----------------------------------------------------------------------- FOUND 4 ERRORS AND 4 WARNINGS AFFECTING 8 LINES ----------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement 7 | WARNING | [x] Unused use statement 23 | ERROR | [ ] Missing short description in doc comment 39 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 40 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6 78 | ERROR | [ ] Missing short description in doc comment 200 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 257 | WARNING | [ ] Line exceeds 80 characters; contains 88 characters ----------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------- FILE: transform_api/modules/transform_api_comment/src/Controller/CommentTransformController.php ----------------------------------------------------------------------------- FOUND 10 ERRORS AND 3 WARNINGS AFFECTING 12 LINES ----------------------------------------------------------------------------- 13 | ERROR | [x] Missing class doc comment 15 | ERROR | [ ] Missing short description in doc comment 15 | ERROR | [ ] Parameter $request is not described in comment 16 | ERROR | [ ] Missing parameter comment 17 | ERROR | [ ] Missing parameter comment 18 | ERROR | [ ] Missing parameter comment 19 | ERROR | [ ] Missing parameter comment 21 | ERROR | [ ] Description for the @return value is missing 24 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 37 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 47 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters 81 | ERROR | [x] Expected newline after closing brace 85 | ERROR | [x] Expected newline after closing brace ----------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------- FILE: transform_api/modules/transform_api_redirect/src/EventSubscriber/RedirectResponseSubscriber.php -------------------------------------------------------------------- FOUND 4 ERRORS AND 2 WARNINGS AFFECTING 5 LINES -------------------------------------------------------------------- 26 | ERROR | [x] Data types in @var tags need to be fully namespaced 32 | ERROR | [x] Array indentation error, expected 10 spaces but found 12 33 | ERROR | [x] Array indentation error, expected 10 spaces but found 12 33 | ERROR | [x] Closing parenthesis of array declaration must be on a new line 34 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 38 | WARNING | [x] A comma should follow the last multiline array item. Found: ) -------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/transform_api.module ------------------------------------------------------------------------ FOUND 2 ERRORS AFFECTING 2 LINES ------------------------------------------------------------------------ 1 | ERROR | [x] Missing file doc comment 73 | ERROR | [x] Expected 1 newline at end of file; 2 found ------------------------------------------------------------------------ PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------ FILE: transform_api/transform_api.install ------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------- 1 | ERROR | [x] Missing file doc comment ------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------- FILE: transform_api/README.md ---------------------------------------------------------------------- FOUND 0 ERRORS AND 40 WARNINGS AFFECTING 40 LINES ---------------------------------------------------------------------- 3 | WARNING | Line exceeds 80 characters; contains 186 characters 6 | WARNING | Line exceeds 80 characters; contains 357 characters 12 | WARNING | Line exceeds 80 characters; contains 102 characters 15 | WARNING | Line exceeds 80 characters; contains 126 characters 24 | WARNING | Line exceeds 80 characters; contains 197 characters 27 | WARNING | Line exceeds 80 characters; contains 178 characters 29 | WARNING | Line exceeds 80 characters; contains 98 characters 31 | WARNING | Line exceeds 80 characters; contains 279 characters 38 | WARNING | Line exceeds 80 characters; contains 147 characters 43 | WARNING | Line exceeds 80 characters; contains 123 characters 45 | WARNING | Line exceeds 80 characters; contains 178 characters 52 | WARNING | Line exceeds 80 characters; contains 240 characters 58 | WARNING | Line exceeds 80 characters; contains 123 characters 63 | WARNING | Line exceeds 80 characters; contains 199 characters 69 | WARNING | Line exceeds 80 characters; contains 200 characters 96 | WARNING | Line exceeds 80 characters; contains 216 characters 98 | WARNING | Line exceeds 80 characters; contains 102 characters 101 | WARNING | Line exceeds 80 characters; contains 119 characters 104 | WARNING | Line exceeds 80 characters; contains 84 characters 107 | WARNING | Line exceeds 80 characters; contains 110 characters 110 | WARNING | Line exceeds 80 characters; contains 218 characters 113 | WARNING | Line exceeds 80 characters; contains 160 characters 114 | WARNING | Line exceeds 80 characters; contains 99 characters 117 | WARNING | Line exceeds 80 characters; contains 89 characters 120 | WARNING | Line exceeds 80 characters; contains 126 characters 123 | WARNING | Line exceeds 80 characters; contains 126 characters 130 | WARNING | Line exceeds 80 characters; contains 105 characters 132 | WARNING | Line exceeds 80 characters; contains 105 characters 140 | WARNING | Line exceeds 80 characters; contains 150 characters 143 | WARNING | Line exceeds 80 characters; contains 89 characters 151 | WARNING | Line exceeds 80 characters; contains 208 characters 154 | WARNING | Line exceeds 80 characters; contains 258 characters 156 | WARNING | Line exceeds 80 characters; contains 167 characters 158 | WARNING | Line exceeds 80 characters; contains 237 characters 160 | WARNING | Line exceeds 80 characters; contains 165 characters 162 | WARNING | Line exceeds 80 characters; contains 140 characters 165 | WARNING | Line exceeds 80 characters; contains 111 characters 167 | WARNING | Line exceeds 80 characters; contains 189 characters 169 | WARNING | Line exceeds 80 characters; contains 326 characters 172 | WARNING | Line exceeds 80 characters; contains 156 characters ---------------------------------------------------------------------- FILE: transform_api/src/TransformBlockBase.php -------------------------------------------------------------------- FOUND 4 ERRORS AND 1 WARNING AFFECTING 5 LINES -------------------------------------------------------------------- 9 | WARNING | [x] Unused use statement 21 | ERROR | [x] Missing class doc comment 252 | ERROR | [ ] Description for the @return value is missing 269 | ERROR | [x] Expected 1 blank line after function; 2 found 272 | ERROR | [x] The closing brace for the class must have an empty line before it -------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/FieldFormatterWrapper.php -------------------------------------------------------------------- FOUND 6 ERRORS AFFECTING 6 LINES -------------------------------------------------------------------- 7 | ERROR | [x] Missing trait doc comment 9 | ERROR | [ ] Missing member variable doc comment 11 | ERROR | [x] Missing function doc comment 15 | ERROR | [x] Missing function doc comment 21 | ERROR | [x] Missing function doc comment 31 | ERROR | [x] Missing function doc comment -------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/FieldTransformBase.php -------------------------------------------------------------------- FOUND 8 ERRORS AND 5 WARNINGS AFFECTING 12 LINES -------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 11 | WARNING | [x] Unused use statement 12 | WARNING | [x] Unused use statement 13 | WARNING | [x] Unused use statement 16 | ERROR | [x] Missing class doc comment 84 | ERROR | [x] There should be no white space after an opening "{" 84 | ERROR | [x] There should be no white space before a closing "}" 111 | ERROR | [x] Expected newline after closing brace 115 | ERROR | [x] Expected newline after closing brace 118 | WARNING | [x] A comma should follow the last multiline array item. Found: NULL 175 | ERROR | [x] Expected 1 blank line after function; 2 found 184 | ERROR | [x] Expected 1 blank line after function; 0 found 185 | ERROR | [x] The closing brace for the class must have an empty line before it -------------------------------------------------------------------- PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/OEmbedTransform.php ------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ------------------------------------------------------------------- 144 | ERROR | [x] Missing function doc comment 149 | WARNING | [ ] Unused variable $delta. ------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/ValueTransform.php ------------------------------------------------------------------------------ FOUND 3 ERRORS AND 4 WARNINGS AFFECTING 7 LINES ------------------------------------------------------------------------------ 5 | WARNING | [x] Unused use statement 7 | WARNING | [x] Unused use statement 9 | WARNING | [x] Unused use statement 11 | ERROR | [ ] Missing short description in doc comment 28 | ERROR | [x] Missing function doc comment 30 | ERROR | [x] Data types in @var tags need to be fully namespaced 31 | WARNING | [ ] Unused variable $delta. ------------------------------------------------------------------------------ PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------ FILE: transform_api/src/Plugin/Transform/Field/TextFormatTransform.php ----------------------------------------------------------------------- FOUND 5 ERRORS AND 2 WARNINGS AFFECTING 7 LINES ----------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement 12 | ERROR | [ ] Missing short description in doc comment 25 | ERROR | [ ] Missing short description in doc comment 30 | ERROR | [x] Missing function doc comment 51 | ERROR | [x] Missing function doc comment 53 | ERROR | [x] Data types in @var tags need to be fully namespaced 54 | WARNING | [ ] Unused variable $delta. ----------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/AddressDawaTransform.php ------------------------------------------------------------------------ FOUND 3 ERRORS AND 3 WARNINGS AFFECTING 6 LINES ------------------------------------------------------------------------ 5 | WARNING | [x] Unused use statement 8 | WARNING | [x] Unused use statement 10 | ERROR | [ ] Missing short description in doc comment 21 | ERROR | [x] Missing function doc comment 23 | ERROR | [x] Data types in @var tags need to be fully namespaced 24 | WARNING | [ ] Unused variable $delta. ------------------------------------------------------------------------ PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------ FILE: transform_api/src/Plugin/Transform/Field/DateTimeSimpleTransform.php ---------------------------------------------------------------------------- FOUND 5 ERRORS AND 5 WARNINGS AFFECTING 10 LINES ---------------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement 10 | ERROR | [ ] Missing short description in doc comment 26 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 27 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6 55 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 56 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 71 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 82 | WARNING | [ ] Unused variable $delta. 91 | ERROR | [x] Expected 1 blank line after function; 0 found 92 | ERROR | [x] The closing brace for the class must have an empty line before it ---------------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/ImageTransform.php ---------------------------------------------------------------------------- FOUND 6 ERRORS AND 3 WARNINGS AFFECTING 9 LINES ---------------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 10 | ERROR | [ ] Missing short description in doc comment 19 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 21 | ERROR | [x] Missing function doc comment 23 | ERROR | [x] Data types in @var tags need to be fully namespaced 24 | WARNING | [ ] Unused variable $delta. 32 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 42 | WARNING | [x] A comma should follow the last multiline array item. Found: '' 44 | ERROR | [x] Expected newline after closing brace ---------------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/HiddenTransform.php ------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES ------------------------------------------------------------------- 8 | ERROR | [ ] Missing short description in doc comment 18 | ERROR | [x] Missing function doc comment ------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/DateTimeTransformBase.php ------------------------------------------------------------------------- FOUND 5 ERRORS AND 2 WARNINGS AFFECTING 6 LINES ------------------------------------------------------------------------- 9 | WARNING | [x] Unused use statement 17 | ERROR | [x] Missing class doc comment 33 | ERROR | [ ] Parameter $date_formatter is not described in comment 33 | ERROR | [ ] Parameter $date_format_storage is not described in comment 70 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 71 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6 110 | WARNING | [ ] Unused variable $delta. ------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/FileURLTransform.php -------------------------------------------------------------------- FOUND 5 ERRORS AND 2 WARNINGS AFFECTING 7 LINES -------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 10 | ERROR | [ ] Missing short description in doc comment 21 | ERROR | [x] Missing function doc comment 23 | ERROR | [x] Data types in @var tags need to be fully namespaced 24 | WARNING | [ ] Unused variable $delta. 32 | ERROR | [x] Each PHP statement must be on a line by itself 33 | ERROR | [x] Expected newline after closing brace -------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/BooleanTransform.php -------------------------------------------------------------------- FOUND 3 ERRORS AND 3 WARNINGS AFFECTING 6 LINES -------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 8 | WARNING | [x] Unused use statement 10 | ERROR | [ ] Missing short description in doc comment 21 | ERROR | [x] Missing function doc comment 23 | ERROR | [x] Data types in @var tags need to be fully namespaced 24 | WARNING | [ ] Unused variable $delta. -------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/ResponsiveImageTransform.php ---------------------------------------------------------------------------- FOUND 3 ERRORS AND 10 WARNINGS AFFECTING 13 LINES ---------------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 7 | WARNING | [x] Unused use statement 8 | WARNING | [x] Unused use statement 9 | WARNING | [x] Unused use statement 11 | WARNING | [x] Unused use statement 13 | WARNING | [x] Unused use statement 14 | WARNING | [x] Unused use statement 15 | WARNING | [x] Unused use statement 17 | WARNING | [x] Unused use statement 18 | WARNING | [x] Unused use statement 24 | ERROR | [ ] Missing short description in doc comment 91 | ERROR | [x] Missing function doc comment 102 | ERROR | [x] Missing function doc comment ---------------------------------------------------------------------------- PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/MetatagTransform.php -------------------------------------------------------------------- FOUND 4 ERRORS AND 2 WARNINGS AFFECTING 6 LINES -------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 7 | WARNING | [x] Unused use statement 10 | ERROR | [ ] Missing short description in doc comment 18 | ERROR | [x] There must be exactly one newline after the class comment 22 | ERROR | [x] Missing function doc comment 24 | ERROR | [x] Data types in @var tags need to be fully namespaced -------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/PlainTextTransform.php ---------------------------------------------------------------------- FOUND 7 ERRORS AND 2 WARNINGS AFFECTING 9 LINES ---------------------------------------------------------------------- 7 | WARNING | [x] Unused use statement 12 | ERROR | [ ] Missing short description in doc comment 30 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 31 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6 39 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 48 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6 51 | ERROR | [x] Missing function doc comment 53 | ERROR | [x] Data types in @var tags need to be fully namespaced 54 | WARNING | [ ] Unused variable $delta. ---------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/EntityReferenceLinksTransform.php -------------------------------------------------------------------- FOUND 6 ERRORS AND 3 WARNINGS AFFECTING 9 LINES -------------------------------------------------------------------- 3 | ERROR | [x] There must be one blank line after the namespace declaration 7 | WARNING | [x] Unused use statement 12 | ERROR | [ ] Missing short description in doc comment 23 | ERROR | [ ] Missing short description in doc comment 28 | ERROR | [ ] Parameter $entityTypeManager is not described in comment 58 | ERROR | [x] Missing function doc comment 62 | ERROR | [x] Data types in @var tags need to be fully namespaced 63 | WARNING | [ ] Unused variable $delta. 74 | WARNING | [x] A comma should follow the last multiline array item. Found: ) -------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/EntityTransform.php -------------------------------------------------------------------- FOUND 15 ERRORS AND 4 WARNINGS AFFECTING 18 LINES -------------------------------------------------------------------- 7 | WARNING | [x] Unused use statement 14 | ERROR | [ ] Missing short description in doc comment 26 | ERROR | [ ] Missing short description in doc comment 31 | ERROR | [ ] Missing short description in doc comment 36 | ERROR | [ ] Parameter $entityTransformRepository is not described in comment 36 | ERROR | [ ] Parameter $entityTypeManager is not described in comment 72 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 73 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6 81 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 90 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6 93 | ERROR | [ ] Missing short description in doc comment 94 | ERROR | [ ] Description for the @return value is missing 114 | WARNING | [x] A comma should follow the last multiline array item. Found: ] 129 | ERROR | [x] Data types in @var tags need to be fully namespaced 130 | WARNING | [ ] Unused variable $delta. 135 | ERROR | [ ] Namespaced classes/interfaces/traits should be referenced with use statements 137 | ERROR | [x] Expected newline after closing brace 138 | WARNING | [ ] Unused variable $delta. 140 | ERROR | [ ] Namespaced classes/interfaces/traits should be referenced with use statements -------------------------------------------------------------------- PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/LinkTransform.php ----------------------------------------------------------------------------- FOUND 3 ERRORS AND 3 WARNINGS AFFECTING 6 LINES ----------------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 9 | WARNING | [x] Unused use statement 11 | ERROR | [ ] Missing short description in doc comment 22 | ERROR | [x] Missing function doc comment 24 | ERROR | [x] Data types in @var tags need to be fully namespaced 25 | WARNING | [ ] Unused variable $delta. ----------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/LayoutBuilderTransform.php -------------------------------------------------------------------------- FOUND 14 ERRORS AND 2 WARNINGS AFFECTING 12 LINES -------------------------------------------------------------------------- 24 | ERROR | [ ] Missing short description in doc comment 35 | ERROR | [ ] Missing short description in doc comment 40 | ERROR | [ ] Missing short description in doc comment 45 | ERROR | [ ] Missing short description in doc comment 50 | ERROR | [ ] Missing short description in doc comment 55 | ERROR | [ ] Missing short description in doc comment 60 | ERROR | [ ] Parameter $layoutPluginManager is not described in comment 60 | ERROR | [ ] Parameter $componentTransformManager is not described in comment 60 | ERROR | [ ] Parameter $contextRepository is not described in comment 60 | ERROR | [ ] Parameter $sectionStorageManager is not described in comment 60 | ERROR | [ ] Parameter $moduleHandler is not described in comment 100 | ERROR | [x] Missing function doc comment 125 | ERROR | [x] Missing function doc comment 136 | ERROR | [x] Expected newline after closing brace 139 | WARNING | [ ] Unused variable $uuid. 169 | WARNING | [x] A comma should follow the last multiline array item. Found: ) -------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Field/DateTimeDefaultTransform.php ---------------------------------------------------------------------------- FOUND 3 ERRORS AND 5 WARNINGS AFFECTING 8 LINES ---------------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement 7 | WARNING | [x] Unused use statement 10 | ERROR | [ ] Missing short description in doc comment 26 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 27 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6 55 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 56 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 71 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead ---------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Block/BreadcrumbsTransformBlock.php ----------------------------------------------------------------------------- FOUND 3 ERRORS AND 2 WARNINGS AFFECTING 5 LINES ----------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 16 | ERROR | [ ] Missing short description in doc comment 82 | ERROR | [x] Missing function doc comment 85 | WARNING | [x] A comma should follow the last multiline array item. Found: ] 91 | WARNING | [ ] Unused variable $key. ----------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Block/SystemMainTransformBlock.php ---------------------------------------------------------------------------- FOUND 15 ERRORS AND 3 WARNINGS AFFECTING 17 LINES ---------------------------------------------------------------------------- 14 | WARNING | [x] Unused use statement 29 | ERROR | [ ] Missing short description in doc comment 30 | ERROR | [x] Data types in @var tags need to be fully namespaced 34 | ERROR | [ ] Missing short description in doc comment 39 | ERROR | [ ] Missing short description in doc comment 44 | ERROR | [ ] Missing short description in doc comment 49 | ERROR | [ ] Missing short description in doc comment 54 | ERROR | [x] Missing function doc comment 54 | ERROR | [x] Visibility must be declared on method "__construct" 63 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 74 | ERROR | [x] Missing function doc comment 88 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 90 | ERROR | [x] Expected newline after closing brace 91 | ERROR | [x] Data types in @var tags need to be fully namespaced 95 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 102 | ERROR | [ ] Parameter $array is not described in comment 105 | ERROR | [ ] Doc comment for parameter $route_match does not match actual variable name $array 134 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements ---------------------------------------------------------------------------- PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Block/SystemMenuTransformBlock.php ---------------------------------------------------------------------------- FOUND 6 ERRORS AND 4 WARNINGS AFFECTING 10 LINES ---------------------------------------------------------------------------- 10 | WARNING | [x] Unused use statement 11 | WARNING | [x] Unused use statement 59 | ERROR | [x] Expected 1 blank line after function; 0 found 147 | ERROR | [x] Missing function doc comment 200 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 204 | ERROR | [x] Missing function doc comment 206 | WARNING | [ ] Unused variable $menu_item_id. 208 | ERROR | [x] Data types in @var tags need to be fully namespaced 251 | ERROR | [x] Expected 1 blank line after function; 0 found 252 | 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: transform_api/src/Plugin/Transform/Block/Broken.php ---------------------------------------------------------------------- FOUND 2 ERRORS AND 2 WARNINGS AFFECTING 4 LINES ---------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 9 | WARNING | [x] Unused use statement 95 | ERROR | [x] Expected 1 blank line after function; 0 found 96 | ERROR | [x] The closing brace for the class must have an empty line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/SectionComponent/InlineBlock.php -------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES -------------------------------------------------------------------------- 10 | ERROR | [ ] Missing short description in doc comment 18 | ERROR | [x] Missing function doc comment -------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/SectionComponent/FieldBlock.php ------------------------------------------------------------------------- FOUND 9 ERRORS AND 3 WARNINGS AFFECTING 11 LINES ------------------------------------------------------------------------- 13 | ERROR | [ ] Missing short description in doc comment 21 | ERROR | [ ] Missing short description in doc comment 26 | ERROR | [x] Missing function doc comment 32 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 38 | ERROR | [x] Missing function doc comment 42 | WARNING | [ ] Unused variable $entity_type_id. 42 | WARNING | [ ] Unused variable $bundle. 52 | WARNING | [x] A comma should follow the last multiline array item. Found: ] 57 | ERROR | [x] Expected newline after closing brace 68 | ERROR | [ ] Namespaced classes/interfaces/traits should be referenced with use statements 70 | ERROR | [x] Expected 1 blank line after function; 0 found 71 | ERROR | [x] The closing brace for the class must have an empty line before it ------------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/SectionComponent/BlockContent.php --------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES --------------------------------------------------------------------------- 10 | ERROR | [ ] Missing short description in doc comment 18 | ERROR | [x] Missing function doc comment --------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Type/Route.php -------------------------------------------------------------------- FOUND 11 ERRORS AFFECTING 10 LINES -------------------------------------------------------------------- 11 | ERROR | [ ] Missing short description in doc comment 19 | ERROR | [ ] Missing short description in doc comment 24 | ERROR | [x] Missing function doc comment 24 | ERROR | [x] Visibility must be declared on method "__construct" 30 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 38 | ERROR | [x] Missing function doc comment 41 | ERROR | [x] Expected newline after closing brace 49 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 50 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6 54 | ERROR | [x] Expected 1 blank line after function; 0 found 55 | 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: transform_api/src/Plugin/Transform/Type/RequestPath.php -------------------------------------------------------------------------- FOUND 10 ERRORS AND 5 WARNINGS AFFECTING 14 LINES -------------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement 7 | WARNING | [x] Unused use statement 8 | WARNING | [x] Unused use statement 14 | WARNING | [x] Unused use statement 16 | WARNING | [x] Unused use statement 18 | ERROR | [ ] Missing short description in doc comment 26 | ERROR | [ ] Missing short description in doc comment 31 | ERROR | [ ] Missing short description in doc comment 36 | ERROR | [x] Missing function doc comment 36 | ERROR | [x] Visibility must be declared on method "__construct" 43 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 52 | ERROR | [x] Missing function doc comment 69 | ERROR | [x] Expected newline after closing brace 79 | ERROR | [x] Expected 1 blank line after function; 0 found 80 | ERROR | [x] The closing brace for the class must have an empty line before it -------------------------------------------------------------------------- PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Type/Block.php -------------------------------------------------------------------- FOUND 11 ERRORS AFFECTING 10 LINES -------------------------------------------------------------------- 14 | ERROR | [ ] Missing short description in doc comment 22 | ERROR | [ ] Missing short description in doc comment 23 | ERROR | [x] Data types in @var tags need to be fully namespaced 27 | ERROR | [ ] Missing short description in doc comment 28 | ERROR | [x] Data types in @var tags need to be fully namespaced 32 | ERROR | [ ] Missing short description in doc comment 37 | ERROR | [ ] Missing member variable doc comment 39 | ERROR | [x] Missing function doc comment 39 | ERROR | [x] Visibility must be declared on method "__construct" 47 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 57 | ERROR | [x] Missing function doc comment -------------------------------------------------------------------- PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Plugin/Transform/Type/Entity.php --------------------------------------------------------------------- FOUND 24 ERRORS AND 4 WARNINGS AFFECTING 27 LINES --------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement 7 | WARNING | [x] Unused use statement 24 | ERROR | [ ] Missing short description in doc comment 32 | ERROR | [ ] Missing short description in doc comment 37 | ERROR | [ ] Missing short description in doc comment 42 | ERROR | [ ] Missing short description in doc comment 47 | ERROR | [ ] Missing short description in doc comment 52 | ERROR | [ ] Missing short description in doc comment 57 | ERROR | [x] Missing function doc comment 57 | ERROR | [x] Visibility must be declared on method "__construct" 67 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 80 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 83 | ERROR | [x] Data types in @var tags need to be fully namespaced 87 | ERROR | [x] Expected newline after closing brace 89 | ERROR | [x] Expected newline after closing brace 94 | ERROR | [x] Missing function doc comment 96 | ERROR | [x] Data types in @var tags need to be fully namespaced 103 | ERROR | [x] Expected newline after closing brace 108 | ERROR | [x] Missing function doc comment 117 | ERROR | [x] Expected newline after closing brace 124 | ERROR | [x] Data types in @var tags need to be fully namespaced 150 | WARNING | [x] A comma should follow the last multiline array item. Found: ] 174 | ERROR | [x] Expected newline after closing brace 182 | ERROR | [x] Missing function doc comment 191 | WARNING | [x] A comma should follow the last multiline array item. Found: ] 199 | ERROR | [x] Missing function doc comment 218 | ERROR | [x] Expected 1 blank line after function; 0 found 219 | 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: transform_api/src/Plugin/Derivative/ExtraLinks.php --------------------------------------------------------------------- FOUND 10 ERRORS AND 1 WARNING AFFECTING 11 LINES --------------------------------------------------------------------- 14 | WARNING | [x] Unused use statement 138 | ERROR | [x] Array indentation error, expected 14 spaces but found 16 139 | ERROR | [x] Array indentation error, expected 14 spaces but found 16 140 | ERROR | [x] Array indentation error, expected 14 spaces but found 16 141 | ERROR | [x] Array indentation error, expected 14 spaces but found 16 142 | ERROR | [x] Array indentation error, expected 14 spaces but found 16 143 | ERROR | [x] Array closing indentation error, expected 12 spaces but found 14 151 | ERROR | [x] Array indentation error, expected 8 spaces but found 10 152 | ERROR | [x] Array indentation error, expected 8 spaces but found 10 153 | ERROR | [x] Array indentation error, expected 8 spaces but found 10 154 | ERROR | [x] Array closing indentation error, expected 6 spaces but found 8 --------------------------------------------------------------------- PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------- FILE: transform_api/src/Plugin/Derivative/TransformLocalTask.php ----------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ----------------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement 94 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters ----------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------- FILE: transform_api/src/TransformationTypeInterface.php -------------------------------------------------------------------- FOUND 4 ERRORS AND 1 WARNING AFFECTING 5 LINES -------------------------------------------------------------------- 7 | WARNING | [x] Unused use statement 10 | ERROR | [x] Missing interface doc comment 12 | ERROR | [ ] Missing short description in doc comment 13 | ERROR | [ ] Missing parameter comment 15 | ERROR | [ ] Description for the @return value is missing -------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Transform.php -------------------------------------------------------------------- FOUND 13 ERRORS AND 3 WARNINGS AFFECTING 16 LINES -------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 6 | WARNING | [x] Unused use statement 7 | WARNING | [x] Unused use statement 10 | ERROR | [x] Missing class doc comment 12 | ERROR | [ ] Missing short description in doc comment 13 | ERROR | [ ] Missing parameter comment 15 | ERROR | [ ] Description for the @return value is missing 20 | ERROR | [x] Expected newline after closing brace 22 | ERROR | [x] Expected newline after closing brace 65 | ERROR | [x] Expected newline after closing brace 74 | ERROR | [x] Expected newline after closing brace 114 | ERROR | [ ] Missing short description in doc comment 115 | ERROR | [ ] Missing parameter comment 117 | ERROR | [ ] Description for the @return value is missing 129 | ERROR | [x] Expected 1 blank line after function; 0 found 130 | ERROR | [x] The closing brace for the class must have an empty line before it -------------------------------------------------------------------- PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Transform/EntityAutocompleteEndpointTransform.php ------------------------------------------------------------------- FOUND 10 ERRORS AND 1 WARNING AFFECTING 10 LINES ------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 8 | ERROR | [x] Missing class doc comment 9 | ERROR | [x] Missing function doc comment 9 | ERROR | [x] Expected 1 blank line before function; 0 found 28 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 35 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 40 | ERROR | [x] Expected newline after closing brace 42 | ERROR | [x] Language constructs must be followed by a single space; expected 1 space but found "··" 44 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 47 | ERROR | [x] Expected 1 blank line after function; 0 found 48 | ERROR | [x] The closing brace for the class must have an empty line before it ------------------------------------------------------------------- PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/src/Transform/RouteTransform.php --------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES --------------------------------------------------------------------- 5 | ERROR | [x] Missing class doc comment 7 | ERROR | [x] Missing function doc comment 13 | ERROR | [x] Missing function doc comment --------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------- FILE: transform_api/src/Transform/PluginTransformBase.php ---------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES ---------------------------------------------------------------------- 5 | ERROR | [x] Missing class doc comment 8 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? ---------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: transform_api/src/Transform/RequestPathTransform.php ----------------------------------------------------------------------- FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES ----------------------------------------------------------------------- 5 | ERROR | [x] Missing class doc comment 7 | ERROR | [x] Missing function doc comment 10 | WARNING | [x] A comma should follow the last multiline array item. Found: $region 14 | ERROR | [x] Missing function doc comment ----------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------- FILE: transform_api/src/Transform/FieldTransform.php ----------------------------------------------------------------------------- FOUND 11 ERRORS AND 3 WARNINGS AFFECTING 12 LINES ----------------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 11 | ERROR | [x] Missing class doc comment 13 | ERROR | [ ] Missing short description in doc comment 18 | ERROR | [ ] Missing short description in doc comment 19 | ERROR | [x] Data types in @var tags need to be fully namespaced 23 | ERROR | [ ] Missing member variable doc comment 23 | ERROR | [ ] Class property $field_name should use lowerCamel naming without underscores 26 | ERROR | [x] Missing function doc comment 26 | ERROR | [x] Expected 1 blank line before function; 2 found 33 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 39 | ERROR | [x] Missing function doc comment 43 | ERROR | [x] Missing function doc comment 47 | ERROR | [x] Missing function doc comment 57 | WARNING | [x] A comma should follow the last multiline array item. Found: ] ----------------------------------------------------------------------------- PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------- FILE: transform_api/src/Transform/PagerTransform.php --------------------------------------------------------------------- FOUND 10 ERRORS AND 2 WARNINGS AFFECTING 12 LINES --------------------------------------------------------------------- 5 | ERROR | [x] Missing class doc comment 7 | ERROR | [x] Missing function doc comment 13 | ERROR | [x] Expected newline after closing brace 18 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 23 | ERROR | [x] Missing function doc comment 27 | ERROR | [x] Missing function doc comment 31 | ERROR | [x] Missing function doc comment 35 | ERROR | [x] Missing function doc comment 40 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 47 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 52 | ERROR | [x] Expected newline after closing brace 57 | WARNING | [x] A comma should follow the last multiline array item. Found: ) --------------------------------------------------------------------- PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------- FILE: transform_api/src/Transform/SimpleTransform.php ---------------------------------------------------------------------- FOUND 5 ERRORS AFFECTING 5 LINES ---------------------------------------------------------------------- 7 | ERROR | [x] Missing class doc comment 9 | ERROR | [ ] Missing member variable doc comment 11 | ERROR | [x] Missing function doc comment 16 | ERROR | [x] Missing function doc comment 27 | ERROR | [x] Missing function doc comment ---------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: transform_api/src/Transform/TransformBase.php -------------------------------------------------------------------- FOUND 5 ERRORS AFFECTING 4 LINES -------------------------------------------------------------------- 7 | ERROR | [x] Missing class doc comment 9 | ERROR | [ ] Missing short description in doc comment 15 | ERROR | [x] Missing function doc comment 15 | ERROR | [x] Expected 1 blank line before function; 2 found 55 | ERROR | [x] Expected newline after closing brace -------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Transform/BlockTransform.php --------------------------------------------------------------------- FOUND 7 ERRORS AND 1 WARNING AFFECTING 8 LINES --------------------------------------------------------------------- 8 | ERROR | [x] Missing class doc comment 10 | ERROR | [ ] Missing member variable doc comment 12 | ERROR | [x] Missing function doc comment 14 | WARNING | [x] A comma should follow the last multiline array item. Found: $id 18 | ERROR | [x] Missing function doc comment 22 | ERROR | [x] Missing function doc comment 26 | ERROR | [x] Missing function doc comment 33 | ERROR | [x] Missing function doc comment --------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------- FILE: transform_api/src/Transform/TransformInterface.php ---------------------------------------------------------------------- FOUND 31 ERRORS AND 5 WARNINGS AFFECTING 32 LINES ---------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement 8 | ERROR | [x] Missing interface doc comment 10 | ERROR | [ ] Missing short description in doc comment 11 | ERROR | [ ] Description for the @return value is missing 15 | ERROR | [ ] Missing short description in doc comment 16 | ERROR | [ ] Description for the @return value is missing 20 | ERROR | [ ] Missing short description in doc comment 21 | ERROR | [ ] Description for the @return value is missing 23 | ERROR | [x] Expected 1 blank line after function; 2 found 26 | ERROR | [ ] Missing short description in doc comment 27 | ERROR | [ ] Missing parameter comment 29 | ERROR | [ ] Description for the @return value is missing 33 | ERROR | [ ] Missing short description in doc comment 34 | ERROR | [ ] Missing parameter comment 34 | ERROR | [ ] Missing parameter type 36 | ERROR | [ ] Description for the @return value is missing 40 | ERROR | [ ] Missing short description in doc comment 41 | ERROR | [ ] Missing parameter comment 41 | ERROR | [ ] Missing parameter type 42 | ERROR | [ ] Missing parameter comment 42 | ERROR | [ ] Missing parameter type 44 | ERROR | [ ] Description for the @return value is missing 57 | ERROR | [ ] Doc comment short description must end with a full stop 59 | ERROR | [ ] Description for the @return value is missing 64 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters 65 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 67 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters 70 | ERROR | [ ] Description for the @return value is missing 78 | WARNING | [ ] Line exceeds 80 characters; contains 107 characters 79 | WARNING | [ ] Line exceeds 80 characters; contains 88 characters 79 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 83 | ERROR | [ ] Description for the @return value is missing 87 | ERROR | [ ] Missing short description in doc comment 88 | ERROR | [ ] Description for the @return value is missing 90 | ERROR | [x] Expected 1 blank line after function; 0 found 91 | ERROR | [x] The closing brace for the interface must have an empty line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: transform_api/src/Transform/EntityTransform.php ------------------------------------------------------------------------------ FOUND 43 ERRORS AND 3 WARNINGS AFFECTING 42 LINES ------------------------------------------------------------------------------ 5 | WARNING | [x] Unused use statement 8 | WARNING | [x] Unused use statement 11 | ERROR | [x] Missing class doc comment 13 | ERROR | [ ] Missing short description in doc comment 18 | ERROR | [ ] Missing short description in doc comment 23 | ERROR | [ ] Missing short description in doc comment 24 | ERROR | [x] Data types in @var tags need to be fully namespaced 28 | ERROR | [ ] Missing short description in doc comment 29 | ERROR | [ ] Missing parameter comment 30 | ERROR | [ ] Missing parameter comment 31 | ERROR | [ ] Missing parameter comment 37 | WARNING | [x] A comma should follow the last multiline array item. Found: $transform_mode 43 | ERROR | [x] Expected newline after closing brace 49 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 55 | ERROR | [x] Missing function doc comment 60 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 67 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 73 | ERROR | [ ] Missing short description in doc comment 74 | ERROR | [ ] Description for the @return value is missing 80 | ERROR | [ ] Missing short description in doc comment 81 | ERROR | [ ] Missing parameter comment 87 | ERROR | [ ] Missing short description in doc comment 88 | ERROR | [ ] Description for the @return value is missing 88 | ERROR | [x] Data types in @return tags need to be fully namespaced 94 | ERROR | [ ] Missing short description in doc comment 95 | ERROR | [ ] Missing parameter comment 95 | ERROR | [x] Data types in @param tags need to be fully namespaced 101 | ERROR | [ ] Missing short description in doc comment 102 | ERROR | [ ] Description for the @return value is missing 108 | ERROR | [ ] Missing short description in doc comment 109 | ERROR | [ ] Missing parameter comment 115 | ERROR | [ ] Missing short description in doc comment 116 | ERROR | [ ] Missing parameter comment 117 | ERROR | [ ] Missing parameter comment 117 | ERROR | [x] Data types in @param tags need to be fully namespaced 118 | ERROR | [ ] Missing parameter comment 118 | ERROR | [x] Data types in @param tags need to be fully namespaced 120 | ERROR | [ ] Description for the @return value is missing 130 | ERROR | [ ] Missing short description in doc comment 131 | ERROR | [ ] Missing parameter comment 132 | ERROR | [ ] Missing parameter comment 134 | ERROR | [ ] Description for the @return value is missing 140 | ERROR | [ ] Missing short description in doc comment 141 | ERROR | [ ] Missing parameter comment 142 | ERROR | [ ] Missing parameter comment 144 | ERROR | [ ] Description for the @return value is missing ------------------------------------------------------------------------------ PHPCBF CAN FIX THE 14 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------ FILE: transform_api/src/TransformationTypeManager.php ------------------------------------------------------------------- FOUND 8 ERRORS AND 1 WARNING AFFECTING 8 LINES ------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 10 | ERROR | [x] Missing class doc comment 39 | ERROR | [ ] Missing short description in doc comment 40 | ERROR | [ ] Missing parameter comment 40 | ERROR | [ ] Missing parameter type 41 | ERROR | [ ] Missing parameter comment 43 | ERROR | [ ] Description for the @return value is missing 50 | ERROR | [x] Expected 1 blank line after function; 0 found 51 | ERROR | [x] The closing brace for the class must have an empty line before it ------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/src/TransformBlockListBuilder.php ---------------------------------------------------------------------- FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES ---------------------------------------------------------------------- 15 | WARNING | [x] Unused use statement 55 | ERROR | [ ] Missing short description in doc comment 145 | ERROR | [ ] Description for the @return value is missing ---------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: transform_api/src/Form/EntityTransformDisplayEditForm.php ---------------------------------------------------------------------------- FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES ---------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 14 | WARNING | [x] Unused use statement 177 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 178 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6 ---------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------- FILE: transform_api/src/Form/TransformBlockRegionEditForm.php -------------------------------------------------------------------------- FOUND 7 ERRORS AND 2 WARNINGS AFFECTING 9 LINES -------------------------------------------------------------------------- 11 | ERROR | [x] Missing class doc comment 13 | ERROR | [ ] Missing short description in doc comment 18 | ERROR | [x] Missing function doc comment 34 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 41 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 48 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 75 | WARNING | [x] A comma should follow the last multiline array item. Found: 'actions' 80 | WARNING | [x] A comma should follow the last multiline array item. Found: 'primary' 87 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? -------------------------------------------------------------------------- PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: transform_api/src/Form/TransformBlockForm.php --------------------------------------------------------------------- FOUND 3 ERRORS AND 4 WARNINGS AFFECTING 7 LINES --------------------------------------------------------------------- 68 | ERROR | [ ] Missing short description in doc comment 73 | ERROR | [ ] Parameter $transform_blocks is not described in comment 256 | WARNING | [ ] Line exceeds 80 characters; contains 91 characters 257 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters 293 | WARNING | [ ] Line exceeds 80 characters; contains 91 characters 294 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters 313 | ERROR | [x] Empty array declaration must have no space between the parentheses --------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------- FILE: transform_api/src/Form/TransformBlockRegionDeleteForm.php ---------------------------------------------------------------------------- FOUND 9 ERRORS AFFECTING 9 LINES ---------------------------------------------------------------------------- 13 | ERROR | [x] Missing class doc comment 17 | ERROR | [ ] Missing short description in doc comment 22 | ERROR | [x] Missing function doc comment 37 | ERROR | [ ] Missing short description in doc comment 38 | ERROR | [ ] Description for the @return value is missing 45 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 59 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 66 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 73 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? ---------------------------------------------------------------------------- PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------- FILE: transform_api/src/Form/TransformBlockDeleteForm.php ---------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------- 9 | WARNING | Line exceeds 80 characters; contains 88 characters ---------------------------------------------------------------------- FILE: transform_api/src/Form/TransformBlockRegionOverviewForm.php ----------------------------------------------------------------------------- FOUND 9 ERRORS AND 5 WARNINGS AFFECTING 14 LINES ----------------------------------------------------------------------------- 12 | ERROR | [x] Missing class doc comment 14 | ERROR | [ ] Missing short description in doc comment 19 | ERROR | [x] Missing function doc comment 35 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 42 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 49 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? 62 | WARNING | [x] A comma should follow the last multiline array item. Found: 'transform-blocks-regions' 68 | ERROR | [x] Closing parenthesis of array declaration must be on a new line 98 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 104 | WARNING | [x] A comma should follow the last multiline array item. Found: ) 108 | WARNING | [x] A comma should follow the last multiline array item. Found: 'actions' 113 | WARNING | [x] A comma should follow the last multiline array item. Found: 'primary' 119 | ERROR | [x] Missing function doc comment 137 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? ----------------------------------------------------------------------------- PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------- FILE: transform_api/src/Entity/TransformBlock.php -------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement -------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Entity/EntityTransformMode.php ------------------------------------------------------------------- FOUND 1 ERROR AND 6 WARNINGS AFFECTING 6 LINES ------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement 12 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters 12 | ERROR | [x] Doc comment long description must start with a capital letter 13 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters 17 | WARNING | [ ] Line exceeds 80 characters; contains 88 characters 20 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters 21 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters ------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/src/Entity/EntityTransformDisplay.php ---------------------------------------------------------------------- FOUND 6 ERRORS AND 8 WARNINGS AFFECTING 14 LINES ---------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 50 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters 54 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters 55 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters 56 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters 57 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters 59 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters 61 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters 66 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters 217 | ERROR | [x] Array indentation error, expected 10 spaces but found 12 218 | ERROR | [x] Array indentation error, expected 10 spaces but found 12 219 | ERROR | [x] Array closing indentation error, expected 8 spaces but found 10 226 | ERROR | [x] Expected 1 blank line after function; 0 found 227 | ERROR | [x] The closing brace for the class must have an empty line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: transform_api/src/EntityTransformModeListBuilder.php ----------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ----------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line ----------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------- FILE: transform_api/src/TransformBlocks.php ---------------------------------------------------------------------- FOUND 19 ERRORS AFFECTING 19 LINES ---------------------------------------------------------------------- 14 | ERROR | [x] Missing class doc comment 18 | ERROR | [ ] Missing short description in doc comment 23 | ERROR | [ ] Missing short description in doc comment 28 | ERROR | [ ] Missing short description in doc comment 33 | ERROR | [ ] Missing short description in doc comment 38 | ERROR | [x] Missing function doc comment 45 | ERROR | [ ] Missing short description in doc comment 46 | ERROR | [ ] Description for the @return value is missing 52 | ERROR | [ ] Missing short description in doc comment 53 | ERROR | [ ] Description for the @return value is missing 66 | ERROR | [ ] Missing short description in doc comment 67 | ERROR | [ ] Description for the @return value is missing 120 | ERROR | [ ] Missing short description in doc comment 121 | ERROR | [ ] Description for the @return value is missing 127 | ERROR | [ ] Missing short description in doc comment 128 | ERROR | [ ] Missing parameter comment 130 | ERROR | [ ] Description for the @return value is missing 136 | ERROR | [x] Expected 1 blank line after function; 0 found 137 | ERROR | [x] The closing brace for the class must have an empty line before it ---------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: transform_api/src/SectionComponentTransformInterface.php --------------------------------------------------------------------------- FOUND 2 ERRORS AND 3 WARNINGS AFFECTING 5 LINES --------------------------------------------------------------------------- 7 | WARNING | [x] Unused use statement 8 | WARNING | [x] Unused use statement 10 | WARNING | [x] Unused use statement 14 | ERROR | [x] Missing interface doc comment 16 | ERROR | [x] Missing function doc comment --------------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------- FILE: transform_api/src/Transformer.php -------------------------------------------------------------------- FOUND 26 ERRORS AND 2 WARNINGS AFFECTING 26 LINES -------------------------------------------------------------------- 16 | ERROR | [x] Missing class doc comment 20 | ERROR | [ ] Missing member variable doc comment 22 | ERROR | [ ] Missing member variable doc comment 24 | ERROR | [ ] Missing member variable doc comment 28 | ERROR | [ ] Missing short description in doc comment 33 | ERROR | [x] Missing function doc comment 40 | ERROR | [ ] Missing short description in doc comment 40 | ERROR | [ ] Parameter $cleanup is not described in comment 41 | ERROR | [ ] Missing parameter comment 43 | ERROR | [ ] Description for the @return value is missing 53 | ERROR | [ ] Missing short description in doc comment 54 | ERROR | [ ] Missing parameter comment 56 | ERROR | [ ] Description for the @return value is missing 67 | ERROR | [x] Expected newline after closing brace 90 | WARNING | [ ] Line exceeds 80 characters; contains 90 characters 91 | WARNING | [ ] Line exceeds 80 characters; contains 88 characters 106 | ERROR | [x] Expected newline after closing brace 122 | ERROR | [x] Missing function doc comment 127 | ERROR | [x] Expected newline after closing brace 136 | ERROR | [x] Missing function doc comment 157 | ERROR | [x] Missing function doc comment 161 | ERROR | [x] Expected newline after closing brace 167 | ERROR | [x] Missing function doc comment 173 | ERROR | [x] Missing function doc comment 181 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8 181 | ERROR | [x] Closing brace indented incorrectly; expected 6 spaces, found 8 236 | ERROR | [x] Expected 1 blank line after function; 0 found 237 | ERROR | [x] The closing brace for the class must have an empty line before it -------------------------------------------------------------------- PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Exception/RedirectTransformationException.php ------------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES ------------------------------------------------------------------------- 7 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements 9 | ERROR | [x] Missing class doc comment 11 | ERROR | [x] Missing function doc comment ------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------- FILE: transform_api/src/Exception/ResponseTransformationException.php ------------------------------------------------------------------------- FOUND 6 ERRORS AFFECTING 6 LINES ------------------------------------------------------------------------- 6 | ERROR | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements 8 | ERROR | [x] Missing class doc comment 10 | ERROR | [ ] Missing member variable doc comment 12 | ERROR | [x] Missing function doc comment 17 | ERROR | [ ] Missing short description in doc comment 18 | ERROR | [ ] Description for the @return value is missing ------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------- FILE: transform_api/src/TransformPermissions.php ------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------- 44 | ERROR | Description for the @return value is missing ------------------------------------------------------------------- FILE: transform_api/src/TransformBlockManagerInterface.php ----------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------- 10 | WARNING | Line exceeds 80 characters; contains 88 characters ----------------------------------------------------------------------- FILE: transform_api/src/RouteTransformInterface.php -------------------------------------------------------------------- FOUND 2 ERRORS AND 2 WARNINGS AFFECTING 4 LINES -------------------------------------------------------------------- 7 | WARNING | [x] Unused use statement 8 | WARNING | [x] Unused use statement 11 | ERROR | [x] Missing interface doc comment 13 | ERROR | [x] Missing function doc comment -------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Routing/TransformRouteEnhancer.php ----------------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 2 LINES ----------------------------------------------------------------------------- 7 | ERROR | [x] Missing class doc comment 7 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 10 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? ----------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------- FILE: transform_api/src/Configs/EntityTransformDisplayInterface.php -------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES -------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 6 | ERROR | [x] Missing interface doc comment -------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/RouteTransformManager.php --------------------------------------------------------------------- FOUND 8 ERRORS AFFECTING 7 LINES --------------------------------------------------------------------- 9 | ERROR | [x] Missing class doc comment 38 | ERROR | [ ] Missing short description in doc comment 39 | ERROR | [ ] Missing parameter comment 39 | ERROR | [ ] Missing parameter type 40 | ERROR | [ ] Missing parameter comment 42 | ERROR | [ ] Description for the @return value is missing 49 | ERROR | [x] Expected 1 blank line after function; 0 found 50 | 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: transform_api/src/Annotation/SectionComponentTransform.php ----------------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES ----------------------------------------------------------------------------- 10 | ERROR | [x] Doc comment long description must end with a full stop 30 | ERROR | [ ] The @var tag must be the first tag in a member variable comment 33 | 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: transform_api/src/Annotation/RouteTransform.php ---------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES ---------------------------------------------------------------------- 10 | ERROR | [x] Doc comment long description must end with a full stop 30 | ERROR | [ ] The @var tag must be the first tag in a member variable comment 33 | 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: transform_api/src/Annotation/FieldTransform.php ---------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES ---------------------------------------------------------------------- 10 | ERROR | [x] Doc comment long description must end with a full stop 30 | ERROR | [ ] The @var tag must be the first tag in a member variable comment 40 | 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: transform_api/src/Annotation/TransformBlock.php ---------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES ---------------------------------------------------------------------- 10 | ERROR | [x] Doc comment long description must end with a full stop 44 | ERROR | [x] Whitespace found at end of line 53 | 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: transform_api/src/Annotation/TransformationType.php ---------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES ---------------------------------------------------------------------- 10 | ERROR | [x] Doc comment long description must end with a full stop 30 | ERROR | [ ] The @var tag must be the first tag in a member variable comment 33 | 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: transform_api/src/FieldTransformInterface.php -------------------------------------------------------------------- FOUND 4 ERRORS AFFECTING 4 LINES -------------------------------------------------------------------- 12 | ERROR | [x] Missing interface doc comment 17 | ERROR | [ ] Description for the @return value is missing 41 | ERROR | [x] Missing function doc comment 43 | ERROR | [x] Missing function doc comment -------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/RouteTransformBase.php ------------------------------------------------------------------- FOUND 3 ERRORS AND 4 WARNINGS AFFECTING 7 LINES ------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 7 | WARNING | [x] Unused use statement 12 | WARNING | [x] Unused use statement 14 | WARNING | [x] Unused use statement 16 | ERROR | [x] Missing class doc comment 26 | ERROR | [x] Expected 1 blank line after function; 0 found 27 | ERROR | [x] The closing brace for the class must have an empty line before it ------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/src/TransformBlockPluginCollection.php ----------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ----------------------------------------------------------------------- 42 | ERROR | Description for the @return value is missing 44 | WARNING | Possible useless method overriding detected ----------------------------------------------------------------------- FILE: transform_api/src/FieldTransformManager.php --------------------------------------------------------------------------- FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES --------------------------------------------------------------------------- 11 | ERROR | [x] Missing class doc comment 27 | ERROR | [ ] Parameter $field_type_manager is not described in comment 63 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead 173 | ERROR | [ ] The array declaration extends to column 92 (the limit is 80). The array content should be split up over multiple lines --------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------- FILE: transform_api/src/TransformBlockPluginInterface.php ---------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES ---------------------------------------------------------------------- 15 | ERROR | [x] Missing interface doc comment 38 | ERROR | [x] Expected 1 blank line before function; 2 found ---------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: transform_api/src/EventSubscriber/TransformationCache.php ---------------------------------------------------------------------------- FOUND 5 ERRORS AND 3 WARNINGS AFFECTING 8 LINES ---------------------------------------------------------------------------- 105 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 106 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters 108 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 109 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters 110 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters 111 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 112 | ERROR | [x] Array indentation error, expected 6 spaces but found 8 113 | ERROR | [x] Array closing indentation error, expected 4 spaces but found 6 ---------------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------- FILE: transform_api/src/Repository/EntityTransformRepositoryInterface.php -------------------------------------------------------------------------- FOUND 5 ERRORS AND 4 WARNINGS AFFECTING 9 LINES -------------------------------------------------------------------------- 5 | ERROR | [x] Missing interface doc comment 65 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters 68 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters 72 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters 74 | WARNING | [ ] Line exceeds 80 characters; contains 85 characters 84 | ERROR | [ ] Long array syntax must not be used in doc comment code annotations 86 | ERROR | [ ] Long array syntax must not be used in doc comment code annotations 103 | ERROR | [x] Expected 1 blank line after function; 0 found 104 | ERROR | [x] The closing brace for the interface must have an empty line before it -------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: transform_api/src/Repository/EntityTransformRepository.php ----------------------------------------------------------------------------- FOUND 3 ERRORS AND 8 WARNINGS AFFECTING 11 LINES ----------------------------------------------------------------------------- 14 | WARNING | [ ] Line exceeds 80 characters; contains 85 characters 86 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters 106 | ERROR | [ ] The array declaration extends to column 158 (the limit is 80). The array content should be split up over multiple lines 117 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters 155 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters 163 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead 173 | ERROR | [ ] Missing parameter type 174 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters 226 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters 228 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters 242 | ERROR | [x] Expected 1 newline at end of file; 2 found ----------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------- FILE: transform_api/src/TransformationTypeBase.php ------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES ------------------------------------------------------------------- 10 | ERROR | [x] Missing class doc comment 15 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? ------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/src/Controller/RequestPathController.php ------------------------------------------------------------------------- FOUND 8 ERRORS AFFECTING 7 LINES ------------------------------------------------------------------------- 13 | ERROR | [x] Missing class doc comment 14 | ERROR | [ ] Missing member variable doc comment 15 | ERROR | [ ] Missing member variable doc comment 17 | ERROR | [x] Missing function doc comment 17 | ERROR | [x] Visibility must be declared on method "__construct" 32 | ERROR | [x] Missing function doc comment 36 | ERROR | [x] Expected newline after closing brace 41 | ERROR | [x] Missing function doc comment ------------------------------------------------------------------------- PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------- FILE: transform_api/src/Controller/BlockController.php ------------------------------------------------------------------- FOUND 9 ERRORS AND 1 WARNING AFFECTING 9 LINES ------------------------------------------------------------------- 16 | WARNING | [x] Unused use statement 18 | ERROR | [x] Missing class doc comment 19 | ERROR | [ ] Missing short description in doc comment 24 | ERROR | [ ] Missing short description in doc comment 29 | ERROR | [ ] Missing short description in doc comment 34 | ERROR | [ ] Missing short description in doc comment 39 | ERROR | [ ] Missing short description in doc comment 44 | ERROR | [x] Missing function doc comment 44 | ERROR | [x] Visibility must be declared on method "__construct" 63 | ERROR | [x] Expected 1 blank line after function; 2 found ------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/src/Controller/EntityAutocompleteController.php -------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 2 LINES -------------------------------------------------------------------- 13 | ERROR | [x] Missing class doc comment 13 | ERROR | [ ] Namespaced classes/interfaces/traits should be referenced with use statements 16 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? -------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------- FILE: transform_api/src/Controller/EntityDisplayModeController.php ------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES ------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 7 | ERROR | [x] Missing class doc comment 15 | ERROR | [ ] Public method name "EntityDisplayModeController::TransformModeTypeSelection" is not in lowerCamel format ------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/src/Controller/RouteController.php ------------------------------------------------------------------- FOUND 6 ERRORS AFFECTING 5 LINES ------------------------------------------------------------------- 12 | ERROR | [x] Missing class doc comment 13 | ERROR | [ ] Missing member variable doc comment 14 | ERROR | [ ] Missing member variable doc comment 16 | ERROR | [x] Missing function doc comment 16 | ERROR | [x] Visibility must be declared on method "__construct" 31 | ERROR | [x] Missing function doc comment ------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/src/Controller/EntityController.php ------------------------------------------------------------------- FOUND 17 ERRORS AND 3 WARNINGS AFFECTING 14 LINES ------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement 8 | WARNING | [x] Unused use statement 9 | WARNING | [x] Unused use statement 16 | ERROR | [x] Missing class doc comment 16 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 17 | ERROR | [ ] Missing member variable doc comment 18 | ERROR | [ ] Missing member variable doc comment 19 | ERROR | [ ] Missing member variable doc comment 21 | ERROR | [x] Missing function doc comment 21 | ERROR | [x] Visibility must be declared on method "__construct" 38 | ERROR | [ ] Missing short description in doc comment 39 | ERROR | [ ] Missing parameter comment 39 | ERROR | [ ] Missing parameter type 40 | ERROR | [ ] Missing parameter comment 40 | ERROR | [ ] Missing parameter type 41 | ERROR | [ ] Missing parameter comment 41 | ERROR | [ ] Missing parameter type 42 | ERROR | [ ] Missing parameter comment 42 | ERROR | [ ] Missing parameter type 44 | ERROR | [ ] Description for the @return value is missing ------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/src/SectionComponentTransformManager.php ------------------------------------------------------------------- FOUND 8 ERRORS AFFECTING 7 LINES ------------------------------------------------------------------- 9 | ERROR | [x] Missing class doc comment 38 | ERROR | [ ] Missing short description in doc comment 39 | ERROR | [ ] Missing parameter comment 39 | ERROR | [ ] Missing parameter type 40 | ERROR | [ ] Missing parameter comment 42 | ERROR | [ ] Description for the @return value is missing 49 | ERROR | [x] Expected 1 blank line after function; 0 found 50 | 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: transform_api/src/Access/TransformModeAccessCheck.php ------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES ------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 87 | ERROR | [x] Expected 1 newline at end of file; 2 found ------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/src/SectionComponentTransformBase.php ------------------------------------------------------------------- FOUND 2 ERRORS AND 3 WARNINGS AFFECTING 5 LINES ------------------------------------------------------------------- 6 | WARNING | [x] Unused use statement 7 | WARNING | [x] Unused use statement 8 | WARNING | [x] Unused use statement 12 | ERROR | [x] Missing class doc comment 17 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}? ------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/src/EntityTransformModeInterface.php ------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------- 7 | ERROR | [x] Missing interface doc comment ------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------- FILE: transform_api/transform_api.routing.yml ------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------- 82 | WARNING | Open page callback found, please add a comment before the line why there is no access restriction -------------------------------------------------------------------
- Status changed to Closed: duplicate
over 1 year ago 8:47am 6 October 2023