Completed
Push — master ( b6d955...929034 )
by Marcus
02:03
created
src/Rule/Sanitize/Boolean.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,6 @@
 block discarded – undo
27 27
      *
28 28
      * @param object $subject The subject to be filtered.
29 29
      * @param string $field The subject field name.
30
-     * @param mixed $true Use this value for `true`.
31
-     * @param mixed $false Use this value for `false`.
32 30
      *
33 31
      * @return bool Always true.
34 32
      */
Please login to merge, or discard this patch.
src/Rule/Sanitize/Callback.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
      *
21 21
      * @param object $subject The subject to be filtered.
22 22
      * @param string $field The subject field name.
23
-     * @param callable $callable A callable/callback.
24 23
      *
25 24
      * @return bool True if the value was sanitized, false if not.
26 25
      */
Please login to merge, or discard this patch.
src/Rule/Sanitize/Field.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     protected $otherField;
9 9
 
10 10
     /**
11
-     * @param string $other_field The name of the other subject field.
11
+     * @param string $otherField The name of the other subject field.
12 12
      */
13 13
     public function __construct(string $otherField)
14 14
     {
Please login to merge, or discard this patch.
src/Rule/Sanitize/StrBetween.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@
 block discarded – undo
21 21
     /**
22 22
      * @param int $min The minimum length.
23 23
      * @param int $max The maximum length.
24
-     * @param string $pad_string Pad using this string.
25
-     * @param int $pad_type A `STR_PAD_*` constant.
24
+     * @param string $padString Pad using this string.
25
+     * @param int $padType A `STR_PAD_*` constant.
26 26
      *
27 27
      */
28 28
     public function __construct(int $min, int $max, string $padString = ' ', int $padType = STR_PAD_RIGHT)
Please login to merge, or discard this patch.
src/Rule/Sanitize/Strlen.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
 
18 18
     /**
19 19
      * @param int $len The string length.
20
-     * @param string $pad_string Pad using this string.
21
-     * @param int $pad_type A `STR_PAD_*` constant.
20
+     * @param string $padString Pad using this string.
21
+     * @param int $padType A `STR_PAD_*` constant.
22 22
      */
23 23
     public function __construct(int $len, string $padString = ' ', int $padType = STR_PAD_RIGHT)
24 24
     {
Please login to merge, or discard this patch.
src/Rule/Sanitize/StrlenMin.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
 
19 19
     /**
20 20
      * @param int $min The minimum length.
21
-     * @param string $pad_string Pad using this string.
22
-     * @param int $pad_type A `STR_PAD_*` constant.
21
+     * @param string $padString Pad using this string.
22
+     * @param int $padType A `STR_PAD_*` constant.
23 23
      */
24 24
     public function __construct(int $min, string $padString = ' ', int $padType = STR_PAD_RIGHT)
25 25
     {
Please login to merge, or discard this patch.
src/Spec/AbstractSpec.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,10 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Mbright\Validation\Spec;
4 4
 
5
-use Mbright\Validation\Exception\RuleClassNotDefinedException;
6
-use Mbright\Validation\Rule\Sanitize\SanitizeRuleInterface;
7
-use Mbright\Validation\Rule\Validate\ValidateRuleInterface;
8
-
9 5
 abstract class AbstractSpec
10 6
 {
11 7
     /**
Please login to merge, or discard this patch.
src/Spec/ValidateSpec.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,6 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * Sets a negated validation rule and its arguments.
64 64
      *
65
-     * @param ValidateRuleInterface $ruleClass
66 65
      *
67 66
      * @return AbstractSpec
68 67
      */
@@ -77,7 +76,6 @@  discard block
 block discarded – undo
77 76
     /**
78 77
      * Allow blank values to pass validation.
79 78
      *
80
-     * @param array $allowedBlanks
81 79
      *
82 80
      * @return ValidateSpec
83 81
      */
Please login to merge, or discard this patch.