Passed
Pull Request — master (#403)
by Sergei
03:30
created
src/Rule/HasLength.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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
     SerializableRuleInterface,
28 28
     SkipOnErrorInterface,
Please login to merge, or discard this patch.
src/Rule/GreaterThan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/Rule/LessThan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/Rule/GreaterThanOrEqual.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/Rule/Number.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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 SerializableRuleInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
27 27
 {
28 28
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Rule/In.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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 SerializableRuleInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
25 25
 {
26 26
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Rule/Email.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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 SerializableRuleInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
27 27
 {
28 28
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Rule/Count.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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
     SerializableRuleInterface,
28 28
     SkipOnErrorInterface,
Please login to merge, or discard this patch.
src/Rule/Regex.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
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 SerializableRuleInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
26 26
 {
27 27
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.