Skip to content

Commit ecc9cf4

Browse files
committed
bump constraint to php84
1 parent 6d5e2a2 commit ecc9cf4

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/__shared-ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
- php-versions: "8.1"
1212
- php-versions: "8.2"
1313
- php-versions: "8.3"
14+
- php-versions: "8.4"
1415
stable: true
1516

1617
runs-on: ubuntu-latest
@@ -54,6 +55,8 @@ jobs:
5455
- name: 👕 Lint
5556
if: matrix.stable
5657
run: composer php-cs-fixer -- --format=checkstyle | tools/vendor/bin/cs2pr
58+
env:
59+
PHP_CS_FIXER_IGNORE_ENV: ${{ matrix.php-versions == '8.4' && '1' || '' }}
5760

5861
- name: 🔬 Rector
5962
id: rector

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PHP_VERSION=8.3
1+
PHP_VERSION=8.4
22
PROJECT_NAME=$(shell basename $(CURDIR))
33
UID=$(shell id -u)
44
GID=$(shell id -g)
@@ -50,7 +50,7 @@ ci: ## Execute CI scripts for given PHP version
5050

5151
## Run PHP for given version
5252
define run-php
53-
@docker run -it --rm -v ${PWD}:${PWD} -w ${PWD} "${IMAGE}" $(1)
53+
@docker run -it --rm -v ${PWD}:${PWD} -e PHP_CS_FIXER_IGNORE_ENV=$(if $(filter 8.4,$(PHP_VERSION)),1,) -w ${PWD} "${IMAGE}" $(1)
5454
endef
5555

5656
#############################

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"issues": "https://github.com/neilime/php-css-lint/issues"
2424
},
2525
"require": {
26-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
26+
"php": "^8.1",
2727
"ext-json": "*"
2828
},
2929
"require-dev": {

0 commit comments

Comments
 (0)