@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * are checked byte by byte. When validating numbers, make sure to change {@see GreaterThan::$type} to |
| 20 | 20 | * {@see GreaterThan::TYPE_NUMBER} to enable numeric validation. |
| 21 | 21 | */ |
| 22 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 22 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 23 | 23 | final class GreaterThan extends Compare |
| 24 | 24 | { |
| 25 | 25 | public function __construct( |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * are checked byte by byte. When validating numbers, make sure to change {@see LessThan::$type} to |
| 20 | 20 | * {@see LessThan::TYPE_NUMBER} to enable numeric validation. |
| 21 | 21 | */ |
| 22 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 22 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 23 | 23 | final class LessThan extends Compare |
| 24 | 24 | { |
| 25 | 25 | public function __construct( |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * are checked byte by byte. When validating numbers, make sure to change {@see GreaterThanOrEqual::$type} to |
| 20 | 20 | * {@see GreaterThanOrEqual::TYPE_NUMBER} to enable numeric validation. |
| 21 | 21 | */ |
| 22 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 22 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 23 | 23 | final class GreaterThanOrEqual extends Compare |
| 24 | 24 | { |
| 25 | 25 | public function __construct( |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | * are checked byte by byte. When validating numbers, make sure to change {@see Equal::$type} to |
| 20 | 20 | * {@see Equal::TYPE_NUMBER} to enable numeric validation. |
| 21 | 21 | */ |
| 22 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 22 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 23 | 23 | final class Equal extends Compare |
| 24 | 24 | { |
| 25 | 25 | public function __construct( |
@@ -67,9 +67,9 @@ discard block |
||
| 67 | 67 | message: $this->message, |
| 68 | 68 | type: $this->type, |
| 69 | 69 | operator: $this->strict ? '===' : '==', |
| 70 | - skipOnEmpty: $skipOnEmpty, |
|
| 71 | - skipOnError: $this->skipOnError, |
|
| 72 | - when: $this->when, |
|
| 70 | + skipOnEmpty : $skipOnEmpty, |
|
| 71 | + skipOnError : $this->skipOnError, |
|
| 72 | + when : $this->when, |
|
| 73 | 73 | ); |
| 74 | 74 | } |
| 75 | 75 | |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | * are checked byte by byte. When validating numbers, make sure to change {@see NotEqual::$type} to |
| 20 | 20 | * {@see NotEqual::TYPE_NUMBER} to enable numeric validation. |
| 21 | 21 | */ |
| 22 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 22 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 23 | 23 | final class NotEqual extends Compare |
| 24 | 24 | { |
| 25 | 25 | public function __construct( |
@@ -67,9 +67,9 @@ discard block |
||
| 67 | 67 | message: $this->message, |
| 68 | 68 | type: $this->type, |
| 69 | 69 | operator: $this->strict ? '!==' : '!=', |
| 70 | - skipOnEmpty: $skipOnEmpty, |
|
| 71 | - skipOnError: $this->skipOnError, |
|
| 72 | - when: $this->when, |
|
| 70 | + skipOnEmpty : $skipOnEmpty, |
|
| 71 | + skipOnError : $this->skipOnError, |
|
| 72 | + when : $this->when, |
|
| 73 | 73 | ); |
| 74 | 74 | } |
| 75 | 75 | |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * are compared byte by byte. When comparing numbers, make sure to change {@see CompareTo::$type} to |
| 20 | 20 | * {@see CompareTo::TYPE_NUMBER} to enable numeric comparison. |
| 21 | 21 | */ |
| 22 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 22 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 23 | 23 | final class CompareTo extends Compare |
| 24 | 24 | { |
| 25 | 25 | public function getName(): string |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * are checked byte by byte. When validating numbers, make sure to change {@see LessThanOrEqual::$type} to |
| 20 | 20 | * {@see LessThanOrEqual::TYPE_NUMBER} to enable numeric validation. |
| 21 | 21 | */ |
| 22 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 22 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 23 | 23 | final class LessThanOrEqual extends Compare |
| 24 | 24 | { |
| 25 | 25 | public function __construct( |
@@ -30,8 +30,8 @@ |
||
| 30 | 30 | |
| 31 | 31 | public function __construct( |
| 32 | 32 | private object $object, |
| 33 | - private int $propertyVisibility = ReflectionProperty::IS_PRIVATE | |
|
| 34 | - ReflectionProperty::IS_PROTECTED | |
|
| 33 | + private int $propertyVisibility = ReflectionProperty::IS_PRIVATE| |
|
| 34 | + ReflectionProperty::IS_PROTECTED| |
|
| 35 | 35 | ReflectionProperty::IS_PUBLIC, |
| 36 | 36 | private bool $skipStaticProperties = false, |
| 37 | 37 | bool $useCache = true |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | public function __construct( |
| 25 | 25 | private object $object, |
| 26 | - int $propertyVisibility = ReflectionProperty::IS_PRIVATE | |
|
| 27 | - ReflectionProperty::IS_PROTECTED | |
|
| 26 | + int $propertyVisibility = ReflectionProperty::IS_PRIVATE| |
|
| 27 | + ReflectionProperty::IS_PROTECTED| |
|
| 28 | 28 | ReflectionProperty::IS_PUBLIC, |
| 29 | 29 | bool $useCache = true |
| 30 | 30 | ) { |