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 | } |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | #[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::TARGET_PROPERTY)] |
| 17 | 17 | final class IsPublic extends Annotation implements NamedArgumentConstructorAnnotation |
| 18 | 18 | { |
| 19 | - /** |
|
| 20 | - * Field publicity. |
|
| 21 | - * |
|
| 22 | - * @Required |
|
| 23 | - * |
|
| 24 | - * @var string |
|
| 25 | - */ |
|
| 19 | + /** |
|
| 20 | + * Field publicity. |
|
| 21 | + * |
|
| 22 | + * @Required |
|
| 23 | + * |
|
| 24 | + * @var string |
|
| 25 | + */ |
|
| 26 | 26 | public string $value; |
| 27 | 27 | |
| 28 | 28 | public function __construct(string $value) |