-
Notifications
You must be signed in to change notification settings - Fork 54
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
Updating dependencies in favor of Drupal 9 compatiblity #362
Conversation
1. Added "drupal/core-dev" for enabling PHPUnit tests. See: https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates#s-adding-drupalcore-dev 2. Updated "drupal/drupal-extension" to "^4.1". And removed other behat dependencies as they will be installed with drupal-extension. 3. Update "phpunit/phpunit" to "^9.1". See: https://www.drupal.org/project/drupal/issues/3127141 4. Removed symfony/css-selector as it will installed as dependency of symfony/http-kernel
ee831c5
to
f75074a
Compare
1. Also because of Drupal 9 requirement's for database. 2. See: https://www.drupal.org/docs/understanding-drupal/how-drupal-9-was-made-and-what-is-included/environment-requirements-of-drupal-9#s-database-backend-and-other-hosting-requirements
1. See: https://www.drupal.org/docs/upgrading-drupal/how-to-prepare-your-drupal-7-or-8-site-for-drupal-9/upgrading-a-drupal-8-site 2. See: https://www.drupal.org/docs/updating-drupal/how-to-prepare-your-drupal-7-or-8-site-for-drupal-9/deprecation-checking-and#s-use-the-drupal-8-branch-of-upgrade-status-for-full-site-reporting. 3. Removing mglaman/drupal-check in favor of mglaman/phpstan-drupal with phpstan/extension-installer and phpstan/phpstan-deprecation-rules. 4. See: https://drupal.slack.com/archives/CDDD98AMN/p1636715151099300.
a45ffcd
to
d4831f2
Compare
It fixes the conflicts with phpstan-drupal due to PHPStan versions. This fork resolves the conflicts.
1. Added composer.json similar to goalgorilla/drupal_social#362 2. Extends image from Drupal 9.1 3. Changed the way composer install command runs.
1. Added a new folder which will serve the purpose of doing D9 readiness development leaving the regular docker machines as it is. 2. Added composer.json similar to goalgorilla/drupal_social#362 3. Extends image from Drupal 9.1 4. Changed the way composer install command runs.
…added stable tag in favor of new release. 1. The PR palantirnet/drupal-rector#185 was merged. 2. See: https://github.com/palantirnet/drupal-rector/releases/tag/0.12.0
1. Changed dev to d9 tag for docker image. 2. Added Solr 8 configuration. 3. Upgraded selenium/standalone-firefox-debug image to install.
bc96cd0
to
ed990f0
Compare
"scripts": { | ||
"refresh": [ | ||
"rm -rf composer.lock vendor html/core html/modules/contrib html/profiles/contrib html/themes/contrib", | ||
"@composer update -W --ansi" | ||
] | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@navneet0693 Perhaps we can remove this since it's a command waiting for disaster for developers who do not grasp exactly what it does.
Your working copy of Open Social and themes will both be in html/*/contrib
and so this command will also throw those away along with your local copy of git. This means that if you have unpushed work or unstaged changes, those changes will be gone.
https://www.drupal.org/node/3176567
Updated "drupal/drupal-extension" to "^4.1". And removed other behat dependencies as they will be installed with drupal-extension.
Update "phpunit/phpunit" to "^9.1". See: https://www.drupal.org/project/drupal/issues/3127141
Removed symfony/css-selector as it will installed as dependency of symfony/http-kernel
Removed "roave/security-advisories" in favor of https://www.drupal.org/project/drupal/issues/3124260.
Composer migration guides: