-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
23 lines (20 loc) · 886 Bytes
/
phpstan.neon.dist
File metadata and controls
23 lines (20 loc) · 886 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
parameters:
level: 5
paths:
- bin/
- config/
- server/
- tests/
doctrine:
repositoryClass: Application\Repository\AbstractRepository
objectManagerLoader: tests/object-manager.php
inferPrivatePropertyTypeFromConstructor: true
ignoreErrors:
- '~^Access to an undefined property Laminas\\View\\Renderer\\RendererInterface\:\:\$serverUrl\.$~'
- '~^Call to an undefined method Laminas\\View\\Renderer\\RendererInterface\:\:.*\(\)\.$~'
# Tolerate a permissive model, but strict DB
- '~^Property Application\\Model\\.*\:\:\$.* type mapping mismatch\: property can contain Application\\Model\\.*\|null but database expects Application\\Model\\.*\.$~'
includes:
- phpstan-baseline.neon
- vendor/phpstan/phpstan-doctrine/extension.neon
- vendor/phpstan/phpstan-doctrine/rules.neon