forked from FluidTYPO3/vhs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
51 lines (50 loc) · 3.51 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
39
40
41
42
43
44
45
46
47
48
49
50
51
includes:
- phpstan-baseline.neon
parameters:
level: 9
reportUnmatchedIgnoredErrors: false
checkGenericClassInNonGenericObjectType: false
ignoreErrors:
- "#^Class TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Web\\\\Response not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Web\\\\Request not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Core\\\\Context\\\\Context not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Core\\\\Site\\\\SiteFinder not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Lang\\\\LanguageService not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Frontend\\\\Page\\\\PageRepository not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\ResponseInterface not found\\.$#"
- "#unknown class TYPO3\\\\CMS\\\\Core\\\\Domain\\\\Repository\\\\PageRepository#"
- "#unknown class TYPO3\\\\CMS\\\\Core\\\\Site\\\\Site#"
- "#unknown class TYPO3\\\\CMS\\\\Core\\\\Context\\\\Context#"
- "#unknown class TYPO3\\\\CMS\\\\Core\\\\Context\\\\LanguageAspect#"
- "#unknown class TYPO3\\\\CMS\\\\Core\\\\Site\\\\Entity\\\\Site#"
- "#unknown class TYPO3\\\\CMS\\\\Core\\\\Core\\\\Environment#"
- "#unknown class TYPO3\\\\CMS\\\\Lang\\\\LanguageService#"
- "#unknown class TYPO3\\\\CMS\\\\Core\\\\Collection\\\\RecordCollectionRepository#"
- "#unknown class TYPO3\\\\CMS\\\\Frontend\\\\Page\\\\PageRepository#"
- "#unknown class TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Web\\\\Request#"
- "#unknown class TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\ResponseInterface#"
- "#invalid return type TYPO3\\\\CMS\\\\Core\\\\Site\\\\Site#"
- "#invalid return type TYPO3\\\\CMS\\\\Core\\\\Domain\\\\Repository\\\\PageRepository#"
- "#invalid return type TYPO3\\\\CMS\\\\Core\\\\Site\\\\Entity\\\\Site#"
- "#invalid return type TYPO3\\\\CMS\\\\Frontend\\\\Page\\\\PageRepository#"
- "#invalid return type TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\ResponseInterface#"
- "#invalid type TYPO3\\\\CMS\\\\Core\\\\Collection\\\\RecordCollectionRepository#"
- "#no value type specified in iterable type#"
- "#^Strict comparison using === between 'CLI' and 'BE' will always evaluate to false\\.$#"
- "#^Strict comparison using === between 'CLI' and 'FE' will always evaluate to false\\.$#"
- "#^Strict comparison using === between 'FE' and 'CLI' will always evaluate to false\\.$#"
- "#^Strict comparison using === between 'BE' and 'CLI' will always evaluate to false\\.$#"
- "#^Parameter \\#2 \\$sectionName of method TYPO3Fluid\\\\Fluid\\\\View\\\\AbstractTemplateView\\:\\:renderPartial\\(\\) expects string, string\\|null given\\.$#"
- "#^Access to undefined constant TYPO3\\\\CMS\\\\Core\\\\Utility\\\\GeneralUtility\\:\\:SYSLOG_SEVERITY_#"
- "#^Call to an undefined static method TYPO3\\\\CMS\\\\Core\\\\Utility\\\\GeneralUtility\\:\\:getApplicationContext\\(\\)\\.$#"
- "#^Call to an undefined static method TYPO3\\\\CMS\\\\Core\\\\Utility\\\\GeneralUtility\\:\\:sysLog\\(\\)\\.$#"
- "#^Call to an undefined method TYPO3\\\\CMS\\\\Core\\\\TypoScript\\\\TemplateService\\:\\:init\\(\\)\\.$#"
- "#^Method TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Web\\\\Routing\\\\UriBuilder\\:\\:setUseCacheHash\\(\\) invoked with 1 parameter, 0 required\\.$#"
bootstrapFiles:
- phpstan-bootstrap.php
paths:
- Classes
- Configuration
excludePaths:
- Classes/Middleware/AssetInclusion.php
- Configuration/RequestMiddlewares.php