Skip to content

Conversation

@khanhtdbse
Copy link
Owner

No description provided.

@khanhtdbse khanhtdbse force-pushed the drone_integration branch from 080fb97 to 3daf4ba Compare May 12, 2017 03:32
@khanhtdbse khanhtdbse force-pushed the drone_integration branch from 3daf4ba to 7cc5f59 Compare May 12, 2017 03:47
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;

public function test () {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 () {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 () {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants