Composer: update PHPCS Composer plugin dependency#82
Open
jrfnl wants to merge 2 commits intoFloeDesignTechnologies:masterfrom
Open
Composer: update PHPCS Composer plugin dependency#82jrfnl wants to merge 2 commits intoFloeDesignTechnologies:masterfrom
jrfnl wants to merge 2 commits intoFloeDesignTechnologies:masterfrom
Conversation
The DealerDirect Composer plugin has just released version `0.7.0`. As Composer treats minors < 1.0 as majors, updating to this version requires an update to the `composer.json` requirements. > For pre-1.0 versions it also acts with safety in mind and treats `^0.3` as `>=0.3.0 <0.4.0`. Refs: * https://github.com/Dealerdirect/phpcodesniffer-composer-installer/releases/tag/v0.7.0 * https://getcomposer.org/doc/articles/versions.md#caret-version-range-
trackleft
approved these changes
Oct 26, 2020
|
Hi @jmarcil, any chance this could be merged and be included in a new release anytime soon? We've been using your tool in some of our projects but we've moved everything to Composer 2 and, as a result, we've created a fork of your project with just this change applied in order to be able to keep using this tool. Thanks! |
The Composer PHPCS plugin has released its 1.0.0 version. 🎉 Important: I've _widened_ the version constraints for the plugin, instead of _bumping_ it. The reason for this is to prevent conflicts with end-user projects/other external PHPCS standards which may also require(-dev) the plugin, but may not (yet) have updated _their_ constraints for the plugin. If the version would have been bumped instead of widened, those users would get an unsolvable conflict during the `composer install` run (unless they `require-dev` the plugin for the root project, but then, that's exactly what we _don't_ want them to do as external standards managing the versions of the plugins should be more reliable). The version constraints now set cover all released versions which support external standards properly. Ref: https://github.com/PHPCSStandards/composer-installer/releases/tag/v1.0.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The DealerDirect Composer plugin has just released version
0.7.0.This new version includes support for Composer 2.0.0 (upcoming) and allows for installation of the plugin in combination with PHP 8 and PHPCS 4.x-dev (for testing).
As Composer treats minors < 1.0 as majors, updating to this version requires an update to the
composer.jsonrequirements.Refs: