froemken / dropbox

Provides a DropBox driver for the TYPO3 File Abstraction Layer
Other
25 stars 9 forks source link

Replace fetchColumn() with fetchOne() #38

Open mhuber84 opened 6 months ago

mhuber84 commented 6 months ago

Doctrine\DBAL\Result::fetchColumn() is removed in dbal v3 introduced in TYPO3 v12. It should be replaced with fetchOne(). https://github.com/froemken/dropbox/blob/45202996f1f22be0a82baa086990ba46f76ccf47/Classes/Upgrade/RenameExtensionKeyUpgrade.php#L54

fetch() should be replaced by fetchAssociative(), too. https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-96287-DoctrineDBALv3.html#breaking-96287-doctrine-dbal-v3