Skip to content

Commit b2f4a05

Browse files
added php 8.2 into ci and support it (#320)
1 parent 75d9a9a commit b2f4a05

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: "ubuntu-20.04"
1313
strategy:
1414
matrix:
15-
php-versions: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ]
15+
php-versions: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
1616
coverage-driver: [ 'pcov' ]
1717

1818
steps:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ You can add parameters when you launch the tool. At the moment you can add these
370370
phparkitect check --config=/project/yourConfigFile.php
371371
```
372372
* `--target-php-version`: With this parameter, you can specify which PHP version should use the parser. This can be useful to debug problems and to understand if there are problems with a different PHP version.
373-
Supported PHP versions are: 7.1, 7.2, 7.3, 7.4, 8.0, 8.1
373+
Supported PHP versions are: 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2
374374
* `--stop-on-failure`: With this option the process will end immediately after the first violation.
375375

376376
## Run only a specific rule

src/CLI/TargetPhpVersion.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class TargetPhpVersion
1515
'7.4',
1616
'8.0',
1717
'8.1',
18+
'8.2',
1819
];
1920

2021
/** @var string|null */

0 commit comments

Comments
 (0)