Skip to content

Commit 8049137

Browse files
committed
Added schema
1 parent 573e2ac commit 8049137

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"require": {
1919
"php": "~7.1",
20-
"phpstan/phpstan": "^0.11.4",
20+
"phpstan/phpstan": "^0.11.7",
2121
"nikic/php-parser": "^4.0"
2222
},
2323
"require-dev": {

rules.neon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ parameters:
1111
redirectPermanent: Nette\Application\AbortException
1212
error: Nette\Application\BadRequestException
1313

14+
parametersSchema:
15+
methodsThrowingExceptions: arrayOf(arrayOf(string()))
16+
1417
rules:
1518
- PHPStan\Rule\Nette\DoNotExtendNetteObjectRule
1619

0 commit comments

Comments
 (0)