Skip to content

Commit

Permalink
feat: php 8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh committed Feb 14, 2024
1 parent 1790d52 commit 6af9c2e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,20 @@ jobs:
strategy:
matrix:
include:
- php: '7.1'
- php: '7.2'
phpunit: '6'
- php: '7.3'
phpunit: '6'
- php: '7.4'
phpunit: '6'
- php: '8.0'
phpunit: '8'
- php: '8.1'
phpunit: '8'
- php: '8.2'
phpunit: '8'
- php: '8.3'
phpunit: '8'
fail-fast: false
runs-on: ubuntu-22.04
steps:
Expand All @@ -26,7 +36,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
tools: phpunit:6
tools: phpunit:"${{ matrix.phpunit }}"
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Cache Composer packages
Expand Down
11 changes: 5 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
}
],
"require": {
"php": "^7.1",
"lstrojny/fxmlrpc": "^0.15"
"php": "^7.2 || ^8.0",
"lstrojny/fxmlrpc": "^0.22"
},
"config": {
"sort-packages": true
Expand All @@ -29,10 +29,9 @@
}
},
"require-dev": {
"matthiasnoback/symfony-config-test": "^3.0",
"sllh/php-cs-fixer-styleci-bridge": "^2.1",
"symfony/dependency-injection": "^2.8 || ^3.0",
"symfony/http-kernel": "^2.8 || ^3.0"
"matthiasnoback/symfony-config-test": "^4.3",
"symfony/dependency-injection": "^4.4",
"symfony/http-kernel": "^4.4"
},
"suggest": {
"php-http/httplug-bundle": "For Symfony integration as a bundle with lstrojny/fxmlrpc"
Expand Down

0 comments on commit 6af9c2e

Please sign in to comment.