@@ -6,7 +6,7 @@ |
||
6 | 6 | use Rector\Config\RectorConfig; |
7 | 7 | use Rector\Set\ValueObject\LevelSetList; |
8 | 8 | |
9 | -return static function (RectorConfig $rectorConfig): void { |
|
9 | +return static function(RectorConfig $rectorConfig): void { |
|
10 | 10 | $rectorConfig->paths([ |
11 | 11 | __DIR__ . '/src', |
12 | 12 | __DIR__ . '/tests', |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * Note, this rule should only be used with strings. |
24 | 24 | */ |
25 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
25 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
26 | 26 | final class HasLength implements |
27 | 27 | RuleWithOptionsInterface, |
28 | 28 | SkipOnErrorInterface, |
@@ -37,7 +37,7 @@ |
||
37 | 37 | /** |
38 | 38 | * Can be used for validation of nested structures. |
39 | 39 | */ |
40 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
40 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
41 | 41 | final class Nested implements |
42 | 42 | RuleWithOptionsInterface, |
43 | 43 | SkipOnErrorInterface, |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * or {@see Number::$numberPattern}. Optionally, you may configure the {@see Number::min()} and {@see Number::max()} |
23 | 23 | * to ensure the number is within certain range. |
24 | 24 | */ |
25 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
25 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
26 | 26 | final class Number implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
27 | 27 | { |
28 | 28 | use SkipOnEmptyTrait; |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * If the {@see In::$not} is set, the validation logic is inverted and the rule will ensure that the value is NOT one of |
21 | 21 | * them. |
22 | 22 | */ |
23 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
23 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
24 | 24 | final class In implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
25 | 25 | { |
26 | 26 | use SkipOnEmptyTrait; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * Validates that the value is a valid email address. |
24 | 24 | */ |
25 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
25 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
26 | 26 | final class Email implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
27 | 27 | { |
28 | 28 | use SkipOnEmptyTrait; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * Validates that the value contains certain number of items. Can be applied to arrays or classes implementing |
23 | 23 | * {@see Countable} interface. |
24 | 24 | */ |
25 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
25 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
26 | 26 | final class Count implements |
27 | 27 | RuleWithOptionsInterface, |
28 | 28 | SkipOnErrorInterface, |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * |
22 | 22 | * If the {@see Regex::$not} is used, the rule will ensure the value do NOT match the pattern. |
23 | 23 | */ |
24 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
24 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
25 | 25 | final class Regex implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
26 | 26 | { |
27 | 27 | use SkipOnEmptyTrait; |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * Note that this rule only checks if the URL scheme and host part are correct. |
25 | 25 | * It does not check the remaining parts of a URL. |
26 | 26 | */ |
27 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
27 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
28 | 28 | final class Url implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
29 | 29 | { |
30 | 30 | use SkipOnEmptyTrait; |