Open derhansen opened 3 months ago
We still need a way to make this TYPO3 version dependent as these types are now also valid in older TYPO3 versions with the current implementation.
Can you elaborate what this means for this PR? Should we have different versions of the package for different TYPO3 versions or make requestGetAttributeMapping
somehow TYPO3 major version aware? IMO, it would be fine to just add the types as is, since they just provide type mapping for the static code analysis and I doubt developers will use v13 only request attributes in <v13 projects.
But I'm also fine to just add the mapping to my custom phpstan.neon
file :-)
I'm not yet sure how to solve the issue with supporting multiple TYPO3 versions. We do also have issues with the stubs where we already have a way to load them based on the TYPO3 version. But we really have to clean this up. I'll try to have a look at it soon.
Added
frontend.page.information
- see https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/RequestLifeCycle/RequestAttributes/FrontendPageInformation.html#frontend-page-informationAdded
frontend.cache.instruction
- see https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/RequestLifeCycle/RequestAttributes/FrontendCacheInstruction.html#frontend-cache-instruction