Project

General

Profile

Actions

Task #63477

closed

Use name-resolution instead of strings where possible

Added by Stefan Neufeind almost 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2014-12-01
Due date:
% Done:

100%

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

Description

Use ...::class instead of just strings where possible. This will allow to easily track references, find typos in classnames etc.

This feature is possible since PHP 5.5. Master meanwhile requires 5.5.

Original introduction of this feature was in #63112, this here adds in various more places.

Regexp used to find occurrences manually: '\\\\?\w{3,}(\\\\?\w{3,})+

Actions

Also available in: Atom PDF