Skip to content
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

Merged
merged 8 commits into from
Dec 23, 2022
Merged

Conversation

imdhemy
Copy link
Contributor

@imdhemy imdhemy commented Dec 23, 2022

This PR installs Laravel Pint.

Laravel Pint requires PHP 8.0 or higher, so I've also dropped support for PHP 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.

@@ -164,10 +164,10 @@ protected function validate(string $attribute, string $item): array

Copy link
Contributor Author

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

Copy link
Contributor Author

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.

@freekmurze
Copy link
Member

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.

@freekmurze freekmurze merged commit c65e8ae into spatie:main Dec 23, 2022
@freekmurze freekmurze changed the title [BC BREAK] Install Laravel Pint Install Laravel Pint Dec 23, 2022
@imdhemy imdhemy deleted the install-laravel-pint branch December 23, 2022 13:24
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