Skip to content

Commit 083e8c1

Browse files
committed
[TASK] Add v13 deprecation notices to phpstan baseline
1 parent 51633e8 commit 083e8c1

File tree

1 file changed

+151
-0
lines changed

1 file changed

+151
-0
lines changed

Build/phpstan-baseline.neon

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,157 @@
11
parameters:
22
ignoreErrors:
3+
-
4+
message: """
5+
#^Fetching class constant class of deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\StandaloneView\\:
6+
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
7+
"""
8+
count: 1
9+
path: ../Classes/Backend/View/BlogPostHeaderContentRenderer.php
10+
11+
-
12+
message: """
13+
#^Return type of method T3G\\\\AgencyPack\\\\Blog\\\\Domain\\\\Factory\\\\CommentFormFactory\\:\\:getTypoScriptFrontendController\\(\\) has typehint with deprecated class TYPO3\\\\CMS\\\\Frontend\\\\Controller\\\\TypoScriptFrontendController\\:
14+
since TYPO3 v13, will vanish during v14 development\\. There are some
15+
remaining internal usages that can be adapted without further \\.rst
16+
files\\. The class should vanish together with \\$GLOBALS\\['TSFE'\\] in v14\\.$#
17+
"""
18+
count: 1
19+
path: ../Classes/Domain/Factory/CommentFormFactory.php
20+
321
-
422
message: "#^Return type \\(TYPO3\\\\CMS\\\\Extbase\\\\Persistence\\\\QueryResultInterface\\) of method T3G\\\\AgencyPack\\\\Blog\\\\Domain\\\\Repository\\\\PostRepository\\:\\:findAll\\(\\) should be covariant with return type \\(iterable\\<object\\>\\) of method TYPO3\\\\CMS\\\\Extbase\\\\Persistence\\\\RepositoryInterface\\<object\\>\\:\\:findAll\\(\\)$#"
523
count: 1
624
path: ../Classes/Domain/Repository/PostRepository.php
25+
26+
-
27+
message: """
28+
#^Return type of method T3G\\\\AgencyPack\\\\Blog\\\\Domain\\\\Repository\\\\PostRepository\\:\\:getTypoScriptFrontendController\\(\\) has typehint with deprecated class TYPO3\\\\CMS\\\\Frontend\\\\Controller\\\\TypoScriptFrontendController\\:
29+
since TYPO3 v13, will vanish during v14 development\\. There are some
30+
remaining internal usages that can be adapted without further \\.rst
31+
files\\. The class should vanish together with \\$GLOBALS\\['TSFE'\\] in v14\\.$#
32+
"""
33+
count: 1
34+
path: ../Classes/Domain/Repository/PostRepository.php
35+
36+
-
37+
message: """
38+
#^Fetching class constant class of deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\StandaloneView\\:
39+
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
40+
"""
41+
count: 1
42+
path: ../Classes/Mail/MailContent.php
43+
44+
-
45+
message: """
46+
#^Return type of method T3G\\\\AgencyPack\\\\Blog\\\\Mail\\\\MailContent\\:\\:getFluidTemplateObject\\(\\) has typehint with deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\StandaloneView\\:
47+
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
48+
"""
49+
count: 1
50+
path: ../Classes/Mail/MailContent.php
51+
52+
-
53+
message: """
54+
#^Call to deprecated method addCacheTags\\(\\) of class TYPO3\\\\CMS\\\\Frontend\\\\Controller\\\\TypoScriptFrontendController\\:
55+
since TYPO3 v13, will be removed in TYPO3 v14\\. Use \\$request\\-\\>getAttribute\\('frontend\\.cache\\.collector'\\)\\-\\>addCacheTags\\(new CacheTag\\(\\$tag, \\$lifetime\\)\\) instead\\.$#
56+
"""
57+
count: 1
58+
path: ../Classes/Service/CacheService.php
59+
60+
-
61+
message: """
62+
#^Return type of method T3G\\\\AgencyPack\\\\Blog\\\\Service\\\\CacheService\\:\\:getTypoScriptFrontendController\\(\\) has typehint with deprecated class TYPO3\\\\CMS\\\\Frontend\\\\Controller\\\\TypoScriptFrontendController\\:
63+
since TYPO3 v13, will vanish during v14 development\\. There are some
64+
remaining internal usages that can be adapted without further \\.rst
65+
files\\. The class should vanish together with \\$GLOBALS\\['TSFE'\\] in v14\\.$#
66+
"""
67+
count: 1
68+
path: ../Classes/Service/CacheService.php
69+
70+
-
71+
message: "#^Result of method TYPO3\\\\CMS\\\\Core\\\\DataHandling\\\\DataHandler\\:\\:process_datamap\\(\\) \\(void\\) is used\\.$#"
72+
count: 2
73+
path: ../Classes/Service/SetupService.php
74+
75+
-
76+
message: "#^Strict comparison using \\!\\=\\= between null and false will always evaluate to true\\.$#"
77+
count: 2
78+
path: ../Classes/Service/SetupService.php
79+
80+
-
81+
message: "#^Strict comparison using \\=\\=\\= between true and true will always evaluate to true\\.$#"
82+
count: 1
83+
path: ../Classes/Service/SetupService.php
84+
85+
-
86+
message: """
87+
#^Fetching deprecated class constant FILETYPE_IMAGE of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
88+
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:IMAGE instead$#
89+
"""
90+
count: 1
91+
path: ../Configuration/TCA/tx_blog_domain_model_author.php
92+
93+
-
94+
message: """
95+
#^Instantiation of deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\TemplateView\\:
96+
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
97+
"""
98+
count: 1
99+
path: ../Tests/Functional/ViewHelpers/GravatarViewHelperTest.php
100+
101+
-
102+
message: """
103+
#^Instantiation of deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\TemplateView\\:
104+
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
105+
"""
106+
count: 1
107+
path: ../Tests/Functional/ViewHelpers/Link/Be/AuthorViewHelperTest.php
108+
109+
-
110+
message: """
111+
#^Instantiation of deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\TemplateView\\:
112+
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
113+
"""
114+
count: 1
115+
path: ../Tests/Functional/ViewHelpers/Link/Be/CategoryViewHelperTest.php
116+
117+
-
118+
message: """
119+
#^Instantiation of deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\TemplateView\\:
120+
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
121+
"""
122+
count: 1
123+
path: ../Tests/Functional/ViewHelpers/Link/Be/CommentViewHelperTest.php
124+
125+
-
126+
message: """
127+
#^Instantiation of deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\TemplateView\\:
128+
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
129+
"""
130+
count: 1
131+
path: ../Tests/Functional/ViewHelpers/Link/Be/PostViewHelperTest.php
132+
133+
-
134+
message: """
135+
#^Instantiation of deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\TemplateView\\:
136+
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
137+
"""
138+
count: 1
139+
path: ../Tests/Functional/ViewHelpers/Link/Be/TagViewHelperTest.php
140+
141+
-
142+
message: """
143+
#^Instantiation of deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\TemplateView\\:
144+
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
145+
"""
146+
count: 1
147+
path: ../Tests/Functional/ViewHelpers/Uri/AvatarViewHelperTest.php
148+
149+
-
150+
message: """
151+
#^Fetching class constant class of deprecated class TYPO3\\\\CMS\\\\Frontend\\\\Controller\\\\TypoScriptFrontendController\\:
152+
since TYPO3 v13, will vanish during v14 development\\. There are some
153+
remaining internal usages that can be adapted without further \\.rst
154+
files\\. The class should vanish together with \\$GLOBALS\\['TSFE'\\] in v14\\.$#
155+
"""
156+
count: 1
157+
path: ../Tests/Unit/Service/CommentServiceTest.php

0 commit comments

Comments
 (0)