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

update fos/php-cs-fixer #10

Merged
merged 1 commit into from
Jul 12, 2018
Merged

update fos/php-cs-fixer #10

merged 1 commit into from
Jul 12, 2018

Conversation

DocRoms
Copy link
Contributor

@DocRoms DocRoms commented Jan 5, 2018

Update fos/php-cs-fixer 2.8.0 to 2.12.2in composer.json

@DocRoms DocRoms self-assigned this Jan 5, 2018
Copy link
Member

@Oliboy50 Oliboy50 left a comment

Choose a reason for hiding this comment

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

removing the patch version using ~ makes new minor versions requirable

it's not a big deal to me, but just saying

composer.json Outdated
@@ -12,7 +12,7 @@
}
],
"require": {
"friendsofphp/php-cs-fixer": "~2.8.0"
"friendsofphp/php-cs-fixer": "~2.9"
Copy link
Contributor

Choose a reason for hiding this comment

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

We had some breaking changes with php-cs-fixer v2 previously (https://github.com/M6Web/php-cs-fixer-config/pull/8/files), that's why we decided to remove the composer semver notation and stick to 2.8 only as php-cs-fixer didn't seem to be semver ready.
We should ensure that upgrading to 2.9 doesn't break anything on our internal repositories before doing that. In all cases we should better stick to ~2.9.0 instead of ~2.9.

@DocRoms DocRoms force-pushed the feature/update-php-cs-fixer branch from 863a740 to 810b6b4 Compare July 12, 2018 14:55
Fix minor number of php-cs-fixer version

Update cs-fixer

Fix composer fixer minor version

Fix Version
@DocRoms DocRoms force-pushed the feature/update-php-cs-fixer branch from 810b6b4 to c9ba6ab Compare July 12, 2018 15:18
@DocRoms DocRoms merged commit 79a9e16 into master Jul 12, 2018
@DocRoms DocRoms deleted the feature/update-php-cs-fixer branch July 12, 2018 15:32
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

4 participants