Skip to content

Commit 48a8964

Browse files
authored
Enhancement: Require and use PHP 8.2 (#847)
* Enhancement: Require and use PHP 8.2 * Fix: Set PHP_CS_FIXER_IGNORE_ENV environment variable
1 parent d8e6be3 commit 48a8964

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/workflows/integrate.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
php-version:
20-
- "7.3"
20+
- "8.2"
2121

2222
steps:
2323
- name: "Checkout"
@@ -51,6 +51,8 @@ jobs:
5151

5252
- name: "Run friendsofphp/php-cs-fixer"
5353
run: "vendor/bin/php-cs-fixer fix --ansi --config=.php-cs-fixer.php --diff --dry-run --verbose"
54+
env:
55+
PHP_CS_FIXER_IGNORE_ENV: "1"
5456

5557
tests:
5658
name: "Tests"
@@ -60,7 +62,7 @@ jobs:
6062
strategy:
6163
matrix:
6264
php-version:
63-
- "7.3"
65+
- "8.2"
6466

6567
steps:
6668
- name: "Checkout"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ https://wiki.php.net/web/mirror
3535

3636
## Code requirements
3737

38-
Code must function on a vanilla PHP 7.3 installation.
38+
Code must function on a vanilla PHP 8.2 installation.
3939
Please keep this in mind before filing a pull request.
4040

4141
## Contributing

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"source": "https://github.com/php/web-php"
99
},
1010
"require": {
11-
"php": "^7.3"
11+
"php": "~8.2.0"
1212
},
1313
"require-dev": {
1414
"friendsofphp/php-cs-fixer": "^3.4.0"
@@ -20,7 +20,7 @@
2020
},
2121
"config": {
2222
"platform": {
23-
"php": "7.3.19"
23+
"php": "8.2.0"
2424
},
2525
"sort-packages": true
2626
}

composer.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)