rectorphp/rector-doctrine

`DOCTRINE_DBAL_210` incorrectly renames some `Doctrine\DBAL\Types\Type` usages

Blacksmoke16 opened this issue · 1 comments

For example, if using custom types:

<?php

\Doctrine\DBAL\Types\Type::addType('money', 'My\Project\Types\MoneyType');

would be updated to:

<?php

\Doctrine\DBAL\Types\Types::addType('money', 'My\Project\Types\MoneyType');

Which is invalid since these methods only exist on the Doctrine\DBAL\Types\Type version.

Introduced in rectorphp/rector#2514.

fixed at #104