Skip to content

Commit 5e8c1df

Browse files
authored
Merge pull request #13 from run-as-root/feature/php-82-checks
Add php 8.2 checks
2 parents 239b259 + 06aea79 commit 5e8c1df

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/test_extension.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
- name: PHP 8.1 compatibility
5252
run: composer sniffer:php8.1
5353

54+
- name: PHP 8.2 compatibility
55+
run: composer sniffer:php8.2
56+
5457
Static-tests:
5558
runs-on: ubuntu-latest
5659

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
![PHP](https://img.shields.io/badge/php-7.4-blue)
33
![PHP](https://img.shields.io/badge/php-8.0-blue)
44
![PHP](https://img.shields.io/badge/php-8.1-blue)
5+
![PHP](https://img.shields.io/badge/php-8.2-blue)
56
![composer](https://shields.io/badge/composer-v2-darkgreen)
67
![packagist](https://img.shields.io/badge/packagist-f28d1a)
78
![build](https://github.com/run-as-root/magento-cli-auto-proxy/actions/workflows/test_extension.yml/badge.svg)
@@ -44,7 +45,7 @@ composer req run_as_root/magento-cli-auto-proxy:^1
4445

4546
- [x] MVP release
4647
- [x] Documentation
47-
- [x] PHP 8 support (most likely supported already :suspect: )
48+
- [x] PHP 8 support
4849
- [x] Unit tests coverage
4950
- [ ] Static tests coverage
5051
- [ ] php linting

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"sniffer:php7.4": "phpcs -p ./lib --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 7.4",
4646
"sniffer:php8.0": "phpcs -p ./lib --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.0",
4747
"sniffer:php8.1": "phpcs -p ./lib --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.1",
48+
"sniffer:php8.2": "phpcs -p ./lib --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.2",
4849
"phpstan": "phpstan",
4950
"phpunit": "vendor/bin/phpunit -c phpunit.xml"
5051
}

0 commit comments

Comments
 (0)