-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install Laravel Pint #59
Conversation
@@ -164,10 +164,10 @@ protected function validate(string $attribute, string $item): array | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No changes, only fixing style using Pint.
@@ -16,12 +16,10 @@ public function setUp(): void | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No changes, only fixing style using Pint.
Thanks! Dropping a PHP version is not a breaking change as composer will not pull in the updated package if you don't have the required PHP version. |
This PR installs Laravel Pint.
Laravel Pint requires
PHP 8.0
or higher, so I've also dropped support forPHP 7.4
. This requires a major version bump.I also used the default coding style from Pint as it's already opinionated and I wasn't sure what to use. So, feel free to suggest changes.
I've also added a GitHub action to run Pint inspections on PRs and pushes.