Skip to content

Conversation

@anuragmaher
Copy link
Owner

No description provided.


Auth::routes();

$test =
Copy link
Owner Author

Choose a reason for hiding this comment

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

[code_sniffer]

  • Whitespace found at end of line


use Illuminate\Http\Request;

class homecontroller{ $th }
Copy link
Owner Author

Choose a reason for hiding this comment

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

[code_sniffer]

  • Class name "homecontroller" is not in camel caps format
  • Opening brace of a class must be on the line after the definition
  • There must not be more than one property declared per statement
  • Visibility must be declared on property "$th"
  • The closing brace for the class must go on the next line after the body
  • Closing brace must be on a line by itself


class homecontroller{ $th }

class HomeController extends Controller
Copy link
Owner Author

Choose a reason for hiding this comment

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

[code_sniffer]

  • Each class must be in a file by itself


class homecontroller{ $th }

class homecontrollerwa { $th }
Copy link
Owner Author

Choose a reason for hiding this comment

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

[code_sniffer]

  • Each class must be in a file by itself
  • Class name "homecontrollerwa" is not in camel caps format
  • Opening brace of a class must be on the line after the definition
  • The closing brace for the class must go on the next line after the body
  • Closing brace must be on a line by itself

class homecontrollerwa { $th }


class HomeController extends Controller
Copy link
Owner Author

Choose a reason for hiding this comment

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

[code_sniffer]

  • Each class must be in a file by itself

@anuragmaher
Copy link
Owner Author

Click here if you want to create code_sniffer's auto-correct Pull Request
Auto Correct by SideCI

See the documentation if you want to get more information about auto-correct.
Document

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.

2 participants