We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 5 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | abstract class ClassUtils |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @codeCoverageIgnore |
||
| 18 | */ |
||
| 19 | private function __construct() |
||
| 20 | { |
||
| 21 | } |
||
| 22 | |||
| 23 | 94 | public static function shortenClassName($definition) |
|
| 24 | { |
||
| 25 | 94 | $shortName = \substr($definition, \strrpos($definition, '\\') + 1); |
|
| 26 | |||
| 27 | 94 | return $shortName; |
|
| 28 | } |
||
| 29 | |||
| 30 | 50 | public static function shortenClassFromCode($code, callable $callback = null) |
|
| 41 | } |
||
| 42 | |||
| 43 | 102 | public static function cleanClasseName($use) |
|
| 46 | } |
||
| 47 | } |
||
| 48 |