Issue #3324781: Add split text functionality to CKEditor 5 #230
reviewdog [drupal-coder (drupal)] report
reported by reviewdog 🐶
Findings (19)
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|5 col 1| Unused use statement
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|19 col 6| Doc comment short description must be on a single line, further text should be a separate paragraph
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|26 col 3| Visibility must be declared on method "triggerKeyUp"
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|107 col 1| Line exceeds 80 characters; contains 127 characters
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|107 col 1| Line indented incorrectly; expected 4 spaces, found 0
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|107 col 1| Comment indentation error, expected only 1 spaces
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|108 col 1| Line exceeds 80 characters; contains 109 characters
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|108 col 1| There must be no blank line following an inline comment
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|108 col 1| Line indented incorrectly; expected 4 spaces, found 0
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|108 col 1| Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|115 col 1| Line exceeds 80 characters; contains 127 characters
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|115 col 1| Line indented incorrectly; expected 4 spaces, found 0
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|115 col 1| 4 spaces found before inline comment; expected "// $is_option_visible = $session->evaluateScript("jQuery('.paragraphs-features__split-text__option:visible').length === 1");" but found "// $is_option_visible = $session->evaluateScript("jQuery('.paragraphs-features__split-text__option:visible').length === 1");"
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|116 col 1| Line exceeds 80 characters; contains 130 characters
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|116 col 1| Line indented incorrectly; expected 4 spaces, found 0
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|117 col 1| Line indented incorrectly; expected 4 spaces, found 0
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|118 col 1| Line indented incorrectly; expected 4 spaces, found 0
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|119 col 1| There must be no blank line following an inline comment
tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php|119 col 1| Line indented incorrectly; expected 4 spaces, found 0
Filtered Findings (0)
Annotations
Check warning on line 5 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L5 <Drupal.Classes.UnusedUseStatement.UnusedUse>
Unused use statement
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:5:1: warning: Unused use statement (Drupal.Classes.UnusedUseStatement.UnusedUse)
Check failure on line 19 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L19 <Drupal.Commenting.DocComment.ShortSingleLine>
Doc comment short description must be on a single line, further text should be a separate paragraph
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:19:6: error: Doc comment short description must be on a single line, further text should be a separate paragraph (Drupal.Commenting.DocComment.ShortSingleLine)
Check failure on line 26 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L26 <Drupal.Scope.MethodScope.Missing>
Visibility must be declared on method "triggerKeyUp"
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:26:3: error: Visibility must be declared on method "triggerKeyUp" (Drupal.Scope.MethodScope.Missing)
Check warning on line 107 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L107 <Drupal.Files.LineLength.TooLong>
Line exceeds 80 characters; contains 127 characters
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:107:1: warning: Line exceeds 80 characters; contains 127 characters (Drupal.Files.LineLength.TooLong)
Check failure on line 107 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L107 <Drupal.WhiteSpace.ScopeIndent.IncorrectExact>
Line indented incorrectly; expected 4 spaces, found 0
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:107:1: error: Line indented incorrectly; expected 4 spaces, found 0 (Drupal.WhiteSpace.ScopeIndent.IncorrectExact)
Check failure on line 107 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L107 <Drupal.Commenting.InlineComment.SpacingBefore>
Comment indentation error, expected only 1 spaces
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:107:1: error: Comment indentation error, expected only 1 spaces (Drupal.Commenting.InlineComment.SpacingBefore)
Check warning on line 108 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L108 <Drupal.Files.LineLength.TooLong>
Line exceeds 80 characters; contains 109 characters
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:108:1: warning: Line exceeds 80 characters; contains 109 characters (Drupal.Files.LineLength.TooLong)
Check warning on line 108 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L108 <Drupal.Commenting.InlineComment.SpacingAfter>
There must be no blank line following an inline comment
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:108:1: warning: There must be no blank line following an inline comment (Drupal.Commenting.InlineComment.SpacingAfter)
Check failure on line 108 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L108 <Drupal.WhiteSpace.ScopeIndent.IncorrectExact>
Line indented incorrectly; expected 4 spaces, found 0
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:108:1: error: Line indented incorrectly; expected 4 spaces, found 0 (Drupal.WhiteSpace.ScopeIndent.IncorrectExact)
Check failure on line 108 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L108 <Drupal.Commenting.InlineComment.InvalidEndChar>
Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:108:1: error: Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses (Drupal.Commenting.InlineComment.InvalidEndChar)
Check warning on line 115 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L115 <Drupal.Files.LineLength.TooLong>
Line exceeds 80 characters; contains 127 characters
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:115:1: warning: Line exceeds 80 characters; contains 127 characters (Drupal.Files.LineLength.TooLong)
Check failure on line 115 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L115 <Drupal.WhiteSpace.ScopeIndent.IncorrectExact>
Line indented incorrectly; expected 4 spaces, found 0
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:115:1: error: Line indented incorrectly; expected 4 spaces, found 0 (Drupal.WhiteSpace.ScopeIndent.IncorrectExact)
Check failure on line 115 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L115 <Drupal.Commenting.InlineComment.SpacingBefore>
4 spaces found before inline comment; expected "// $is_option_visible = $session->evaluateScript("jQuery('.paragraphs-features__split-text__option:visible').length === 1");" but found "// $is_option_visible = $session->evaluateScript("jQuery('.paragraphs-features__split-text__option:visible').length === 1");"
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:115:1: error: 4 spaces found before inline comment; expected "// $is_option_visible = $session->evaluateScript("jQuery('.paragraphs-features__split-text__option:visible').length === 1");" but found "// $is_option_visible = $session->evaluateScript("jQuery('.paragraphs-features__split-text__option:visible').length === 1");" (Drupal.Commenting.InlineComment.SpacingBefore)
Check warning on line 116 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L116 <Drupal.Files.LineLength.TooLong>
Line exceeds 80 characters; contains 130 characters
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:116:1: warning: Line exceeds 80 characters; contains 130 characters (Drupal.Files.LineLength.TooLong)
Check failure on line 116 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L116 <Drupal.WhiteSpace.ScopeIndent.IncorrectExact>
Line indented incorrectly; expected 4 spaces, found 0
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:116:1: error: Line indented incorrectly; expected 4 spaces, found 0 (Drupal.WhiteSpace.ScopeIndent.IncorrectExact)
Check failure on line 117 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L117 <Drupal.WhiteSpace.ScopeIndent.IncorrectExact>
Line indented incorrectly; expected 4 spaces, found 0
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:117:1: error: Line indented incorrectly; expected 4 spaces, found 0 (Drupal.WhiteSpace.ScopeIndent.IncorrectExact)
Check failure on line 118 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L118 <Drupal.WhiteSpace.ScopeIndent.IncorrectExact>
Line indented incorrectly; expected 4 spaces, found 0
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:118:1: error: Line indented incorrectly; expected 4 spaces, found 0 (Drupal.WhiteSpace.ScopeIndent.IncorrectExact)
Check warning on line 119 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L119 <Drupal.Commenting.InlineComment.SpacingAfter>
There must be no blank line following an inline comment
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:119:1: warning: There must be no blank line following an inline comment (Drupal.Commenting.InlineComment.SpacingAfter)
Check failure on line 119 in tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php
github-actions / drupal-coder (drupal)
[drupal-coder (drupal)] tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php#L119 <Drupal.WhiteSpace.ScopeIndent.IncorrectExact>
Line indented incorrectly; expected 4 spaces, found 0
Raw output
/github/workspace/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php:119:1: error: Line indented incorrectly; expected 4 spaces, found 0 (Drupal.WhiteSpace.ScopeIndent.IncorrectExact)