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

feat: user composer bin plugin to use php-cs-fixer #15

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

COil
Copy link
Member

@COil COil commented Jan 11, 2024

This PR aims to use the composer-bin plugin to install php-cs-fixer instead of requiring it in the require-dev section of the main project composer.json file.

Thanks to the bin-links parameter, the path of the php-cs-fixer binary stays the same.

This is a concrete example for my strangebuzz.com January blog post: Installing and using php-cs-fixer.

@COil COil self-assigned this Jan 11, 2024
@COil COil added the chore chore or cleanup label Jan 11, 2024
@COil COil force-pushed the feat/use-composer-bin-plugin-for-php-cs-fixer branch from 8bc8fec to 603ab51 Compare January 28, 2024 13:32
@COil COil merged commit 10e0d0f into main Jan 28, 2024
3 checks passed
@COil COil deleted the feat/use-composer-bin-plugin-for-php-cs-fixer branch January 28, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore chore or cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant