We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 51 | 7 | return Type::listOf($this->getType(substr($alias, 1, -1))); |
|
| 52 | } |
||
| 53 | |||
| 54 | 33 | $type = $this->getSolution($alias); |
|
| 55 | 33 | if (null === $type) { |
|
| 56 | 1 | throw new UnresolvableException( |
|
| 57 | 1 | sprintf('Unknown type with alias "%s" (verified service tag)', $alias) |
|
| 58 | 1 | ); |
|
| 59 | } |
||
| 60 | |||
| 61 | 32 | return $type; |
|
| 62 | } |
||
| 63 | |||
| 64 | 33 | protected function supportedSolutionClass() |
|
| 65 | { |
||
| 69 |