Skip to content

Commit dc22019

Browse files
authored
Merge pull request #93 from Art4/91-add-support-for-php-83
Add support for PHP 8.3
2 parents 2ba023c + 823cfea commit dc22019

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

.docker/Dockerfile-php82 renamed to .docker/PHP83-Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.2-fpm
1+
FROM php:8.3-fpm
22

33
RUN apt-get update
44
RUN apt-get --yes --no-install-recommends install \
@@ -34,7 +34,7 @@ RUN docker-php-ext-install -j$(nproc) \
3434
COPY build/php/opcache.ini /usr/local/etc/php/conf.d/
3535
COPY build/php/custom.ini /usr/local/etc/php/conf.d/
3636

37-
RUN pecl install xdebug-3.2.1 && docker-php-ext-enable xdebug
37+
RUN pecl install xdebug-3.3.0alpha3 && docker-php-ext-enable xdebug
3838

3939
RUN php --version
4040

.github/workflows/code-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
php: ['8.2']
15+
php: ['8.3']
1616

1717
name: "Check code style | PHP ${{ matrix.php }}"
1818

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
operating-system: ['ubuntu-latest']
17-
php: ['8.2']
17+
php: ['8.3']
1818

1919
steps:
2020
- name: Checkout

.github/workflows/unit-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
operating-system: ['ubuntu-latest']
17-
php: ['7.4', '8.0', '8.1', '8.2', '8.3']
17+
php: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
1818

1919
steps:
2020
- name: Checkout
@@ -30,11 +30,11 @@ jobs:
3030
tools: none
3131

3232
- name: "Install Composer dependencies"
33-
if: ${{ matrix.php < '8.3' }}
33+
if: ${{ matrix.php <= '8.3' }}
3434
uses: "ramsey/composer-install@v2"
3535

36-
- name: "Install Composer dependencies (PHP 8.3)"
37-
if: ${{ matrix.php >= '8.3' }}
36+
- name: "Install Composer dependencies (PHP 8.4)"
37+
if: ${{ matrix.php >= '8.4' }}
3838
uses: "ramsey/composer-install@v2"
3939
with:
4040
composer-options: --ignore-platform-reqs
@@ -43,7 +43,7 @@ jobs:
4343
run: composer run phpunit -- --coverage-clover .phpunit.cache/clover.xml
4444

4545
- name: Upload coverage reports to Codecov
46-
if: ${{ success() && matrix.php == '8.2' }}
46+
if: ${{ success() && matrix.php == '8.3' }}
4747
uses: codecov/codecov-action@v3
4848
env:
4949
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99

1010
### Added
1111

12-
- Add support for PHP 8.2
12+
- Add support for PHP 8.2 and PHP 8.3
1313

1414
### Deprecated
1515

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414
],
1515
"require": {
16-
"php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0"
16+
"php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0"
1717
},
1818
"require-dev": {
1919
"friendsofphp/php-cs-fixer": "^3.35",

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
# Specify where the Dockerfile is located (e.g. in the root directory of the project)
1111
context: .docker
1212
# Specify the name of the Dockerfile for changing the PHP version
13-
dockerfile: Dockerfile-php82
13+
dockerfile: PHP83-Dockerfile
1414
# Modifiy Ports for every project: <outside>:<inside>
1515
ports:
1616
- 8200:80

0 commit comments

Comments
 (0)