Resolve #2774071: Fix Drupal.Arrays, SlevomatCodingStandard.PHP.ShortList.LongListUsed
Issue #2774071 Fix
- The array content should be split up over multiple lines (Drupal.Arrays.Array.LongLineDeclaration)
- Short array syntax must be used to define arrays (Drupal.Arrays.DisallowLongArraySyntax.Found)
- A comma should follow the last multiline array item. (Drupal.Arrays.Array.CommaLastItem)
- Array indentation error (Drupal.Arrays.Array.ArrayIndentation)
- list(...) is forbidden, use [...] instead. (SlevomatCodingStandard.PHP.ShortList.LongListUsed)
Edited by Nikolay Shapovalov
Merge request reports
Activity
added 1 commit
- 85d36892 - Data types in @var tags need to be fully namespaced
added 3 commits
added 15 commits
-
19bd13e5 - 1 commit from branch
project:8.x-1.x
- 19bd13e5...2e9f79e6 - 4 earlier commits
- d8c51717 - Fix Inline @var declarations
- 13662f27 - Fix Case breaking statements must be followed by a single blank line
- 0c5c4af9 - Fix add full stop at the end
- c458d64c - Fix add full stop at the end
- 9c81ddb3 - Data types in @var tags need to be fully namespaced
- 85a4ca4c - remove comments fix
- fad831d7 - remove comments fix
- cbe113a8 - fix array, list
- 1476f01d - fix Drupal.Arrays.Array
- b1ecc79d - fix new issues
Toggle commit list-
19bd13e5 - 1 commit from branch
Please register or sign in to reply