Skip to content

Commit

Permalink
update deps & test with PHP 8.2, min PHP is 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Apr 10, 2023
1 parent 71113b4 commit 2ba56a1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
php-version: [ '7.4', '8.0' ]
php-version: [ '7.2', '8.2' ]

steps:
- name: Checkout
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: [ '7.1', '7.2', '7.3', '7.4', '8.0' ]
php-version: [ '7.2', '8.0', '8.1', '8.2' ]

runs-on: ubuntu-latest

Expand Down
18 changes: 12 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,26 @@
"issues": "https://github.com/nextras/multi-query-parser/issues"
},
"require": {
"php": "~7.0 || ~8.0"
"php": "~7.2 || ~8.0"
},
"require-dev": {
"nette/tester": "~2.1",
"phpstan/phpstan": "0.12.99",
"phpstan/extension-installer": "1.1.0",
"phpstan/phpstan-strict-rules": "0.12.11"
"nette/tester": "~2.0",
"phpstan/phpstan": "1.10.11",
"phpstan/extension-installer": "1.2.0",
"phpstan/phpstan-strict-rules": "1.5.1"
},
"autoload": {
"psr-4": {
"Nextras\\MultiQueryParser\\": "src/"
}
},
"scripts": {
"phpstan": "phpstan analyze -c .phpstan.neon"
"phpstan": "phpstan analyze -c .phpstan.neon",
"tests": "tester -C ./tests/cases"
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
}
}

0 comments on commit 2ba56a1

Please sign in to comment.