Skip to content

Commit

Permalink
added php 8.2 into ci and support it (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroMinoccheri authored Dec 12, 2022
1 parent 75d9a9a commit b2f4a05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: "ubuntu-20.04"
strategy:
matrix:
php-versions: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ]
php-versions: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
coverage-driver: [ 'pcov' ]

steps:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ You can add parameters when you launch the tool. At the moment you can add these
phparkitect check --config=/project/yourConfigFile.php
```
* `--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.
Supported PHP versions are: 7.1, 7.2, 7.3, 7.4, 8.0, 8.1
Supported PHP versions are: 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2
* `--stop-on-failure`: With this option the process will end immediately after the first violation.

## Run only a specific rule
Expand Down
1 change: 1 addition & 0 deletions src/CLI/TargetPhpVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class TargetPhpVersion
'7.4',
'8.0',
'8.1',
'8.2',
];

/** @var string|null */
Expand Down

0 comments on commit b2f4a05

Please sign in to comment.