Skip to content

Commit 0459921

Browse files
Merge pull request #11 from bytes-commerce/php-7-deprecation
Deprecate PHP7.4, adapt docker compose file.
2 parents 5575488 + 4e41326 commit 0459921

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ jobs:
1515
strategy:
1616
matrix:
1717
php-version:
18-
- "7.4"
1918
- "8.0"
2019
- "8.1"
2120
- "8.2"
2221
- "8.3"
2322

2423
steps:
2524
- name: "Checkout"
26-
uses: "actions/checkout@v2"
25+
uses: "actions/checkout@v4"
2726

2827
- name: "Install PHP"
2928
uses: "shivammathur/setup-php@v2"
@@ -34,7 +33,7 @@ jobs:
3433
tools: composer:v2, cs2pr
3534

3635
- name: "Cache dependencies"
37-
uses: "actions/cache@v2"
36+
uses: "actions/cache@v4"
3837
with:
3938
path: |
4039
~/.composer/cache

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
"variadic",
1010
"consecutive params"
1111
],
12-
"homepage": "https://github.com/nopenopenope/behat-test-runner",
12+
"homepage": "https://www.bytes-commerce.de",
1313
"license": "GPL-3.0-or-later",
1414
"minimum-stability": "dev",
1515
"authors": [
1616
{
1717
"name": "Maximilian Graf Schimmelmann",
18-
"email": "[email protected]",
19-
"homepage": "https://www.schimmelmann.org",
18+
"email": "[email protected]",
19+
"homepage": "https://www.bytes-commerce.de",
2020
"role": "Developer"
2121
}
2222
],
2323
"require": {
24-
"php": "^7.4|^8.0"
24+
"php": "^8.0"
2525
},
2626
"require-dev": {
2727
"phpstan/phpstan": "^1.10",

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.9'
2-
31
services:
42
php:
53
build:

docker/php/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM php:8.2.7-zts-alpine3.18
1+
FROM php:8.3
22

33
WORKDIR /var/www/html/
44
ENV COMPOSER_ALLOW_SUPERUSER=1
55

66
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
77

8-
RUN apk add --update linux-headers
9-
RUN apk add -u \
8+
RUN apt update
9+
RUN apt install -y \
1010
nano \
1111
wget \
1212
unzip \

0 commit comments

Comments
 (0)