Skip to content

ADD: New sniff for final controller#28

Merged
mantebalzaraviciute merged 5 commits intomainfrom
feature/add-final-controller-sniff
Mar 27, 2023
Merged

ADD: New sniff for final controller#28
mantebalzaraviciute merged 5 commits intomainfrom
feature/add-final-controller-sniff

Conversation

@mantebalzaraviciute
Copy link
Contributor

Issue: #25

Added a new sniff for checking that controllers are final

  • This also works with fixer as well. ✌🏻

Example:
Screenshot 2023-03-23 at 12 13 21

composer.json Outdated
},
"autoload": {
"psr-4": {
"PhpCodingStandards\\": "src"
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe this should be Jump24\\PhpCodingStandards\\ just to be really clear when importing bits that it's from this package and not another?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I made it JumpTwentyFour to match the laravel coding standards repo :)

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