Passed
Push — develop ( 58cba6...dd1d01 )
by nguereza
12:49
created
src/Rule/IP.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class IP
54 54
  * @package Platine\Validator\Rule
55 55
  */
56
-class IP implements RuleInterface
57
-{
56
+class IP implements RuleInterface {
58 57
     /**
59 58
      * {@inheritdoc}
60 59
      * @see RuleInterface
Please login to merge, or discard this patch.
src/Rule/Password.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
  * @class Password
54 54
  * @package Platine\Validator\Rule
55 55
  */
56
-class Password implements RuleInterface
57
-{
56
+class Password implements RuleInterface {
58 57
     /*
59 58
      * The error type list
60 59
      */
@@ -80,8 +79,7 @@  discard block
 block discarded – undo
80 79
      * Constructor
81 80
      * @param array<string, bool|int> $rules
82 81
      */
83
-    public function __construct(array $rules = [])
84
-    {
82
+    public function __construct(array $rules = []) {
85 83
         $this->rules = array_merge([
86 84
             'length' => 5,
87 85
             'uppercase' => false,
Please login to merge, or discard this patch.
src/Rule/Equal.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
  * @class Equal
54 54
  * @package Platine\Validator\Rule
55 55
  */
56
-class Equal implements RuleInterface
57
-{
56
+class Equal implements RuleInterface {
58 57
     /**
59 58
      * Value to compare against
60 59
      * @var mixed
@@ -65,8 +64,7 @@  discard block
 block discarded – undo
65 64
      * Constructor
66 65
      * @param mixed $value the value to compare against
67 66
      */
68
-    public function __construct(mixed $value)
69
-    {
67
+    public function __construct(mixed $value) {
70 68
         $this->value = $value;
71 69
     }
72 70
 
Please login to merge, or discard this patch.
src/Rule/Range.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,13 +59,13 @@  discard block
 block discarded – undo
59 59
      * Minimum Value to compare against
60 60
      * @var string|float|int|bool|null
61 61
      */
62
-    protected string|float|int|bool|null $min;
62
+    protected string | float | int | bool | null $min;
63 63
 
64 64
     /**
65 65
      * Maximum Value to compare against
66 66
      * @var string|float|int|bool|null
67 67
      */
68
-    protected string|float|int|bool|null $max;
68
+    protected string | float | int | bool | null $max;
69 69
 
70 70
     /**
71 71
      * Constructor
@@ -73,8 +73,8 @@  discard block
 block discarded – undo
73 73
      * @param string|float|int|bool|null $max the maximum value to compare against
74 74
      */
75 75
     public function __construct(
76
-        string|float|int|bool|null $min,
77
-        string|float|int|bool|null $max
76
+        string | float | int | bool | null $min,
77
+        string | float | int | bool | null $max
78 78
     ) {
79 79
         $this->min = $min;
80 80
         $this->max = $max;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class Range
54 54
  * @package Platine\Validator\Rule
55 55
  */
56
-class Range implements RuleInterface
57
-{
56
+class Range implements RuleInterface {
58 57
     /**
59 58
      * Minimum Value to compare against
60 59
      * @var string|float|int|bool|null
Please login to merge, or discard this patch.
src/Rule/MaxLength.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
  * @class MaxLength
54 54
  * @package Platine\Validator\Rule
55 55
  */
56
-class MaxLength implements RuleInterface
57
-{
56
+class MaxLength implements RuleInterface {
58 57
     /**
59 58
      * The length
60 59
      * @var int
@@ -65,8 +64,7 @@  discard block
 block discarded – undo
65 64
      * Constructor
66 65
      * @param int $length
67 66
      */
68
-    public function __construct(int $length)
69
-    {
67
+    public function __construct(int $length) {
70 68
         $this->length = $length;
71 69
     }
72 70
 
Please login to merge, or discard this patch.
src/Rule/URL.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class URL
54 54
  * @package Platine\Validator\Rule
55 55
  */
56
-class URL implements RuleInterface
57
-{
56
+class URL implements RuleInterface {
58 57
     /**
59 58
      * {@inheritdoc}
60 59
      * @see RuleInterface
Please login to merge, or discard this patch.
src/Rule/Alpha.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class Alpha
54 54
  * @package Platine\Validator\Rule
55 55
  */
56
-class Alpha implements RuleInterface
57
-{
56
+class Alpha implements RuleInterface {
58 57
     /**
59 58
      * String pattern to allow
60 59
      * @var string
Please login to merge, or discard this patch.
src/Rule/IPv4.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class IPv4
54 54
  * @package Platine\Validator\Rule
55 55
  */
56
-class IPv4 implements RuleInterface
57
-{
56
+class IPv4 implements RuleInterface {
58 57
     /**
59 58
      * {@inheritdoc}
60 59
      * @see RuleInterface
Please login to merge, or discard this patch.
src/Rule/IPv6.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class IPv6
54 54
  * @package Platine\Validator\Rule
55 55
  */
56
-class IPv6 implements RuleInterface
57
-{
56
+class IPv6 implements RuleInterface {
58 57
     /**
59 58
      * {@inheritdoc}
60 59
      * @see RuleInterface
Please login to merge, or discard this patch.