We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -55,9 +55,9 @@ |
||
| 55 | 55 | |
| 56 | 56 | if (!$this->expressionLanguage->evaluate($constraint->expression, $variables)) { |
| 57 | 57 | $this->context->buildViolation($constraint->message) |
| 58 | - ->setParameter('{{ value }}', $this->formatValue($value, self::OBJECT_TO_STRING)) |
|
| 59 | - ->setCode(Expression::EXPRESSION_FAILED_ERROR) |
|
| 60 | - ->addViolation(); |
|
| 58 | + ->setParameter('{{ value }}', $this->formatValue($value, self::OBJECT_TO_STRING)) |
|
| 59 | + ->setCode(Expression::EXPRESSION_FAILED_ERROR) |
|
| 60 | + ->addViolation(); |
|
| 61 | 61 | } |
| 62 | 62 | } |
| 63 | 63 | } |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | public function validate($value, Constraint $constraint): void |
| 36 | 36 | { |
| 37 | 37 | if (!$constraint instanceof Expression) { |
| 38 | - throw new UnexpectedTypeException($constraint, __NAMESPACE__ . '\Expression'); |
|
| 38 | + throw new UnexpectedTypeException($constraint, __NAMESPACE__.'\Expression'); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | $variables = $constraint->values; |