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 ConfigurableFixerTrait to fix breaking changes from PHP-CS-Fixer #13

Closed
wants to merge 1 commit into from

Conversation

faustbrian
Copy link

PHP-CS-Fixer recently introduced a breaking change in PHP-CS-Fixer/PHP-CS-Fixer#7988 which requires to add a new trait.

Copy link
Owner

@erickskrauch erickskrauch left a comment

Choose a reason for hiding this comment

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

Looks good. I just need to check some questions above 👍

@@ -17,7 +17,7 @@
"homepage": "https://github.com/erickskrauch/php-cs-fixer-custom-fixers",
"require": {
"php": "^7.4 || ^8.0",
"friendsofphp/php-cs-fixer": "^3"
"friendsofphp/php-cs-fixer": "^3.59"
Copy link
Owner

Choose a reason for hiding this comment

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

Seems like the ConfigurableFixerTrait has been introduced only on version 3.59.3. So you have to be more strict about it.

Copy link
Owner

Choose a reason for hiding this comment

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

I would ask you to check, that the dependencies can be installed on the PHP 7.4.

@erickskrauch
Copy link
Owner

I apologize, I looked at the #14 and I like their solution better as it doesn't require raising the PHP-CS-Fixer requirement. But still, thank you so much for taking the time to create this PR! 🫶

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