Skip to content

Commit f80ef08

Browse files
authored
Merge pull request #58 from drunomics/feature/DEV-2035
improve: DEV-2025: Fix broken tests and upgrade php.
2 parents 59bed16 + 36e3bbb commit f80ef08

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/test-drupal-setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v2
1717
- name: Setup PHP
1818
run: |
19-
sudo update-alternatives --set php /usr/bin/php7.4
19+
sudo update-alternatives --set php /usr/bin/php8.1
2020
- name: "Determine composer cache directory"
2121
id: "determine-composer-cache-directory"
2222
run: "echo \"::set-output name=directory::$(composer config cache-dir)\""

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
},
118118
"tools": {
119119
"phapp": {
120-
"url": "https://github.com/drunomics/phapp-cli/releases/download/0.6.7/phapp.phar",
120+
"url": "https://github.com/drunomics/phapp-cli/releases/download/0.7.0/phapp.phar",
121121
"version": "0.6.7"
122122
},
123123
"local-php-security-checker": {
@@ -143,7 +143,7 @@
143143
},
144144
"config": {
145145
"platform": {
146-
"php": "7.4"
146+
"php": "8.1"
147147
},
148148
"sort-packages": true,
149149
"preferred-install": {

phapp.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ commands:
3939
chmod +w web/sites/default &&
4040
drush sql-create -y &&
4141
SITE=${SITE:-default} &&
42-
drush site-install -y --sites-subdir=$SITE --config-dir=../config/sync ${INSTALL_PROFILE:-minimal} &&
43-
drush en services_env_parameter -y
42+
drush site-install -y --sites-subdir=$SITE --config-dir=../config/sync ${INSTALL_PROFILE:-minimal}
4443
update: |
4544
./scripts/init-media-icons.sh &&
4645
drush updatedb -y &&

scripts/init-devsetup-docker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if [[ $PROJECT_ADD_DEVSETUP_DOCKER = 1 ]]; then
2828
php process-replacements.php
2929
rm -rf devsetup-tmp process-replacements.php
3030
echo \
31-
'COMPOSE_AMAZEEIO_VERSION=v1.9.1
32-
COMPOSE_AMAZEEIO_PHP_VERSION=7.4
31+
'COMPOSE_AMAZEEIO_VERSION=22.2.0
32+
COMPOSE_AMAZEEIO_PHP_VERSION=8.1
3333
' >> .env-defaults
3434
fi

0 commit comments

Comments
 (0)