86797[TASK] Add new list_type deprecation match to extension scanner
Commit message
Review
-
Code review CR +2 Done
- Garvin Hicking +2
- Oli Bartsch +1
- Simon Schaufelberger +1
-
Verified V +2 Done
- Garvin Hicking +2
- Oli Bartsch +1
- Simon Schaufelberger +1
- core-ci +1 CI
Issues 2
Files 2
Review log 1113
-
Torben Hansen uploaded patch set 1 10/26/24, 04:47
-
core-ci voted on patch set 1 V +1 10/26/24, 04:52 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/68656
-
Garvin Hicking voted on patch set 1 CR +1 V +1 10/26/24, 08:38
-
Christian Kuhn commented on patch set 1 CR -1 10/26/24, 11:45
-
Christian Kuhn commented on patch set 1 10/26/24, 11:56
MethodArgumentRequiredStaticMatcher.php:20Replyah. you're right, this is the correct definition: with dropping list_type, all 5 arguments are required. i'm however unsure how this evolves in the future: the 5th arguments will allow only one value after deprecation removals which pretty much obsoletes it. we probably still don't want to drop it, since this would add new b/w compat issues ... in the end, we may want to get of the method altogether and maybe introduce a new one, maybe? it's kinda ugly that extbase has this stuff anyways ... so for now ... hmm? do the patch, but add a comment that dropping 5th argument shouldn't be done before v15, maybe? -
Garvin Hicking commented on patch set 1 10/26/24, 12:56
MethodArgumentRequiredStaticMatcher.php:20ReplyRemarks from our chat about this: Torben has a plan to generally rework the plugin registration API in v14, like you also want to. So we were thinking to cut corners and not take the deprecation too complex and work with this approach for now. By requiring the 5th argument in v13, it will make this process easier. And for the time being we might even utilize the 5th argument somehow, so requiring it for now will make it easier to perform scanning in the next deprecation. It would get improved with matching in https://forge.typo3.org/issues/105091 as a follow-up. Let's schedule a small talk next week to sort this out proper. -
Garvin Hicking commented on patch set 1 10/26/24, 13:07
MethodArgumentRequiredStaticMatcher.php:20ReplyAlso note: We mainly want to increase scanner matching here and make it complain about possible issues, and not raising the REAL mandatory arguments intentionally (to prevent BC). -
Oli Bartsch uploaded patch set 2
CR +1V +111/07/24, 08:22 -
Oli Bartsch voted on patch set 2 CR +1 V +1 11/07/24, 08:22
-
core-ci voted on patch set 2 V +1 11/07/24, 08:29 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/69171
-
Simon Schaufelberger voted on patch set 2 CR +1 V +1 11/07/24, 10:04
-
Garvin Hicking voted on patch set 2 CR +2 V +2 11/07/24, 12:36
-
Garvin Hicking merged patch set 3 11/07/24, 12:48
MethodArgumentRequiredStaticMatcher.php:20