Peg Symfony to version 2 in require-dev. #2799
Closed
greg-1-anderson wants to merge 1 commit into
Closed
Conversation
Member
|
Drush 8.x is already restricted to Symfony2 - https://github.com/drush-ops/drush/blob/8.x/composer.json |
Member
Author
|
This PR is for the master branch. The 8.x PR adds Symfony 3, but restricts the global install to Symfony 2. See: #2800 for 8.x. |
Member
Author
|
The global install for Drush 9 will not support Drupal 8.3.x or earlier. Use Drush 8.x. for that. Unsupported workaround: |
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 global installation of Drush 9 is only unofficially supported. All the same, there is a problem that the global install does not support Drupal 8.3.x out-of-the-box due to the composer.json requirement of Symfony 3 components.
This experimental PR requires the older version of Symfony in the require-dev section. This makes the global install of Drush 9 work with Drupal 8.3.x and Drupal 8.4.x.
This will be ignored for site-local Drush, so the supported configurations will continue to work as before.
If this is committed at all, it should be backed out at some point in the future. Unsure if we should do this for master; we probably should do it for Drush 8.x, but it is more convenient to test with the sut on the master branch, so starting here first.