| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 9 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 2 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 56 | 2 | public function checkDependency(BuilderInterface $builder)  | 
            |
| 57 |     { | 
            ||
| 58 | 2 |         if (! class_exists($builder->getMainCLassName())) { | 
            |
| 59 | 1 |             $message = "missing {$builder->getPackageName()}, please install it using composer : composer require {$builder->getPackageName()}"; | 
            |
| 60 | 1 | throw new MissingDependencyException($message);  | 
            |
| 61 | }  | 
            ||
| 62 | |||
| 63 | 1 | return true;  | 
            |
| 64 | }  | 
            ||
| 65 | }  | 
            ||
| 66 |