Skip to content

Commit 3516539

Browse files
authored
Merge pull request #175 from kapilpandya22/DEV-1779-remove-php-7.x
Drop support for PHP 7 (7.0–7.4)
2 parents 1c4b48e + 4788d0a commit 3516539

52 files changed

Lines changed: 42 additions & 1095 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/coding-standard-images.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
strategy:
2121
matrix:
2222
php-version:
23-
- "7.3"
24-
- "7.4"
2523
- "8.1"
2624
- "8.2"
2725
- "8.3"

.github/workflows/integration-test-images.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
strategy:
2121
matrix:
2222
php-version:
23-
- "7.3"
24-
- "7.4"
2523
- "8.1"
2624
- "8.2"
2725
- "8.3"

.github/workflows/mess-detector-images.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ jobs:
2727
strategy:
2828
matrix:
2929
php-version:
30-
- "7.3"
31-
- "7.4"
3230
- "8.1"
3331
- "8.2"
3432
- "8.3"

.github/workflows/php-compatibility.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
strategy:
2121
matrix:
2222
php-version:
23-
- "7.3"
24-
- "7.4"
2523
- "8.1"
2624
- "8.2"
2725
- "8.3"

.github/workflows/phpstan-images.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ jobs:
2727
strategy:
2828
matrix:
2929
php-version:
30-
- "7.3"
31-
- "7.4"
3230
- "8.1"
3331
- "8.2"
3432
- "8.3"

.github/workflows/unit-test-images.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
strategy:
2121
matrix:
2222
php-version:
23-
- "7.3"
24-
- "7.4"
2523
- "8.1"
2624
- "8.2"
2725
- "8.3"

README.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ jobs:
5454
runs-on: ubuntu-latest
5555
services:
5656
mysql:
57-
image: mysql:5.7
57+
image: mysql:8.4
5858
env:
5959
MYSQL_ROOT_PASSWORD: root
6060
ports:
6161
- 3306:3306
6262
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
6363
es:
64-
image: docker.io/wardenenv/elasticsearch:7.8
64+
image: docker.io/wardenenv/elasticsearch:8.18
6565
ports:
6666
- 9200:9200
6767
env:
@@ -71,21 +71,23 @@ jobs:
7171
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
7272
steps:
7373
- uses: actions/checkout@v6
74-
- name: M2 Integration Tests with Magento 2 (Php7.4)
75-
uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
74+
- name: M2 Integration Tests with Magento 2 (PHP 8.5)
75+
uses: extdn/github-actions-m2/magento-integration-tests/8.5@master
7676
with:
7777
module_name: Foo_Bar
7878
composer_name: foo/magento2-foobar
79-
magento_version: '2.4.0'
79+
magento_version: '2.4.9'
8080
```
8181

8282
The following images are provided for use
8383

8484
|Php | Image |
8585
|---|---|
86-
|7.4 | extdn/github-actions-m2/magento-integration-tests/7.4@master |
87-
|7.3 | extdn/github-actions-m2/magento-integration-tests/7.3@master |
88-
|7.2 | extdn/github-actions-m2/magento-integration-tests/7.2@master |
86+
|8.5 | extdn/github-actions-m2/magento-integration-tests/8.5@master |
87+
|8.4 | extdn/github-actions-m2/magento-integration-tests/8.4@master |
88+
|8.3 | extdn/github-actions-m2/magento-integration-tests/8.3@master |
89+
|8.2 | extdn/github-actions-m2/magento-integration-tests/8.2@master |
90+
|8.1 | extdn/github-actions-m2/magento-integration-tests/8.1@master |
8991

9092
The following inputs are required:
9193
| with | description |
@@ -106,24 +108,24 @@ The default [phpunit.xml](https://github.com/extdn/github-actions-m2/blob/master
106108
If this phpunit file does not work for you can provide a relative path to your own PHPUnit file via phpunit_file
107109

108110
```
109-
- name: M2 Integration Tests with Magento 2 (Php7.4)
110-
uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
111+
- name: M2 Integration Tests with Magento 2 (PHP 8.5)
112+
uses: extdn/github-actions-m2/magento-integration-tests/8.5@master
111113
with:
112114
module_name: Foo_Bar
113115
composer_name: foo/magento2-foobar
114-
magento_version: '2.4.0'
116+
magento_version: '2.4.9'
115117
phpunit_file: './path/to/phpunit.xml'
116118
```
117119

118120
Sometimes it may be needed to run additional commands before tests can run. For example to add or remove additional dependencies. Use the input magento_pre_install_script to provide a relative path to this script. Example
119121

120122
```
121-
- name: M2 Integration Tests with Magento 2 (Php7.4)
122-
uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
123+
- name: M2 Integration Tests with Magento 2 (PHP 8.5)
124+
uses: extdn/github-actions-m2/magento-integration-tests/8.5@master
123125
with:
124126
module_name: Foo_Bar
125127
composer_name: foo/magento2-foobar
126-
magento_version: '2.4.0'
128+
magento_version: '2.4.9'
127129
magento_pre_install_script: './.github/integration-test-setup.sh'
128130
```
129131

@@ -207,7 +209,7 @@ jobs:
207209
runs-on: ubuntu-latest
208210
steps:
209211
- uses: actions/checkout@v6
210-
- uses: extdn/github-actions-m2/magento-phpstan/8.1@master
212+
- uses: extdn/github-actions-m2/magento-phpstan/8.5@master
211213
with:
212214
composer_name: foo/magento2-foobar
213215
```

examples/extdn-integration-tests-with-elasticsearch.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ jobs:
2424
COMPOSER_NAME: ${{ secrets.COMPOSER_NAME }}
2525
steps:
2626
- uses: actions/checkout@v6
27-
- uses: extdn/github-actions-m2/magento-integration-tests/7.3@master
28-
env:
29-
MAGENTO_VERSION: '2.3.7-p3'
30-
- uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
31-
env:
32-
MAGENTO_VERSION: '2.4.3-p2'
3327
- uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
3428
env:
3529
MAGENTO_VERSION: '2.4.4'

examples/extdn-integration-tests-with-marketplace.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ jobs:
2828
ELASTICSEARCH: 1
2929
steps:
3030
- uses: actions/checkout@v6
31-
- uses: extdn/github-actions-m2/magento-integration-tests/7.3@master
32-
env:
33-
MAGENTO_VERSION: '2.3.7-p3'
34-
- uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
35-
env:
36-
MAGENTO_VERSION: '2.4.3-p2'
3731
- uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
3832
env:
3933
MAGENTO_VERSION: '2.4.4'

examples/extdn-integration-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ jobs:
1818
COMPOSER_NAME: ${{ secrets.COMPOSER_NAME }}
1919
steps:
2020
- uses: actions/checkout@v6
21-
- uses: extdn/github-actions-m2/magento-integration-tests/7.3@master
22-
env:
23-
MAGENTO_VERSION: '2.3.7-p3'
24-
- uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
25-
env:
26-
MAGENTO_VERSION: '2.4.3-p2'
2721
- uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
2822
env:
2923
MAGENTO_VERSION: '2.4.4'

0 commit comments

Comments
 (0)