Created on 13 January 2023, over 1 year ago
Updated 27 January 2023, over 1 year ago

FILE: /var/www/html/web/modules/contrib/paragraphs_entity_embed/paragraphs_entity_embed.install
-----------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment (Drupal.Commenting.FileComment.Missing)
-----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------

FILE: /var/www/html/web/modules/contrib/paragraphs_entity_embed/src/Controller/ParagraphsEntityEmbedController.php
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
47 | ERROR | [ ] Parameter $connection is not described in comment (Drupal.Commenting.FunctionComment.ParamMissingDefinition)
102 | ERROR | [x] Parameter comment must end with a full stop (Drupal.Commenting.FunctionComment.ParamCommentFullStop)
215 | ERROR | [x] Language constructs must be followed by a single space; expected 1 space but found "··"
| | (Squiz.WhiteSpace.LanguageConstructSpacing.IncorrectSingle)
228 | ERROR | [x] Language constructs must be followed by a single space; expected 1 space but found "··"
| | (Squiz.WhiteSpace.LanguageConstructSpacing.IncorrectSingle)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: /var/www/html/web/modules/contrib/paragraphs_entity_embed/src/EmbeddedParagraphsForm.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
48 | ERROR | The array declaration extends to column 109 (the limit is 80). The array content should be split up over multiple lines
| | (Drupal.Arrays.Array.LongLineDeclaration)
52 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead (DrupalPractice.Objects.GlobalDrupal.GlobalDrupal)
56 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead (DrupalPractice.Objects.GlobalDrupal.GlobalDrupal)
65 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead (DrupalPractice.Objects.GlobalDrupal.GlobalDrupal)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: /var/www/html/web/modules/contrib/paragraphs_entity_embed/src/EmbeddedParagraphsViewsData.php
----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line (Drupal.WhiteSpace.OpenTagNewline.BlankLine)
10 | ERROR | [x] Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
17 | ERROR | [ ] Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead
| | (Drupal.Commenting.InlineComment.DocBlock)
30 | ERROR | [x] Expected 1 blank line after function; 0 found (Squiz.WhiteSpace.FunctionSpacing.AfterLast)
31 | ERROR | [x] The closing brace for the class must have an empty line before it (Drupal.Classes.ClassDeclaration.CloseBraceAfterBody)
----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------

FILE: /var/www/html/web/modules/contrib/paragraphs_entity_embed/src/Form/ParagraphEmbedDialog.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
56 | WARNING | Unused variable $editor. (DrupalPractice.CodeAnalysis.VariableAnalysis.UnusedVariable)
105 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
| | (DrupalPractice.Objects.GlobalFunction.GlobalFunction)
129 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
| | (DrupalPractice.Objects.GlobalFunction.GlobalFunction)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: /var/www/html/web/modules/contrib/paragraphs_entity_embed/src/Plugin/CKEditorPlugin/DrupalParagraph.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
31 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
| | (DrupalPractice.Objects.GlobalFunction.GlobalFunction)
32 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
| | (DrupalPractice.Objects.GlobalFunction.GlobalFunction)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: /var/www/html/web/modules/contrib/paragraphs_entity_embed/src/Plugin/EmbedType/Paragraph.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
69 | ERROR | The array declaration extends to column 96 (the limit is 80). The array content should be split up over multiple lines
| | (Drupal.Arrays.Array.LongLineDeclaration)
92 | WARNING | Unused variable $values. (DrupalPractice.CodeAnalysis.VariableAnalysis.UnusedVariable)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: /var/www/html/web/modules/contrib/paragraphs_entity_embed/src/Plugin/Field/FieldWidget/EmbedParagraphsWidget.php
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
93 | ERROR | [x] Use null coalesce operator instead of ternary operator.
| | (SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator.NullCoalesceOperatorNotUsed)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇸United States smustgrave

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024