-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathphpstan.neon
27 lines (25 loc) · 1.05 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
parameters:
phpVersion: 70400 # PHP 7.4
level: 2
paths:
- sources
scanFiles:
- dependencies/magpierss/extlib/Snoopy.class.inc
- dependencies/magpierss/rss_cache.inc
- dependencies/magpierss/rss_fetch.inc
- dependencies/magpierss/rss_parse.inc
- dependencies/magpierss/rss_utils.inc
excludePaths:
analyse:
# Ces fichiers utilisent des alias de classes
- sources/AppBundle/Twig/AssetsExtension.php
- sources/AppBundle/Twig/TwigExtension.php
stubFiles:
- tests/stubs/Ting/Repository/Repository.php.stub
- tests/stubs/Ting/Repository/RepositoryFactory.php.stub
ignoreErrors:
-
message: '#^Method AppBundle\\Controller\\Website\\SiteBaseController\:\:render\(\) overrides @final method Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller\:\:render\(\)\.$#'
identifier: method.parentMethodFinalByPhpDoc
count: 1
path: sources/AppBundle/Controller/Website/SiteBaseController.php