-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-ignore.neon
29 lines (29 loc) · 1.49 KB
/
phpstan-ignore.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
parameters:
exceptionRules:
uncheckedExceptions:
- ArithmeticError
- Brick\DateTime\DateTimeException
- Brick\Math\Exception\MathException
- Brick\Money\Exception\UnknownCurrencyException
- Doctrine\ORM\Query\QueryException
- LogicException
- Nette\Application\AbortException
- Nette\Application\BadRequestException
- Nette\Application\UI\InvalidLinkException
- Nette\DI\MissingServiceException
- Nette\IOException
- Nette\InvalidStateException
- PHPUnit\Framework\Exception
- ReflectionException
- OutOfBoundsException
- Safe\Exceptions\ArrayException
- Safe\Exceptions\FilesystemException
- Safe\Exceptions\JsonException
- Safe\Exceptions\PcreException
- Safe\Exceptions\StringsException
ignoreErrors:
- '#PHPDoc tag @throws with type .* is not compatible with parent#'
- '#PHPDoc type string of property .*::\$defaultName is not the same as PHPDoc type string\|null of overridden property Symfony\\Component\\Console\\Command\\Command::\$defaultName\.#'
- '#Property .* type has no value type specified in iterable type (array|iterable).*#'
- '#.* has parameter \$\w+ with no value type specified in iterable type (array|iterable).*#'
- '#.* return type has no value type specified in iterable type (array|Traversable).*#'