We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 4 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 4 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | 1 | public function solve($values, $config = null) |
|
|
|
|||
| 17 | { |
||
| 18 | 1 | if (!empty($values['values'])) { |
|
| 19 | 1 | foreach ($values['values'] as $name => &$options) { |
|
| 20 | 1 | if (isset($options['value'])) { |
|
| 21 | 1 | $options['value'] = $this->solveUsingExpressionLanguageIfNeeded($options['value']); |
|
| 22 | 1 | } |
|
| 23 | 1 | } |
|
| 24 | 1 | } |
|
| 25 | |||
| 26 | 1 | return $values; |
|
| 27 | } |
||
| 28 | } |
||
| 29 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.