Project

General

Profile

Actions

Task #67908

closed

Cleanup usage of use for Utility-namespace

Added by Stefan Neufeind almost 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2015-07-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

Replace usages of
use TYPO3\CMS\Core\Utility;
with direct use-statements of the class we really want to use, like
use TYPO3\CMS\Core\Utility\GeneralUtility;

This way no Utility\GeneralUtility::something is used anymore (which is only used in some few cases) but we replace it with GeneralUtility::something everywhere and it makes it easier to see which classes are really "used".

Actions

Also available in: Atom PDF