forked from sulu/sulu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
38 lines (37 loc) · 1.88 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
34
35
36
37
38
includes:
- phpstan-baseline.neon
- vendor/jangregor/phpstan-prophecy/extension.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-doctrine/extension.neon
- vendor/phpstan/phpstan-doctrine/rules.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
parallel:
processTimeout: 300.0
excludePaths:
- %currentWorkingDirectory%/node_modules/*
- %currentWorkingDirectory%/var/*
- %currentWorkingDirectory%/vendor/*
- %currentWorkingDirectory%/tests/Resources/cache/*
- %currentWorkingDirectory%/*/node_modules/*
- %currentWorkingDirectory%/*/Tests/Application/var/*
- %currentWorkingDirectory%/*/Tests/app/cache/*
- %currentWorkingDirectory%/*/Tests/app/var/*
# RestController extends FOSRestController which was removed in friendsofsymfony/rest-bundle:3.0
- %currentWorkingDirectory%/src/Sulu/Component/Rest/RestController.php
# SwiftMailer was removed and con not be analyzed by phpstan anymore
- %currentWorkingDirectory%/src/Sulu/Bundle/SecurityBundle/Tests/Functional/Controller/LegacyResettingControllerTest.php
- %currentWorkingDirectory%/src/Sulu/Bundle/MarkupBundle/Listener/SwiftMailerListener.php
- %currentWorkingDirectory%/src/Sulu/Bundle/MarkupBundle/Tests/Unit/Listener/SwiftMailerListenerTest.php
symfony:
container_xml_path: %currentWorkingDirectory%/var/cache/admin/dev/App_KernelDevDebugContainer.xml
console_application_loader: tests/phpstan/console-application.php
constant_hassers: false
doctrine:
objectManagerLoader: tests/phpstan/object-manager.php