Project

General

Profile

Actions

Task #91059

closed

Disable rector auto_import_names for ServiceProviders

Added by Benjamin Franzke about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
Start date:
2020-04-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The changes applied in https://review.typo3.org/c/Packages/TYPO3.CMS/+/64180/8/typo3/sysext/extbase/Classes/ServiceProvider.php cause the getFactories array to appear quite randomly, while it was grouped using relative paths before.

Before, grouped:

            Object\Container\Container::class => [ static::class, 'getObjectContainer' ],
            Object\ObjectManager::class => [ static::class, 'getObjectManager' ],
            SignalSlot\Dispatcher::class => [ static::class, 'getSignalSlotDispatcher' ],
            Configuration\ConfigurationManager::class => [ static::class, 'getConfigurationManager' ],
            Reflection\ReflectionService::class => [ static::class, 'getReflectionService' ],
            Service\EnvironmentService::class => [ static::class, 'getEnvironmentService' ],
            Service\ExtensionService::class => [ static::class, 'getExtensionService' ],
            Security\Cryptography\HashService::class => [ static::class, 'getHashService' ],
        ];
    }

After, without grouping:

            Container::class => [ static::class, 'getObjectContainer' ],
            ObjectManager::class => [ static::class, 'getObjectManager' ],
            Dispatcher::class => [ static::class, 'getSignalSlotDispatcher' ],
            ConfigurationManager::class => [ static::class, 'getConfigurationManager' ],
            ReflectionService::class => [ static::class, 'getReflectionService' ],
            EnvironmentService::class => [ static::class, 'getEnvironmentService' ],
            ExtensionService::class => [ static::class, 'getExtensionService' ],
            HashService::class => [ static::class, 'getHashService' ],
Actions

Also available in: Atom PDF