Upgrade to Drupal 11

- Update to PHP 8.3.
- Remove the examples module.
- Upgrade Drush to version 13.
- Upgrade Drupal to 11.
This commit is contained in:
Oliver Davies 2024-08-04 13:04:23 +01:00
parent 1176ffb791
commit f4aa3d8a68
4 changed files with 1162 additions and 1171 deletions

View file

@ -1,6 +1,6 @@
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs. # Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
FROM php:8.2-fpm-bullseye AS base FROM php:8.3-fpm-bullseye AS base
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
RUN which composer && composer -V RUN which composer && composer -V

View file

@ -10,7 +10,7 @@ database:
version: 10 version: 10
php: php:
version: 8.2-fpm-bullseye version: 8.3-fpm-bullseye
phpcs: phpcs:
paths: paths:
- web/modules/custom - web/modules/custom

View file

@ -16,11 +16,10 @@
], ],
"require": { "require": {
"composer/installers": "^1.9", "composer/installers": "^1.9",
"drupal/core-composer-scaffold": "^10", "drupal/core-composer-scaffold": "^11",
"drupal/core-project-message": "^10", "drupal/core-project-message": "^11",
"drupal/core-recommended": "^10", "drupal/core-recommended": "^11",
"drupal/examples": "^4.0", "drush/drush": "^13"
"drush/drush": "^12.4"
}, },
"conflict": { "conflict": {
"drupal/drupal": "*" "drupal/drupal": "*"
@ -111,7 +110,7 @@
} }
}, },
"require-dev": { "require-dev": {
"drupal/core-dev": "^10", "drupal/core-dev": "^11",
"phpspec/prophecy-phpunit": "^2" "phpspec/prophecy-phpunit": "^2"
} }
} }

2318
composer.lock generated

File diff suppressed because it is too large Load diff