Skip to content

Commit 8244736

Browse files
authored
Merge pull request #16 from peckadesign/php81
PHP 8.1
2 parents 26567c7 + 959676a commit 8244736

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.github/workflows/php-package-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
php: [ 7.4, 8.0 ]
12+
php: [ 7.4, 8.0, 8.1]
1313
steps:
1414
- uses: actions/checkout@v2
1515
- uses: shivammathur/setup-php@v2

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ composer:
33
composer update --no-interaction --prefer-dist
44

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

88
tester:
99
vendor/bin/tester tests

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
"php": "^7.4 | ^8.0",
2727
"nette/application": "^3.0.0",
2828
"nette/di": "~3.0.0",
29-
"kdyby/console": "~2.8|dev-master",
29+
"kdyby/console": "~4.0",
3030
"supervisorphp/configuration": "^0.3"
3131
},
3232
"require-dev": {
33-
"phpstan/phpstan": "0.12.88",
33+
"phpstan/phpstan": "^1.4",
3434
"nette/tester": "^2.4"
3535
},
3636
"autoload": {

phpstan.neon

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^Call to function is_subclass_of\\(\\) with non\\-empty\\-string\\|true and 'Supervisor\\\\\\\\Configuration\\\\\\\\Section\\\\\\\\Named' will always evaluate to false\\.$#"
5+
count: 1
6+
path: src/DI/SupervisorExtension.php
7+
8+

0 commit comments

Comments
 (0)