Task #92110

Epic #92107: Fix phpstan checkFunctionArgumentTypes errors in all core extensions

Fix phpstan checkFunctionArgumentTypes errors in ext:core

Added by Alexander Schnitzler 25 days ago. Updated 1 day ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-09-10
Due date:
% Done:

35%

TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

Subtasks

Task #92252: Fix phpstan checkFunctionArgumentTypes errors in ext:core TimeTrackerResolved

Task #92253: Fix phpstan checkFunctionArgumentTypes errors in ext:core ConfigurationResolved

Task #92254: Fix phpstan checkFunctionArgumentTypes errors in ext:core TypeResolved

Task #92255: Fix phpstan checkFunctionArgumentTypes errors in ext:core LogResolved

Task #92256: Fix phpstan checkFunctionArgumentTypes errors in ext:core LinkHandlingUnder Review

Task #92257: Fix phpstan checkFunctionArgumentTypes errors in ext:core PackageUnder Review

Task #92258: Fix phpstan checkFunctionArgumentTypes errors in ext:core SessionResolved

Task #92259: Fix phpstan checkFunctionArgumentTypes errors in ext:core ServiceUnder Review

Task #92260: Fix phpstan checkFunctionArgumentTypes errors in ext:core DomainResolved

Task #92261: Fix phpstan checkFunctionArgumentTypes errors in ext:core TreeResolved

Task #92262: Fix phpstan checkFunctionArgumentTypes errors in ext:core CryptoUnder Review

Task #92263: Fix phpstan checkFunctionArgumentTypes errors in ext:core DependencyInjectionUnder Review

Task #92264: Fix phpstan checkFunctionArgumentTypes errors in ext:core ResourceUnder Review

Task #92265: Fix phpstan checkFunctionArgumentTypes errors in ext:core CacheUnder Review

Task #92266: Fix phpstan checkFunctionArgumentTypes errors in ext:core LocalizationResolved

Task #92267: Fix phpstan checkFunctionArgumentTypes errors in ext:core HtmlResolved

Task #92268: Fix phpstan checkFunctionArgumentTypes errors in ext:core AuthenticationUnder Review

Task #92269: Fix phpstan checkFunctionArgumentTypes errors in ext:core ComposerResolved

Task #92270: Fix phpstan checkFunctionArgumentTypes errors in ext:core HttpUnder Review

Task #92271: Fix phpstan checkFunctionArgumentTypes errors in ext:core PageUnder Review

Task #92272: Fix phpstan checkFunctionArgumentTypes errors in ext:core SiteResolved

Task #92273: Fix phpstan checkFunctionArgumentTypes errors in ext:core DatabaseUnder Review

Task #92274: Fix phpstan checkFunctionArgumentTypes errors in ext:core ExpressionLanguageUnder Review

Task #92275: Fix phpstan checkFunctionArgumentTypes errors in ext:core TypoScriptUnder Review

Task #92276: Fix phpstan checkFunctionArgumentTypes errors in ext:core CharsetUnder Review

Task #92277: Fix phpstan checkFunctionArgumentTypes errors in ext:core ImagingUnder Review

Task #92278: Fix phpstan checkFunctionArgumentTypes errors in ext:core RoutingUnder Review

Task #92279: Fix phpstan checkFunctionArgumentTypes errors in ext:core UtilityUnder Review

Task #92280: Fix phpstan checkFunctionArgumentTypes errors in ext:core DataHandlingUnder Review

Task #92281: Fix phpstan checkFunctionArgumentTypes errors in ext:core CoreUnder Review

Task #92282: Fix phpstan checkFunctionArgumentTypes errors in ext:core MailUnder Review


Related issues

Related to TYPO3 Core - Task #92298: phpstan related changes to DependencyInjection caused wrong type declaration Under Review 2020-09-13

Associated revisions

Revision d70c568a (diff)
Added by Alexander Schnitzler 8 days ago

[TASK] Fix phpstan checkFunctionArgumentTypes errors in ext:core DependencyInjection

This patch fixes incompatible type usage in function arguments
and is preparatory work for introducing native type hints and
strict mode in all core files.

Releases: master, 10.4
Resolves: #92110
Change-Id: I41e6959173e28db5aaa2310c5956296fdd8e4525
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65685
Tested-by: TYPO3com <>
Tested-by: Sascha Egerer <>
Tested-by: Benni Mack <>
Reviewed-by: Oliver Klee <>
Reviewed-by: Sascha Egerer <>
Reviewed-by: Jörg Bösche <>
Reviewed-by: Benni Mack <>

Revision 39e75ef3 (diff)
Added by Alexander Schnitzler 8 days ago

[TASK] Fix phpstan checkFunctionArgumentTypes errors in ext:core DependencyInjection

This patch fixes incompatible type usage in function arguments
and is preparatory work for introducing native type hints and
strict mode in all core files.

Releases: master, 10.4
Resolves: #92110
Change-Id: I41e6959173e28db5aaa2310c5956296fdd8e4525
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65719
Tested-by: TYPO3com <>
Tested-by: Benni Mack <>
Reviewed-by: Benni Mack <>

History

#1 Updated by Gerrit Code Review 25 days ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65465

#2 Updated by Gerrit Code Review 23 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65465

#3 Updated by Gerrit Code Review 20 days ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65465

#4 Updated by Gerrit Code Review 17 days ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65465

#5 Updated by Gerrit Code Review 16 days ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65465

#6 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65655

#7 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65656

#8 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65657

#9 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65658

#10 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65659

#11 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65660

#12 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65661

#13 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65662

#14 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65663

#15 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65664

#16 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65665

#17 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65666

#18 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65667

#19 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65668

#20 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65669

#21 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65670

#22 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65671

#23 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65672

#24 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65673

#25 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65674

#26 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65675

#27 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65676

#28 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65677

#29 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65678

#30 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65679

#31 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65680

#32 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65681

#33 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65682

#34 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65683

#35 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65684

#36 Updated by Gerrit Code Review 11 days ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65685

#37 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65685

#38 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65684

#39 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65683

#40 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65682

#41 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65655

#42 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65656

#43 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65657

#44 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65658

#45 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65659

#46 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65660

#47 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65661

#48 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65662

#49 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65663

#50 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65664

#51 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65665

#52 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65666

#53 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65667

#54 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65668

#55 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65669

#56 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65670

#57 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65671

#58 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65672

#59 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65673

#60 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65674

#61 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65675

#62 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65676

#63 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65677

#64 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65678

#65 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65679

#66 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65680

#67 Updated by Gerrit Code Review 11 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65681

#68 Updated by Gerrit Code Review 10 days ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65685

#69 Updated by Gerrit Code Review 9 days ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65685

#70 Updated by Gerrit Code Review 8 days ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65719

#71 Updated by Anonymous 8 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 23 to 100

#72 Updated by Benjamin Franzke 7 days ago

  • Related to Task #92298: phpstan related changes to DependencyInjection caused wrong type declaration added

Also available in: Atom PDF