Skip to content

Commit

Permalink
Drop Drupal <10.1 support
Browse files Browse the repository at this point in the history
also fix QA pipeline
  • Loading branch information
mxr576 committed Apr 8, 2024
1 parent df1167b commit 7526fd3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
php_image: ["wodby/drupal-php:8.1-dev"]
db_image: ["wodby/mariadb:10.5"]
# TODO Get version range from composer.json dynamically.
drupal_version: ["~9.4.0", "~9.5.0", "^10.0"]
drupal_version: ["^10.1"]
lowest_highest: ["--prefer-lowest", ""]

steps:
Expand Down
28 changes: 17 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,17 @@
],
"require": {
"php": "~8.1.0",
"drupal/core": "^9.4 || ^10.0"
"drupal/core": "^10.1"
},
"require-dev": {
"bower-asset/swagger-ui": "^4.15.0",
"composer/installers": "^v2.2.0",
"composer/installers": "^2.2.0",
"drupal/core-composer-scaffold": "^9.4 || ^10.0.0",
"drupal/core-dev": "^9.4 || ^10.0.0",
"drupal/core-recommended": "^9.4 || ^10.0.0",
"drupal/core-dev": "^10.1",
"drupal/core-recommended": "^10.1",
"drupal/devel": "^5.1.1",
"league/container": "<4.0.0 || >=4.1.1",
"pronovix/drupal-qa": "^3.11.1",
"pronovix/simple-symlink": "^3.11.1",
"pronovix/drupal-qa": "^4.2.0",
"zaporylie/composer-drupal-optimizations": "^1.2"
},
"repositories": [
Expand Down Expand Up @@ -60,13 +59,14 @@
"config": {
"allow-plugins": {
"composer/installers": true,
"drupal/core-composer-scaffold": true,
"cweagans/composer-patches": true,
"zaporylie/composer-drupal-optimizations": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"drupal/core-composer-scaffold": true,
"ergebnis/composer-normalize": true,
"php-http/discovery": false,
"phpstan/extension-installer": false,
"pronovix/drupal-qa": true,
"phpstan/extension-installer": false
"zaporylie/composer-drupal-optimizations": true
},
"optimize-autoloader": true,
"sort-packages": true,
Expand Down Expand Up @@ -139,10 +139,16 @@
},
"scripts": {
"post-install-cmd": [
"Pronovix\\SimpleSymlink\\ScriptHandler::createSymlinks"
"@symlink-for-local-dev-env"
],
"post-update-cmd": [
"Pronovix\\SimpleSymlink\\ScriptHandler::createSymlinks"
"@symlink-for-local-dev-env"
],
"symlink-for-local-dev-env": [
"@php -r \"@symlink('../../..', 'build/web/modules/drupal_module');\"",
"@php -r \"@symlink('../phpcs.xml.dist', 'build/phpcs.xml.dist');\"",
"@php -r \"@symlink('../phpstan-baseline.neon', 'build/phpstan-baseline.neon');\"",
"@php -r \"@symlink('../phpstan.neon.dist', 'build/phpstan.neon.dist');\""
]
}
}

0 comments on commit 7526fd3

Please sign in to comment.