Skip to content

Conversation

@ChristophWurst
Copy link
Member

Docs at https://github.com/FriendsOfPhp/PHP-CS-Fixer.

This is also used by Symfony.

I like it because it gives consistency.

Demo: nextcloud/server#23189

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@nickvergessen
Copy link
Member

So how do we do things like this? always bump the major?

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

Makes sense 👍

@ChristophWurst
Copy link
Member Author

So how do we do things like this? always bump the major?

Excellent question. I'm not sure. Breaking change would mean that the API the lib exposes changes, right? And then it becomes a bit unclear if a change like this is a breaking one or not. Yes, the code needs to be formatted differently, but we use the lib the same way.

Other linting libs like https://github.com/vuejs/eslint-plugin-vue/releases have a sane SEMVER but they expose just the rules. We enforce all of them by default.

I think I'll just try to get a set of changes in and then do a major bump. But I'm not sure how to handle individual changes like this one if this was to be released ASAP.

@ChristophWurst ChristophWurst merged commit 2ef4049 into master Oct 6, 2020
@delete-merged-branch delete-merged-branch bot deleted the enhancement/binary_operator_spaces branch October 6, 2020 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants