Closed agarzola closed 1 year ago
The PHP version and Drush version are touted as configurable in the Drupal plugin doc site:
Configurable php version from 5.3 all the way to 8.1 Configurable composer and drush
php
5.3
8.1
composer
drush
However, that is not consistent with the code, as values are hardcoded for php and drush in the drupal9 recipe builder (and other recipes appear to also hardcode these values): https://github.com/lando/drupal/blob/155d20373fdc6544254f7c27ea40eafb2d4117b6/recipes/drupal9/builder.js#L14-L21
drupal9
Indeed, the following .lando.yml config still installs PHP 8.0:
.lando.yml
name: test-project recipe: drupal9 config: php: 8.1
It would be very helpful to make these configurable, as the documentation suggests.
False alarm! This is actually working as intended. I was able to configure the PHP version in another project, so something must be interfering with my configuration somehow.
The PHP version and Drush version are touted as configurable in the Drupal plugin doc site:
However, that is not consistent with the code, as values are hardcoded for
php
anddrush
in thedrupal9
recipe builder (and other recipes appear to also hardcode these values): https://github.com/lando/drupal/blob/155d20373fdc6544254f7c27ea40eafb2d4117b6/recipes/drupal9/builder.js#L14-L21Indeed, the following
.lando.yml
config still installs PHP 8.0:It would be very helpful to make these configurable, as the documentation suggests.