Project

General

Profile

Actions

Bug #66647

closed

Not all signals are dispatched with fully qualified class name

Added by Mathias Brodala almost 9 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Must have
Category:
Code Cleanup
Start date:
2015-04-29
Due date:
% Done:

50%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

Some signals are dispatched via __CLASS__ which will change in case the class is moved or renamed.

In all of these cases \Vendor\Package\Class::class should be used instead to ensure constant names. This must be a fully qualified class name, Class::class does not suffice since that will change too in case of move or rename.

Actions

Also available in: Atom PDF