Passed
Push — develop ( d90dee...8d2d50 )
by nguereza
01:46
created
src/Rule/IPv4.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@
 block discarded – undo
49 49
 use Platine\Validator\RuleInterface;
50 50
 use Platine\Validator\Validator;
51 51
 
52
-class IPv4 implements RuleInterface
53
-{
52
+class IPv4 implements RuleInterface {
54 53
     /**
55 54
      * {@inheritdoc}
56 55
      * @see RuleInterface
Please login to merge, or discard this patch.
src/Rule/Natural.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@
 block discarded – undo
49 49
 use Platine\Validator\RuleInterface;
50 50
 use Platine\Validator\Validator;
51 51
 
52
-class Natural implements RuleInterface
53
-{
52
+class Natural implements RuleInterface {
54 53
     /**
55 54
      * {@inheritdoc}
56 55
      * @see RuleInterface
Please login to merge, or discard this patch.
src/Rule/IP.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@
 block discarded – undo
49 49
 use Platine\Validator\RuleInterface;
50 50
 use Platine\Validator\Validator;
51 51
 
52
-class IP implements RuleInterface
53
-{
52
+class IP implements RuleInterface {
54 53
     /**
55 54
      * {@inheritdoc}
56 55
      * @see RuleInterface
Please login to merge, or discard this patch.
src/Rule/NotMatches.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@  discard block
 block discarded – undo
49 49
 use Platine\Validator\RuleInterface;
50 50
 use Platine\Validator\Validator;
51 51
 
52
-class NotMatches implements RuleInterface
53
-{
52
+class NotMatches implements RuleInterface {
54 53
     /**
55 54
      * Field to compare against
56 55
      * @var string
@@ -61,8 +60,7 @@  discard block
 block discarded – undo
61 60
      * Constructor
62 61
      * @param string $field the field to compare against
63 62
      */
64
-    public function __construct(string $field)
65
-    {
63
+    public function __construct(string $field) {
66 64
         $this->field = $field;
67 65
     }
68 66
 
Please login to merge, or discard this patch.
src/Rule/Range.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@  discard block
 block discarded – undo
49 49
 use Platine\Validator\RuleInterface;
50 50
 use Platine\Validator\Validator;
51 51
 
52
-class Range implements RuleInterface
53
-{
52
+class Range implements RuleInterface {
54 53
     /**
55 54
      * Minimum Value to compare against
56 55
      * @var mixed
@@ -68,8 +67,7 @@  discard block
 block discarded – undo
68 67
      * @param mixed $min the minimum value to compare against
69 68
      * @param mixed $max the maximum value to compare against
70 69
      */
71
-    public function __construct($min, $max)
72
-    {
70
+    public function __construct($min, $max) {
73 71
         $this->min = $min;
74 72
         $this->max = $max;
75 73
     }
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
@@ -49,8 +49,7 @@
 block discarded – undo
49 49
 use Platine\Validator\RuleInterface;
50 50
 use Platine\Validator\Validator;
51 51
 
52
-class IPv6 implements RuleInterface
53
-{
52
+class IPv6 implements RuleInterface {
54 53
     /**
55 54
      * {@inheritdoc}
56 55
      * @see RuleInterface
Please login to merge, or discard this patch.
src/Rule/Regex.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@  discard block
 block discarded – undo
49 49
 use Platine\Validator\RuleInterface;
50 50
 use Platine\Validator\Validator;
51 51
 
52
-class Regex implements RuleInterface
53
-{
52
+class Regex implements RuleInterface {
54 53
     /**
55 54
      * The regex pattern
56 55
      * @var string
@@ -61,8 +60,7 @@  discard block
 block discarded – undo
61 60
      * Constructor
62 61
      * @param string $regex the regex pattern
63 62
      */
64
-    public function __construct(string $regex)
65
-    {
63
+    public function __construct(string $regex) {
66 64
         $this->regex = $regex;
67 65
     }
68 66
 
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
@@ -49,8 +49,7 @@  discard block
 block discarded – undo
49 49
 use Platine\Validator\RuleInterface;
50 50
 use Platine\Validator\Validator;
51 51
 
52
-class Equal implements RuleInterface
53
-{
52
+class Equal implements RuleInterface {
54 53
     /**
55 54
      * Value to compare against
56 55
      * @var mixed
@@ -61,8 +60,7 @@  discard block
 block discarded – undo
61 60
      * Constructor
62 61
      * @param mixed $value the value to compare against
63 62
      */
64
-    public function __construct($value)
65
-    {
63
+    public function __construct($value) {
66 64
         $this->value = $value;
67 65
     }
68 66
 
Please login to merge, or discard this patch.
src/Rule/ExactLength.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@  discard block
 block discarded – undo
49 49
 use Platine\Validator\RuleInterface;
50 50
 use Platine\Validator\Validator;
51 51
 
52
-class ExactLength implements RuleInterface
53
-{
52
+class ExactLength implements RuleInterface {
54 53
     /**
55 54
      * The length
56 55
      * @var int
@@ -61,8 +60,7 @@  discard block
 block discarded – undo
61 60
      * Constructor
62 61
      * @param int $length
63 62
      */
64
-    public function __construct(int $length)
65
-    {
63
+    public function __construct(int $length) {
66 64
         $this->length = $length;
67 65
     }
68 66
 
Please login to merge, or discard this patch.