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