Issue Task Closed

#63477Use name-resolution instead of strings where possible

Stefan Neufeind 12/01/14, 13:06 updated 10/02/18, 11:47

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,})+

Reviews 17