Conversation
080fb97 to
3daf4ba
Compare
3daf4ba to
7cc5f59
Compare
| { | ||
| use AuthorizesRequests, DispatchesJobs, ValidatesRequests; | ||
|
|
||
| public function test () { |
There was a problem hiding this comment.
Reporter: CHECKSTYLE
Rule: Squiz.Functions.FunctionDeclaration
Severity: ERROR
File: app/Http/Controllers/Controller.php L14
Expected "function abc(...)"; found "function abc (...)"
| { | ||
| use AuthorizesRequests, DispatchesJobs, ValidatesRequests; | ||
|
|
||
| public function test () { |
There was a problem hiding this comment.
Reporter: CHECKSTYLE
Rule: Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen
Severity: ERROR
File: app/Http/Controllers/Controller.php L14
Expected 0 spaces before opening parenthesis; 2 found
| { | ||
| use AuthorizesRequests, DispatchesJobs, ValidatesRequests; | ||
|
|
||
| public function test () { |
There was a problem hiding this comment.
Reporter: CHECKSTYLE
Rule: Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine
Severity: ERROR
File: app/Http/Controllers/Controller.php L14
Opening brace should be on a new line
| use AuthorizesRequests, DispatchesJobs, ValidatesRequests; | ||
|
|
||
| public function test () { | ||
| $test = array(1, 2,3, 4, 65); |
There was a problem hiding this comment.
Reporter: CHECKSTYLE
Rule: Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Severity: ERROR
File: app/Http/Controllers/Controller.php L15
Spaces must be used to indent lines; tabs are not allowed
| use AuthorizesRequests, DispatchesJobs, ValidatesRequests; | ||
|
|
||
| public function test () { | ||
| $test = array(1, 2,3, 4, 65); |
There was a problem hiding this comment.
Reporter: CHECKSTYLE
Rule: Framgia.Array.ArrayDeclaration.ShortArraySyntax
Severity: ERROR
File: app/Http/Controllers/Controller.php L15
"array()" function used. Use short array syntax, "[]", instead.
| use AuthorizesRequests, DispatchesJobs, ValidatesRequests; | ||
|
|
||
| public function test () { | ||
| $test = array(1, 2,3, 4, 65); |
There was a problem hiding this comment.
Reporter: CHECKSTYLE
Rule: Framgia.Array.ArrayDeclaration.NoSpaceAfterComma
Severity: ERROR
File: app/Http/Controllers/Controller.php L15
Expected 1 space between comma and "3"; 0 found
No description provided.