We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 25-29 (lines=5) @@ | ||
| 22 | { |
|
| 23 | parent::checkRequirements($id, $tag); |
|
| 24 | ||
| 25 | if (isset($tag['method']) && !is_string($tag['method'])) { |
|
| 26 | throw new \InvalidArgumentException( |
|
| 27 | sprintf('Service tagged "%s" must have valid "method" argument.', $id) |
|
| 28 | ); |
|
| 29 | } |
|
| 30 | } |
|
| 31 | ||
| 32 | protected function getResolverServiceID() |
|
| @@ 93-97 (lines=5) @@ | ||
| 90 | ||
| 91 | protected function checkRequirements($id, array $tag) |
|
| 92 | { |
|
| 93 | if (isset($tag['alias']) && !is_string($tag['alias'])) { |
|
| 94 | throw new \InvalidArgumentException( |
|
| 95 | sprintf('Service tagged "%s" must have valid "alias" argument.', $id) |
|
| 96 | ); |
|
| 97 | } |
|
| 98 | } |
|
| 99 | ||
| 100 | abstract protected function getTagName(); |
|