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

Add Drupal 10 recipe #4

Closed
gitressa opened this issue Jan 12, 2022 · 2 comments
Closed

Add Drupal 10 recipe #4

gitressa opened this issue Jan 12, 2022 · 2 comments

Comments

@gitressa
Copy link
Contributor

gitressa commented Jan 12, 2022

Drush 10 is EOL, so Drush 11 is required, see https://www.drush.org/latest/install/#drupal-compatibility. Also:

Drush 11 required for Drupal 10
Drush 10 has a dependency that requires Twig 1 or Twig 2 so is incompatible with Drupal 10, making Drush 11 required.

From Change record Twig updated from 2.x to 3.x.

For PHP and database versions, see [meta] Set Drupal 10 platform and browser requirements and Gather data to support potentially requiring PHP 8.1 in Drupal 10.0 or later.

Merge Request: #3.

@gitressa
Copy link
Contributor Author

I bumped up PHP to 8.1 in the MR since it's the recommended version for Drupal 10:

Recommendation
[...] Drupal 10 will require PHP 8.0.2 and PHP 8.1 is recommended.

What does it mean for a version of PHP to be "recommended"?
Drupal will work on all supported PHP versions. Recommended PHP versions are the best choice for building a Drupal site because they will remain supported longer.

From PHP requirements.

Since Lando is a tool for building web sites, we should use the recommended versions. Downgrading is always available via .lando.yml with this:

config:
  php: '8.0'

@labboy0276
Copy link
Sponsor Contributor

This has been resolved.

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

No branches or pull requests

2 participants