Repository navigation
Expand file tree
/
Copy pathphpstan.neon
More file actions
86 lines (85 loc) · 7.69 KB
/
Copy pathphpstan.neon
File metadata and controls
86 lines (85 loc) · 7.69 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
includes:
- phpstan-baseline.neon
parameters:
level: 9
reportUnmatchedIgnoredErrors: false
checkGenericClassInNonGenericObjectType: false
treatPhpDocTypesAsCertain: false
ignoreErrors:
- "#^Class TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Controller\\\\ControllerContext not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Web\\\\Response not found\\.$#"
- "#[cC]lass TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Web\\\\Request not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Core\\\\Context\\\\Context not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Core\\\\Imaging\\\\ImageResource not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Core\\\\Site\\\\SiteFinder not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\ResponseInterface not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\ExtbaseRequestParameters not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Extbase\\\\Domain\\\\Repository\\\\FrontendUserRepository not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Extbase\\\\Domain\\\\Model\\\\(Frontend|Backend)User(Group)? not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Fluid\\\\Core\\\\Rendering\\\\RenderingContextFactory not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Frontend\\\\Cache\\\\CacheInstruction not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Frontend\\\\Controller\\\\TypoScriptFrontendController not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Frontend\\\\Page\\\\PageInformation not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Frontend\\\\Page\\\\PageRepository not found\\.$#"
- "#^Class TYPO3\\\\CMS\\\\Lang\\\\LanguageService not found\\.$#"
- "#^Class TYPO3Fluid\\\\Fluid\\\\Component\\\\Argument\\\\ArgumentCollection not found\\.$#"
- "#(unknown class|invalid( return)? type) Doctrine\\\\DBAL\\\\Driver\\\\ResultStatement#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Frontend\\\\Event\\\\AfterCacheableContentIsGeneratedEvent#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Controller\\\\ControllerContext#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Response#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\ExtbaseRequestParameters#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Core\\\\Type\\\\Bitmask\\\\PageTranslationVisibility#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Core\\\\Domain\\\\Repository\\\\PageRepository#"
- "#(invalid (return )?type|unknown class) TYPO3\\\\CMS\\\\Core\\\\Imaging\\\\IconSize#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Core\\\\Imaging\\\\ImageResource#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Core\\\\Site\\\\Site#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Fluid\\\\Core\\\\Rendering\\\\RenderingContextFactory#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Frontend\\\\Page\\\\PageRepository#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Frontend\\\\Page\\\\PageInformation#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Frontend\\\\Imaging\\\\ImageResource#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Frontend\\\\Controller\\\\TypoScriptFrontendController#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Extbase\\\\Domain\\\\Repository\\\\FrontendUserRepository#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Extbase\\\\Domain\\\\Model\\\\FrontendUser(Group)?#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Extbase\\\\Domain\\\\Model\\\\BackendUser(Group)?#"
- "#(unknown class|invalid( return)? type) TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\View\\\\ViewInterface#"
- "#(unknown class|invalid( return)? type) Doctrine\\\\DBAL\\\\FetchMode#"
- "#unknown class TYPO3\\\\CMS\\\\Core\\\\Localization\\\\Locale#"
- "#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\\\\Extbase\\\\Mvc\\\\Web\\\\Request#"
- "#unknown class TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\ResponseInterface#"
- "#unknown class TYPO3\\\\CMS\\\\Frontend\\\\Cache\\\\CacheInstruction#"
- "#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\\.$#"
- "#^Parameter \\#1 \\$request of method TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Web\\\\Routing\\\\UriBuilder\\:\\:setRequest\\(\\) expects TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Request(Interface)?, Psr\\\\Http\\\\Message\\\\ServerRequestInterface(\\|TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\RequestInterface)? 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 static method FluidTYPO3\\\\Vhs\\\\Core\\\\ViewHelper\\\\AbstractViewHelper\\:\\:renderStatic\\(\\)\\.$#"
- "#^Call to an undefined method TYPO3\\\\CMS\\\\Core\\\\TypoScript\\\\TemplateService\\:\\:init\\(\\)\\.$#"
- "#^Call to an undefined (static )?method .+ViewHelper\\:\\:overrideArgument\\(\\)\\.$#"
- "#^Call to an undefined (static )?method .+ViewHelper\\:\\:registerTagAttribute\\(\\)\\.$#"
- "#^Method TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Web\\\\Routing\\\\UriBuilder\\:\\:setUseCacheHash\\(\\) invoked with 1 parameter, 0 required\\.$#"
- "#^Cannot call method evaluateChildNodes\\(\\) on TYPO3Fluid\\\\Fluid\\\\Core\\\\Parser\\\\SyntaxTree\\\\ViewHelperNode\\|null\\.$#"
- "#^Cannot call method .+\\(\\) on TYPO3Fluid\\\\Fluid\\\\Core\\\\Rendering\\\\RenderingContextInterface\\|null\\.$#"
- "#expects TYPO3Fluid\\\\Fluid\\\\Core\\\\Rendering\\\\RenderingContextInterface\\, TYPO3Fluid\\\\Fluid\\\\Core\\\\Rendering\\\\RenderingContextInterface\\|null given#"
- "#expects TYPO3Fluid\\\\Fluid\\\\Core\\\\Variables\\\\VariableProviderInterface\\, TYPO3Fluid\\\\Fluid\\\\Core\\\\Variables\\\\VariableProviderInterface\\|null given#"
- "#Access to undefined constant TYPO3\\\\CMS\\\\Core\\\\Imaging\\\\Icon\\:\\:SIZE_#"
paths:
- Classes
- Configuration
excludePaths:
- Classes/Middleware/AssetInclusion.php
- Classes/Proxy/LocalizationFactoryProxy.php
- Configuration/RequestMiddlewares.php