Skip to content

Commit 1e7f162

Browse files
authored
Merge pull request #130 from ByteInternet/add-support-for-php84-update-dependancies
Add support for php84 update dependancies
2 parents 55b440d + ee61070 commit 1e7f162

File tree

10 files changed

+1470
-873
lines changed

10 files changed

+1470
-873
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
strategy:
99
matrix:
1010
php_version:
11-
- "7.4"
1211
- "8.0"
1312
- "8.1"
1413
- "8.2"
1514
- "8.3"
15+
- "8.4"
1616
node_version:
1717
- 16
1818
- 18

.github/workflows/test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
integration_test:
77
strategy:
88
matrix:
9-
php_version: [8.1, 8.2, 8.3]
9+
php_version: [8.2, 8.3, 8.4]
1010
testsuite: [general, brancher]
1111
runs-on: ubuntu-latest
1212
steps:
@@ -19,12 +19,12 @@ jobs:
1919
env:
2020
PHP_VERSION: ${{ matrix.php_version }}
2121
- name: Start SSH agent for brancher testsuite
22-
if: ${{ matrix.testsuite == 'brancher' && matrix.php_version == '8.3' }}
22+
if: ${{ matrix.testsuite == 'brancher' && matrix.php_version == '8.4' }}
2323
uses: webfactory/ssh-agent@v0.5.4
2424
with:
2525
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
2626
- name: Run brancher testsuite
27-
if: ${{ matrix.testsuite == 'brancher' && matrix.php_version == '8.3' }}
27+
if: ${{ matrix.testsuite == 'brancher' && matrix.php_version == '8.4' }}
2828
run: ./runtests.sh brancher
2929
shell: bash
3030
env:
@@ -34,7 +34,7 @@ jobs:
3434
code_quality:
3535
strategy:
3636
matrix:
37-
php_version: [7.4, 8.1, 8.2, 8.3]
37+
php_version: [8.1, 8.2, 8.3, 8.4]
3838
runs-on: ubuntu-latest
3939
steps:
4040
- name: Checkout hypernode-deploy

ci/test/run-general.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ set -e
44
set -x
55

66
export PHP_VERSION_SHORT=$(echo "${PHP_VERSION:-8.2}" | sed 's/\.//')
7+
if [[ "${PHP_VERSION:-8.2}" == "8.4" ]]; then
8+
export IMAGE_OS="bookworm"
9+
else
10+
export IMAGE_OS="buster"
11+
fi
712

813
# Handy aliases
914
HN="docker-compose exec -T hypernode"
@@ -59,7 +64,7 @@ end_task
5964

6065
begin_task "Setting Magento 2"
6166
# Create working initial Magento install on the Hypernode container
62-
$HN composer create-project --repository=https://mirror.mage-os.org/ magento/project-community-edition:2.4.7-p3 /data/web/magento2
67+
$HN composer create-project --repository=https://mirror.mage-os.org/ magento/project-community-edition:2.4.8 /data/web/magento2
6368
echo "Waiting for MySQL to be available on the Hypernode container"
6469
$HN bash -c "until mysql -e 'select 1' ; do sleep 1; done"
6570
install_magento

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"guzzlehttp/guzzle": "^7.5",
1818
"hypernode/api-client": "^0.4",
1919
"hypernode/deploy-configuration": "^3.4",
20-
"php-di/php-di": "^6.0",
20+
"php-di/php-di": "^7.0",
2121
"psr/log": "^1.0",
2222
"symfony/console": "^5.4",
2323
"symfony/finder": "^5.4",
@@ -36,9 +36,9 @@
3636
},
3737
"require-dev": {
3838
"phpro/grumphp-shim": "^1.13",
39-
"phpunit/phpunit": "^8.5",
39+
"phpunit/phpunit": "^9.5",
4040
"squizlabs/php_codesniffer": "^3.7",
41-
"vimeo/psalm": "^4.26"
41+
"vimeo/psalm": "^6.0"
4242
},
4343
"config": {
4444
"preferred-install": {

0 commit comments

Comments
 (0)