Passed
Branch develop (9cb029)
by nguereza
06:08
created
Category
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
     /**
56 55
      * The length
@@ -62,8 +61,7 @@  discard block
 block discarded – undo
62 61
      * Constructor
63 62
      * @param int $length
64 63
      */
65
-    public function __construct(int $length)
66
-    {
64
+    public function __construct(int $length) {
67 65
         $this->length = $length;
68 66
     }
69 67
 
Please login to merge, or discard this patch.
src/Rule/Max.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 Max implements RuleInterface
53
-{
52
+class Max implements RuleInterface {
54 53
 
55 54
     /**
56 55
      * Value to compare against
@@ -62,8 +61,7 @@  discard block
 block discarded – undo
62 61
      * Constructor
63 62
      * @param mixed $value the value to compare against
64 63
      */
65
-    public function __construct($value)
66
-    {
64
+    public function __construct($value) {
67 65
         $this->value = $value;
68 66
     }
69 67
 
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
     /**
56 55
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Rule/NotEmpty.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 NotEmpty implements RuleInterface
53
-{
52
+class NotEmpty implements RuleInterface {
54 53
 
55 54
     /**
56 55
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Rule/Min.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 Min implements RuleInterface
53
-{
52
+class Min implements RuleInterface {
54 53
 
55 54
     /**
56 55
      * Value to compare against
@@ -62,8 +61,7 @@  discard block
 block discarded – undo
62 61
      * Constructor
63 62
      * @param mixed $value the value to compare against
64 63
      */
65
-    public function __construct($value)
66
-    {
64
+    public function __construct($value) {
67 65
         $this->value = $value;
68 66
     }
69 67
 
Please login to merge, or discard this patch.
src/Rule/InList.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 InList implements RuleInterface
53
-{
52
+class InList implements RuleInterface {
54 53
 
55 54
     /**
56 55
      * The list to match
@@ -62,8 +61,7 @@  discard block
 block discarded – undo
62 61
      * Constructor
63 62
      * @param array $list
64 63
      */
65
-    public function __construct(array $list)
66
-    {
64
+    public function __construct(array $list) {
67 65
         $this->list = $list;
68 66
     }
69 67
 
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
@@ -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 MaxLength implements RuleInterface
53
-{
52
+class MaxLength implements RuleInterface {
54 53
 
55 54
     /**
56 55
      * The length
@@ -62,8 +61,7 @@  discard block
 block discarded – undo
62 61
      * Constructor
63 62
      * @param int $length
64 63
      */
65
-    public function __construct(int $length)
66
-    {
64
+    public function __construct(int $length) {
67 65
         $this->length = $length;
68 66
     }
69 67
 
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
@@ -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
     /**
56 55
      * {@inheritdoc}
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
     /**
56 55
      * {@inheritdoc}
Please login to merge, or discard this patch.