| 1 | <?php |
||
| 16 | class ConstantChecker extends AbstractChecker |
||
| 17 | { |
||
| 18 | |||
| 19 | const TYPE_CONSTANT_DELETED = 'constant.deleted'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Constructor. |
||
| 23 | * |
||
| 24 | * @param CacheProvider $cache Cache provider. |
||
| 25 | */ |
||
| 26 | 3 | public function __construct(CacheProvider $cache) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * Returns backwards compatibility checker name. |
||
| 37 | * |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | 1 | public function getName() |
|
| 44 | |||
| 45 | /** |
||
| 46 | * Collects backwards compatibility violations. |
||
| 47 | * |
||
| 48 | * @return void |
||
| 49 | */ |
||
| 50 | 2 | protected function doCheck() |
|
| 64 | |||
| 65 | } |
||
| 66 |