You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depending on how I indent an array, I have a false positive on the next line:
<?php
class foo
{
public function get()
{
$foo = ['b' => 'c',
'd' => [
['e' => 'f']
]];
return 42;
}
}
In this one, I have a Line indented incorrectly; expected at least 16 spaces, found 8 [Generic.WhiteSpace.ScopeIndent.Incorrect] on the return keyword.
But this one pass:
<?php
class foo
{
public function get()
{
$foo = ['b' => 'c',
'd' => [
['e' => 'f']]];
return 42;
}
}
The text was updated successfully, but these errors were encountered:
gsherwood
changed the title
Probable false positive on Generic.WhiteSpace.ScopeIndent.Incorrect
ScopeIndent can fail when multiple short array closers are on the same line
Oct 6, 2015
gsherwood
changed the title
ScopeIndent can fail when multiple short array closers are on the same line
ScopeIndent can fail when multiple array closers are on the same line
Oct 6, 2015
Depending on how I indent an array, I have a false positive on the next line:
In this one, I have a
Line indented incorrectly; expected at least 16 spaces, found 8 [Generic.WhiteSpace.ScopeIndent.Incorrect]
on thereturn
keyword.But this one pass:
The text was updated successfully, but these errors were encountered: