Skip to content

Commit

Permalink
Drupal 11 compatibility (#309)
Browse files Browse the repository at this point in the history
* update symfony constraint to allow 7.0+

* use former constraint notation

* update composer.lock content-hash

* update CI to use Drupal 10

* update to php 8.2 on CI

* use correct docker image name

* use correct docker image name, for real

* back to php 7.3

* try apt instead of apt-get

* use libjpeg-dev for ubuntu container on CI

* use shell environment when running docker-php-ext-install on CI

* gd is built into PHP of the new Docker image

* use new php.ini file on CI

* php memory limit already disabled in docker image

* xdebug is not installed in the docker container on CI

* update to php 8.2 on CI

* revert CI config changes

* pin to ctools version that supported D8

* pin to ctools version that supported D8 (use tag)

* allow the composer-patches plugin during AppVeyor job

* fix composer project directory in appveyor script

* ignore platform reqs when running composer install on appveyor

* use --no-interaction during composer install on appveyor

* enable composer/installers plugin on appveyor

* allow the rest (hopefully) of the composer plugins on appveyor

* remove allow for missing composer plugin on appveyor

* remove allow for missing composer plugin on appveyor

* fix composer config command on appveyor

* allow composer plugins on appveyor based on local install

* allow missing composer config value

* change back to appveyor build folder after composer install
  • Loading branch information
byrond authored Aug 14, 2024
1 parent 358c977 commit 4011f1f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
- global-require
- create-drupal-project
- require-contrib:
project: drupal/ctools:3.x-dev
project: drupal/ctools:3.9
- run:
name: Run against a module
command: |
Expand Down
11 changes: 10 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,16 @@ install:
- refreshenv
- SET | more
- composer install --no-interaction --no-progress --no-suggest --prefer-dist
- set COMPOSER_MEMORY_LIMIT=-1&& composer create-project drupal-composer/drupal-project:8.x-dev %APPVEYOR_BUILD_FOLDER%\..\drupal --no-interaction --prefer-dist --ignore-platform-reqs
- set COMPOSER_MEMORY_LIMIT=-1&& composer create-project drupal-composer/drupal-project:8.x-dev %APPVEYOR_BUILD_FOLDER%\..\drupal --no-interaction --prefer-dist --ignore-platform-reqs --no-install
- cd %APPVEYOR_BUILD_FOLDER%\..\drupal
- composer config --no-plugins allow-plugins.cweagans/composer-patches true
- composer config --no-plugins allow-plugins.composer/installers true
- composer config --no-plugins allow-plugins.drupal/core-composer-scaffold true
- composer config --no-plugins allow-plugins.zaporylie/composer-drupal-optimizations true
- composer config --no-plugins allow-plugins.drupal/console-extend-plugin true
- composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
- set COMPOSER_MEMORY_LIMIT=-1&& composer install --no-interaction --ignore-platform-req=ext-gd
- cd %APPVEYOR_BUILD_FOLDER%
build: off
test_script:
- php drupal-check --version
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"mglaman/phpstan-drupal": "^1.0.0",
"nette/neon": "^3.1",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"symfony/console": "~3.4.5 || ^4.2|| ^5.0 || ^6.0",
"symfony/process": "~3.4.5 || ^4.2|| ^5.0 || ^6.0",
"symfony/console": "~3.4.5 || ^4.2|| ^5.0 || ^6.0 || ^7.0",
"symfony/process": "~3.4.5 || ^4.2|| ^5.0 || ^6.0 || ^7.0",
"webflo/drupal-finder": "^1.1"
},
"require-dev": {
Expand Down
6 changes: 3 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4011f1f

Please sign in to comment.