This PR can be summarized in the following changelog entry:
CMS10 non-composer ships with doctrine/dbal 2.10, which means the fetchAssociative and fetchAllAssociative methods are not available, this PR fixes that
Relevant technical choices:
Introduced DbalService which checks if the TYPO3 major version is 10, if so use the old fetch and fetchAll methods, otherwise the Associative methods
Test instructions
This PR can be tested by following these steps:
Pull branch and check every functionality if it still works in all versions but especially CMS10
Quality assurance
[X] I have tested this code to the best of my abilities
[ ] I have added unittests to verify the code works as intended
Summary
This PR can be summarized in the following changelog entry:
doctrine/dbal
2.10, which means thefetchAssociative
andfetchAllAssociative
methods are not available, this PR fixes thatRelevant technical choices:
DbalService
which checks if the TYPO3 major version is 10, if so use the oldfetch
andfetchAll
methods, otherwise theAssociative
methodsTest instructions
This PR can be tested by following these steps:
Quality assurance
Fixes #534