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

Add a flag to use the local project's version of Laravel Pint #8

Merged
merged 3 commits into from
May 24, 2023

Conversation

likeadeckofcards
Copy link
Contributor

The new flag will tie Laravel/pint to the version saved in the project composer.lock file.

@aglipanci
Copy link
Owner

Thanks @likeadeckofcards ! Interesting approach.

@aglipanci aglipanci merged commit 859b17c into aglipanci:main May 24, 2023
@lloricode
Copy link

Hi, can you describe how to use this feature?

@aglipanci
Copy link
Owner

@lloricode if you have laravel pint as part of your composer dependencies (composer.json, composer.lock) and on your workflow you specify useComposer: true it will use the specific pint version that is part of your composer file. This is very useful when you want to have a specific version everywhere.

@lloricode
Copy link

@lloricode if you have laravel pint as part of your composer dependencies (composer.json, composer.lock) and on your workflow you specify useComposer: true it will use the specific pint version that is part of your composer file. This is very useful when you want to have a specific version everywhere.

thanks for the quick respond, great you save me handling this, thank you 💯

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.

None yet

3 participants