We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -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) |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | // @phpstan-ignore-next-line |
| 30 | - return array_map(fn (ReflectionAttribute $attribute) => $attribute->newInstance(), $attributes); |
|
| 30 | + return array_map(fn(ReflectionAttribute $attribute) => $attribute->newInstance(), $attributes); |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -438,7 +438,7 @@ |
||
| 438 | 438 | $values = []; |
| 439 | 439 | |
| 440 | 440 | foreach ($reflectionClass->getConstants() as $name => $value) { |
| 441 | - $enumValueAnnotation = current(array_filter($enumValues, fn ($enumValueAnnotation) => $enumValueAnnotation->name === $name)); |
|
| 441 | + $enumValueAnnotation = current(array_filter($enumValues, fn($enumValueAnnotation) => $enumValueAnnotation->name === $name)); |
|
| 442 | 442 | $valueConfig = []; |
| 443 | 443 | $valueConfig['value'] = $value; |
| 444 | 444 | |