Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
20 | 1 | public static function unsupportedLocalizedReflectionProperty(ReflectionProperty $property) : self |
|
21 | 1 | { |
|
22 | 1 | return new self( |
|
23 | 1 | sprintf( |
|
24 | 'Provided reflection property "%s" of class "%s" is private and cannot be localized in PHP 5.3', |
||
25 | $property->getName(), |
||
26 | $property->getDeclaringClass()->getName() |
||
27 | ) |
||
28 | ); |
||
29 | } |
||
30 | |||
44 |