Skip to content

Commit be94d3b

Browse files
committed
Add PHP 8.3 support, drop PHP < 8.2
1 parent 649c4fc commit be94d3b

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
php-version:
19-
- "8.1"
19+
- "8.2"
2020

2121
steps:
2222
- name: "Checkout"
@@ -43,8 +43,8 @@ jobs:
4343
strategy:
4444
matrix:
4545
php-version:
46-
- "8.1"
4746
- "8.2"
47+
- "8.3"
4848
dependencies:
4949
- "highest"
5050

@@ -70,7 +70,7 @@ jobs:
7070
key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ matrix.dependencies }}-composer-${{ hashFiles('**/composer.json') }}
7171
restore-keys: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ matrix.dependencies }}-composer-
7272

73-
- name: "Remove PHP-CS-Fixer not ready for PHP 8.2 yet"
73+
- name: "Remove PHP-CS-Fixer not ready for PHP 8.3 yet"
7474
run: "composer remove --dev --no-update slam/php-cs-fixer-extensions"
7575

7676
- name: "Install lowest dependencies"
@@ -93,7 +93,7 @@ jobs:
9393
strategy:
9494
matrix:
9595
php-version:
96-
- "8.1"
96+
- "8.2"
9797

9898
steps:
9999
- name: "Checkout"
@@ -139,7 +139,7 @@ jobs:
139139
strategy:
140140
matrix:
141141
php-version:
142-
- "8.1"
142+
- "8.2"
143143

144144
steps:
145145
- name: "Checkout"
@@ -176,7 +176,7 @@ jobs:
176176
strategy:
177177
matrix:
178178
php-version:
179-
- "8.1"
179+
- "8.2"
180180

181181
steps:
182182
- name: "Checkout"

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ all: csfix static-analysis test
22
@echo "Done."
33

44
vendor: composer.json
5-
composer update --ignore-platform-req=php
5+
composer update
6+
composer bump
67
touch vendor
78

89
.PHONY: csfix
910
csfix: vendor
10-
php8.1 vendor/bin/php-cs-fixer fix --verbose
11+
vendor/bin/php-cs-fixer fix --verbose
1112

1213
.PHONY: static-analysis
1314
static-analysis: vendor

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"require": {
21-
"php": "~8.1.0 || ~8.2.0",
21+
"php": "~8.2.0 || ~8.3.0",
2222
"phpstan/phpstan": "^1.10.43"
2323
},
2424
"require-dev": {
@@ -37,8 +37,7 @@
3737
"phpstan/phpstan-deprecation-rules": "^1.1.4",
3838
"phpstan/phpstan-phpunit": "^1.3.15",
3939
"phpunit/phpunit": "^9.6.13",
40-
"slam/php-cs-fixer-extensions": "^v3.9.0",
41-
"slam/php-debug-r": "^v1.8.1"
40+
"slam/php-cs-fixer-extensions": "^v3.10.0"
4241
},
4342
"conflict": {
4443
"laminas/laminas-cache": "<3.9",

0 commit comments

Comments
 (0)