diff --git a/config/sets/doctrine-dbal-211.php b/config/sets/doctrine-dbal-211.php index fbf2be8e..54b8b5b2 100644 --- a/config/sets/doctrine-dbal-211.php +++ b/config/sets/doctrine-dbal-211.php @@ -137,6 +137,10 @@ new MethodCallRename('Doctrine\DBAL\Statement', 'fetchAssoc', 'fetchAssociative'), new MethodCallRename('Doctrine\DBAL\Statement', 'fetchColumn', 'fetchOne'), new MethodCallRename('Doctrine\DBAL\Statement', 'fetchAll', 'fetchAllAssociative'), + new MethodCallRename('Doctrine\DBAL\Result', 'fetchAssoc', 'fetchAssociative'), + new MethodCallRename('Doctrine\DBAL\Result', 'fetchArray', 'fetchNumeric'), + new MethodCallRename('Doctrine\DBAL\Result', 'fetchColumn', 'fetchOne'), + new MethodCallRename('Doctrine\DBAL\Result', 'fetchAll', 'fetchAllAssociative'), ]); $rectorConfig->ruleWithConfiguration(RenameClassRector::class, [