Skip to content

Commit

Permalink
Merge pull request #16 from peckadesign/php81
Browse files Browse the repository at this point in the history
PHP 8.1
  • Loading branch information
Jakub-Fajkus authored Feb 8, 2022
2 parents 26567c7 + 959676a commit 8244736
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php-package-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ 7.4, 8.0 ]
php: [ 7.4, 8.0, 8.1]
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ composer:
composer update --no-interaction --prefer-dist

phpstan:
vendor/bin/phpstan analyse -l 6 src/ --no-progress --error-format github
vendor/bin/phpstan analyse -l 6 -c phpstan.neon src/ --no-progress --error-format github

tester:
vendor/bin/tester tests
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
"php": "^7.4 | ^8.0",
"nette/application": "^3.0.0",
"nette/di": "~3.0.0",
"kdyby/console": "~2.8|dev-master",
"kdyby/console": "~4.0",
"supervisorphp/configuration": "^0.3"
},
"require-dev": {
"phpstan/phpstan": "0.12.88",
"phpstan/phpstan": "^1.4",
"nette/tester": "^2.4"
},
"autoload": {
Expand Down
8 changes: 8 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
parameters:
ignoreErrors:
-
message: "#^Call to function is_subclass_of\\(\\) with non\\-empty\\-string\\|true and 'Supervisor\\\\\\\\Configuration\\\\\\\\Section\\\\\\\\Named' will always evaluate to false\\.$#"
count: 1
path: src/DI/SupervisorExtension.php


0 comments on commit 8244736

Please sign in to comment.