[TASK] Avoid deprecated doctrine/dbal method 'executeUpdate()'
doctrine/dbal deprecated quite some methods to cleanup their codebase and provided replacements with more speaking method names. Most depcrecated method usages have been replaced in the core, but we missed some. The patch replaces the depcrecated method 'executeUpdate()' with the corresponding 'executeStatement()' method in several places to cleanup this up. This can be done also in 11.5 too, the required minimum version of doctrine/dbal provides these new methods as upwards compatible layer. Resolves: #96389 Releases: main, 11.5 Change-Id: Ibf8f49a27a1c8c4b34bda88a20f4fba6afe45cb8 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72710 Tested-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Classes/Database/Connection.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Database/Connection.php
- typo3/sysext/core/Classes/Database/Query/BulkInsertQuery.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Database/Query/BulkInsertQuery.php
- typo3/sysext/core/Classes/Database/Schema/ConnectionMigrator.php 1 addition, 1 deletion...ysext/core/Classes/Database/Schema/ConnectionMigrator.php
- typo3/sysext/core/Classes/Database/Schema/SchemaMigrator.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Database/Schema/SchemaMigrator.php
- typo3/sysext/core/Tests/Functional/Database/Schema/SchemaMigratorTest.php 1 addition, 1 deletion...e/Tests/Functional/Database/Schema/SchemaMigratorTest.php
- typo3/sysext/core/Tests/Unit/Database/ConnectionTest.php 2 additions, 2 deletionstypo3/sysext/core/Tests/Unit/Database/ConnectionTest.php
Please register or sign in to comment