Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
token
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
token
Merge requests
!56
Resolve
#2774071
: Fix Drupal.Arrays, SlevomatCodingStandard.PHP.ShortList.LongListUsed
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Resolve
#2774071
: Fix Drupal.Arrays, SlevomatCodingStandard.PHP.ShortList.LongListUsed
issue/token-2774071:2774071-comments-switch
into
8.x-1.x
Overview
0
Commits
14
Pipelines
5
Changes
11
Open
Nikolay Shapovalov
requested to merge
issue/token-2774071:2774071-comments-switch
into
8.x-1.x
1 year ago
Overview
0
Commits
14
Pipelines
5
Changes
11
Expand
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
1 year ago
by
Nikolay Shapovalov
0
0
Merge request reports
Compare
8.x-1.x
version 4
08caab00
1 year ago
version 3
8e425e15
1 year ago
version 2
85d36892
1 year ago
version 1
4a0cde9c
1 year ago
8.x-1.x (HEAD)
and
latest version
latest version
b1ecc79d
14 commits,
1 year ago
version 4
08caab00
9 commits,
1 year ago
version 3
8e425e15
6 commits,
1 year ago
version 2
85d36892
5 commits,
1 year ago
version 1
4a0cde9c
4 commits,
1 year ago
11 files
+
139
−
28
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
src/Element/TokenTreeTable.php
+
11
−
1
Options
@@ -12,7 +12,17 @@ use Drupal\Core\Render\Element\Table;
*/
class
TokenTreeTable
extends
Table
{
protected
static
$cssFilter
=
[
' '
=>
'-'
,
'_'
=>
'-'
,
'/'
=>
'-'
,
'['
=>
'-'
,
']'
=>
''
,
':'
=>
'--'
,
'?'
=>
''
,
'<'
=>
'-'
,
'>'
=>
'-'
];
protected
static
$cssFilter
=
[
' '
=>
'-'
,
'_'
=>
'-'
,
'/'
=>
'-'
,
'['
=>
'-'
,
']'
=>
''
,
':'
=>
'--'
,
'?'
=>
''
,
'<'
=>
'-'
,
'>'
=>
'-'
,
];
/**
* {@inheritdoc}
Loading