-
Notifications
You must be signed in to change notification settings - Fork 19
/
phpstan.neon
33 lines (32 loc) · 1.73 KB
/
phpstan.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
30
31
32
33
includes:
- vendor/jangregor/phpstan-prophecy/extension.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-doctrine/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
- vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
parameters:
paths:
- .
level: max
excludePaths:
- %currentWorkingDirectory%/DependencyInjection/Configuration.php
- %currentWorkingDirectory%/vendor/*
- %currentWorkingDirectory%/Tests/Application/Kernel.php
- %currentWorkingDirectory%/Tests/Application/var/*
- %currentWorkingDirectory%/Tests/Application/assets/*
- %currentWorkingDirectory%/Tests/Unit/Mocks/*
symfony:
containerXmlPath: %currentWorkingDirectory%/Tests/Application/var/cache/admin/dev/Sulu_Bundle_ContentBundle_Tests_Application_KernelDevDebugContainer.xml
consoleApplicationLoader: Tests/phpstan/console-application.php
constantHassers: false
doctrine:
objectManagerLoader: Tests/phpstan/object-manager.php
stubFiles: ["Tests/phpstan/stubs/ObjectProphecy.phpstub", "Tests/phpstan/stubs/ProphecyInterface.phpstub"]
ignoreErrors:
- message: "#^Method Sulu\\\\Bundle\\\\ContentBundle\\\\Content\\\\Infrastructure\\\\Sulu\\\\Structure\\\\ContentDocument\\:\\:getStructure\\(\\) should return Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\StructureInterface but returns null\\.$#"
count: 1
path: Content/Infrastructure/Sulu/Structure/ContentDocument.php
bootstrapFiles:
- %currentWorkingDirectory%/Tests/Application/Kernel.php