services(); $services->set(AddParamTypeDeclarationRector::class) ->call('configure', [[ AddParamTypeDeclarationRector::PARAMETER_TYPEHINTS => inline_value_objects([ new ParameterTypehint( 'Doctrine\ORM\Mapping\ClassMetadataFactory', 'setEntityManager', 0, 'Doctrine\ORM\EntityManagerInterface' ), new ParameterTypehint( 'Doctrine\ORM\Tools\DebugUnitOfWorkListener', 'dumpIdentityMap', 0, 'Doctrine\ORM\EntityManagerInterface' ), ]), ]]); $services->set(ArgumentRemoverRector::class) ->call('configure', [[ ArgumentRemoverRector::POSITIONS_BY_METHOD_NAME_BY_CLASS_TYPE => [ 'Doctrine\ORM\Persisters\Entity\AbstractEntityInheritancePersister' => [ 'getSelectJoinColumnSQL' => [ 4 => null, ], ], ], ]]); };