Skip to content

Commit 113850c

Browse files
[1.7] Officially support PHP 8.2 (#420)
1 parent 4a15b96 commit 113850c

File tree

6 files changed

+21
-10
lines changed

6 files changed

+21
-10
lines changed

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
phpstan:
99
name: PHPStan
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111

1212
steps:
1313
- name: Checkout Code

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ on:
77
jobs:
88
tests:
99
name: PHP ${{ matrix.php }}; Symfony ${{ matrix.symfony }}
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111

1212
strategy:
1313
matrix:
14-
php: ['7.3', '7.4', '8.0', '8.1']
14+
php: ['7.3', '7.4', '8.0', '8.1', '8.2']
1515
symfony: ['4', '5', '6']
1616
exclude:
1717
- php: '7.3'
@@ -33,6 +33,10 @@ jobs:
3333
- name: Setup Problem Matchers
3434
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
3535

36+
- name: Mimic PHP 8.1
37+
run: composer config platform.php 8.1.999
38+
if: matrix.php > 8.1
39+
3640
- name: Select Symfony 4
3741
uses: nick-invision/retry@v1
3842
with:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
## 1.7.0 (UPCOMING)
55

66
* Use `command` to guess the chrome executable in Linux
7+
* Officially support PHP 8.2
78

89

910
## 1.6.2 (2022-08-28)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Happy browsing!
2424

2525
## Requirements
2626

27-
Requires PHP 7.3-8.1 and a chrome/chromium 65+ executable.
27+
Requires PHP 7.3-8.2 and a chrome/chromium 65+ executable.
2828

2929
Note that the library is only tested on Linux but is compatible with macOS and Windows.
3030

composer.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
],
1818
"require": {
1919
"php": "^7.3 || ^8.0",
20-
"chrome-php/wrench": "^1.2",
20+
"chrome-php/wrench": "^1.3",
2121
"evenement/evenement": "^3.0.1",
22-
"monolog/monolog": "^1.26 || ^2.2 || ^3.0",
22+
"monolog/monolog": "^1.27.1 || ^2.8 || ^3.2",
2323
"psr/log": "^1.1 || ^2.0 || ^3.0",
2424
"symfony/filesystem": "^4.4 || ^5.0 || ^6.0",
25-
"symfony/polyfill-mbstring": "^1.23",
25+
"symfony/polyfill-mbstring": "^1.26",
2626
"symfony/process": "^4.4 || ^5.0 || ^6.0"
2727
},
2828
"require-dev":{
29-
"bamarni/composer-bin-plugin": "^1.4.1",
30-
"phpunit/phpunit": "^9.5.10",
29+
"bamarni/composer-bin-plugin": "^1.8.1",
30+
"phpunit/phpunit": "^9.5.23",
3131
"symfony/var-dumper": "^4.4 || ^5.0 || ^6.0"
3232
},
3333
"autoload":{
@@ -45,5 +45,11 @@
4545
"bamarni/composer-bin-plugin": true
4646
},
4747
"preferred-install": "dist"
48+
},
49+
"extra": {
50+
"bamarni-bin": {
51+
"bin-links": true,
52+
"forward-command": false
53+
}
4854
}
4955
}

vendor-bin/phpstan/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"php": "^7.4",
4-
"phpstan/phpstan": "1.5.0"
4+
"phpstan/phpstan": "1.8.2"
55
},
66
"config": {
77
"preferred-install": "dist"

0 commit comments

Comments
 (0)