Skip to content

Conversation

@bocharsky-bw
Copy link
Member

@bocharsky-bw bocharsky-bw commented Feb 9, 2022

Currently, friendsofphp/php-cs-fixer is ancient: v2.18.3. I hope the new image will use the latest version

@bocharsky-bw
Copy link
Member Author

Config is the same, I just ported it to the newest format, but now PHP CS Fixer drops a lot of backslashes in front of functions. I'm not sure if we should tweak the config, or keep these changes. Any thoughts?

@bocharsky-bw
Copy link
Member Author

bocharsky-bw commented Feb 14, 2022

Well, PHP CS Fixer works... and is something internal in this repo. About backslashes - I double-checked Symfony source code and Symfony does not use backslashes for those dropped functions as well, but some are still used e.g. for \count(). So, these changes look good to me too, I think this is ready to be merged

@bocharsky-bw bocharsky-bw merged commit 830cc04 into php-translation:master Feb 14, 2022
@bocharsky-bw bocharsky-bw deleted the php-cs-fixer branch February 14, 2022 11:52
@rvanlaak
Copy link
Member

Great job @bocharsky-bw !

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