Skip to content

Commit

Permalink
Merge pull request #13 from run-as-root/feature/php-82-checks
Browse files Browse the repository at this point in the history
Add php 8.2 checks
  • Loading branch information
vpodorozh authored Aug 6, 2023
2 parents 239b259 + 06aea79 commit 5e8c1df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ jobs:
- name: PHP 8.1 compatibility
run: composer sniffer:php8.1

- name: PHP 8.2 compatibility
run: composer sniffer:php8.2

Static-tests:
runs-on: ubuntu-latest

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
![PHP](https://img.shields.io/badge/php-7.4-blue)
![PHP](https://img.shields.io/badge/php-8.0-blue)
![PHP](https://img.shields.io/badge/php-8.1-blue)
![PHP](https://img.shields.io/badge/php-8.2-blue)
![composer](https://shields.io/badge/composer-v2-darkgreen)
![packagist](https://img.shields.io/badge/packagist-f28d1a)
![build](https://github.com/run-as-root/magento-cli-auto-proxy/actions/workflows/test_extension.yml/badge.svg)
Expand Down Expand Up @@ -44,7 +45,7 @@ composer req run_as_root/magento-cli-auto-proxy:^1

- [x] MVP release
- [x] Documentation
- [x] PHP 8 support (most likely supported already :suspect: )
- [x] PHP 8 support
- [x] Unit tests coverage
- [ ] Static tests coverage
- [ ] php linting
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"sniffer:php7.4": "phpcs -p ./lib --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 7.4",
"sniffer:php8.0": "phpcs -p ./lib --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.0",
"sniffer:php8.1": "phpcs -p ./lib --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.1",
"sniffer:php8.2": "phpcs -p ./lib --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.2",
"phpstan": "phpstan",
"phpunit": "vendor/bin/phpunit -c phpunit.xml"
}
Expand Down

0 comments on commit 5e8c1df

Please sign in to comment.