@@ -2,94 +2,94 @@ |
||
| 2 | 2 | |
| 3 | 3 | $ignoreErrors = []; |
| 4 | 4 | $ignoreErrors[] = [ |
| 5 | - 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', |
|
| 6 | - 'count' => 1, |
|
| 7 | - 'path' => __DIR__ . '/src/ErrorBag.php', |
|
| 5 | + 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', |
|
| 6 | + 'count' => 1, |
|
| 7 | + 'path' => __DIR__ . '/src/ErrorBag.php', |
|
| 8 | 8 | ]; |
| 9 | 9 | $ignoreErrors[] = [ |
| 10 | - 'message' => '#^PHPDoc tag @method has invalid value \\(static \\\\Rakit\\\\Validation\\\\Rules\\\\Ibsn ibsn\\(array lengths \\= \\[10, 13\\]\\)\\)\\: Unexpected token "lengths", expected variable at offset 5819$#', |
|
| 11 | - 'count' => 1, |
|
| 12 | - 'path' => __DIR__ . '/src/Rule.php', |
|
| 10 | + 'message' => '#^PHPDoc tag @method has invalid value \\(static \\\\Rakit\\\\Validation\\\\Rules\\\\Ibsn ibsn\\(array lengths \\= \\[10, 13\\]\\)\\)\\: Unexpected token "lengths", expected variable at offset 5819$#', |
|
| 11 | + 'count' => 1, |
|
| 12 | + 'path' => __DIR__ . '/src/Rule.php', |
|
| 13 | 13 | ]; |
| 14 | 14 | $ignoreErrors[] = [ |
| 15 | - 'message' => '#^Call to an undefined static method static\\(Dimtrovich\\\\Validation\\\\Rules\\\\Dimensions\\)\\:\\:getFile\\(\\)\\.$#', |
|
| 16 | - 'count' => 1, |
|
| 17 | - 'path' => __DIR__ . '/src/Rules/Dimensions.php', |
|
| 15 | + 'message' => '#^Call to an undefined static method static\\(Dimtrovich\\\\Validation\\\\Rules\\\\Dimensions\\)\\:\\:getFile\\(\\)\\.$#', |
|
| 16 | + 'count' => 1, |
|
| 17 | + 'path' => __DIR__ . '/src/Rules/Dimensions.php', |
|
| 18 | 18 | ]; |
| 19 | 19 | $ignoreErrors[] = [ |
| 20 | - 'message' => '#^Call to an undefined static method static\\(Dimtrovich\\\\Validation\\\\Rules\\\\Dimensions\\)\\:\\:image\\(\\)\\.$#', |
|
| 21 | - 'count' => 1, |
|
| 22 | - 'path' => __DIR__ . '/src/Rules/Dimensions.php', |
|
| 20 | + 'message' => '#^Call to an undefined static method static\\(Dimtrovich\\\\Validation\\\\Rules\\\\Dimensions\\)\\:\\:image\\(\\)\\.$#', |
|
| 21 | + 'count' => 1, |
|
| 22 | + 'path' => __DIR__ . '/src/Rules/Dimensions.php', |
|
| 23 | 23 | ]; |
| 24 | 24 | $ignoreErrors[] = [ |
| 25 | - 'message' => '#^Undefined variable\\: \\$field$#', |
|
| 26 | - 'count' => 2, |
|
| 27 | - 'path' => __DIR__ . '/src/Rules/Dimensions.php', |
|
| 25 | + 'message' => '#^Undefined variable\\: \\$field$#', |
|
| 26 | + 'count' => 2, |
|
| 27 | + 'path' => __DIR__ . '/src/Rules/Dimensions.php', |
|
| 28 | 28 | ]; |
| 29 | 29 | $ignoreErrors[] = [ |
| 30 | - 'message' => '#^Undefined variable\\: \\$height$#', |
|
| 31 | - 'count' => 1, |
|
| 32 | - 'path' => __DIR__ . '/src/Rules/Dimensions.php', |
|
| 30 | + 'message' => '#^Undefined variable\\: \\$height$#', |
|
| 31 | + 'count' => 1, |
|
| 32 | + 'path' => __DIR__ . '/src/Rules/Dimensions.php', |
|
| 33 | 33 | ]; |
| 34 | 34 | $ignoreErrors[] = [ |
| 35 | - 'message' => '#^Undefined variable\\: \\$width$#', |
|
| 36 | - 'count' => 1, |
|
| 37 | - 'path' => __DIR__ . '/src/Rules/Dimensions.php', |
|
| 35 | + 'message' => '#^Undefined variable\\: \\$width$#', |
|
| 36 | + 'count' => 1, |
|
| 37 | + 'path' => __DIR__ . '/src/Rules/Dimensions.php', |
|
| 38 | 38 | ]; |
| 39 | 39 | $ignoreErrors[] = [ |
| 40 | - 'message' => '#^Method Dimtrovich\\\\Validation\\\\Rules\\\\File\\:\\:default\\(\\) should return static\\(Dimtrovich\\\\Validation\\\\Rules\\\\File\\) but returns Dimtrovich\\\\Validation\\\\Rules\\\\File\\.$#', |
|
| 41 | - 'count' => 1, |
|
| 42 | - 'path' => __DIR__ . '/src/Rules/File.php', |
|
| 40 | + 'message' => '#^Method Dimtrovich\\\\Validation\\\\Rules\\\\File\\:\\:default\\(\\) should return static\\(Dimtrovich\\\\Validation\\\\Rules\\\\File\\) but returns Dimtrovich\\\\Validation\\\\Rules\\\\File\\.$#', |
|
| 41 | + 'count' => 1, |
|
| 42 | + 'path' => __DIR__ . '/src/Rules/File.php', |
|
| 43 | 43 | ]; |
| 44 | 44 | $ignoreErrors[] = [ |
| 45 | - 'message' => '#^Method Dimtrovich\\\\Validation\\\\Rules\\\\File\\:\\:defaults\\(\\) should return static\\(Dimtrovich\\\\Validation\\\\Rules\\\\File\\)\\|null but return statement is missing\\.$#', |
|
| 46 | - 'count' => 1, |
|
| 47 | - 'path' => __DIR__ . '/src/Rules/File.php', |
|
| 45 | + 'message' => '#^Method Dimtrovich\\\\Validation\\\\Rules\\\\File\\:\\:defaults\\(\\) should return static\\(Dimtrovich\\\\Validation\\\\Rules\\\\File\\)\\|null but return statement is missing\\.$#', |
|
| 46 | + 'count' => 1, |
|
| 47 | + 'path' => __DIR__ . '/src/Rules/File.php', |
|
| 48 | 48 | ]; |
| 49 | 49 | $ignoreErrors[] = [ |
| 50 | - 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', |
|
| 51 | - 'count' => 1, |
|
| 52 | - 'path' => __DIR__ . '/src/Rules/File.php', |
|
| 50 | + 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', |
|
| 51 | + 'count' => 1, |
|
| 52 | + 'path' => __DIR__ . '/src/Rules/File.php', |
|
| 53 | 53 | ]; |
| 54 | 54 | $ignoreErrors[] = [ |
| 55 | - 'message' => '#^Binary operation "\\*" between string and 2 results in an error\\.$#', |
|
| 56 | - 'count' => 1, |
|
| 57 | - 'path' => __DIR__ . '/src/Rules/Imei.php', |
|
| 55 | + 'message' => '#^Binary operation "\\*" between string and 2 results in an error\\.$#', |
|
| 56 | + 'count' => 1, |
|
| 57 | + 'path' => __DIR__ . '/src/Rules/Imei.php', |
|
| 58 | 58 | ]; |
| 59 | 59 | $ignoreErrors[] = [ |
| 60 | - 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', |
|
| 61 | - 'count' => 2, |
|
| 62 | - 'path' => __DIR__ . '/src/Rules/Postalcode.php', |
|
| 60 | + 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', |
|
| 61 | + 'count' => 2, |
|
| 62 | + 'path' => __DIR__ . '/src/Rules/Postalcode.php', |
|
| 63 | 63 | ]; |
| 64 | 64 | $ignoreErrors[] = [ |
| 65 | - 'message' => '#^Method Rakit\\\\Validation\\\\Rule\\:\\:check\\(\\) invoked with 2 parameters, 1 required\\.$#', |
|
| 66 | - 'count' => 1, |
|
| 67 | - 'path' => __DIR__ . '/src/Rules/ProhibitedIf.php', |
|
| 65 | + 'message' => '#^Method Rakit\\\\Validation\\\\Rule\\:\\:check\\(\\) invoked with 2 parameters, 1 required\\.$#', |
|
| 66 | + 'count' => 1, |
|
| 67 | + 'path' => __DIR__ . '/src/Rules/ProhibitedIf.php', |
|
| 68 | 68 | ]; |
| 69 | 69 | $ignoreErrors[] = [ |
| 70 | - 'message' => '#^Method Rakit\\\\Validation\\\\Rule\\:\\:check\\(\\) invoked with 2 parameters, 1 required\\.$#', |
|
| 71 | - 'count' => 1, |
|
| 72 | - 'path' => __DIR__ . '/src/Rules/ProhibitedUnless.php', |
|
| 70 | + 'message' => '#^Method Rakit\\\\Validation\\\\Rule\\:\\:check\\(\\) invoked with 2 parameters, 1 required\\.$#', |
|
| 71 | + 'count' => 1, |
|
| 72 | + 'path' => __DIR__ . '/src/Rules/ProhibitedUnless.php', |
|
| 73 | 73 | ]; |
| 74 | 74 | $ignoreErrors[] = [ |
| 75 | - 'message' => '#^Method Dimtrovich\\\\Validation\\\\Spec\\\\File\\:\\:create\\(\\) should return static\\(Dimtrovich\\\\Validation\\\\Spec\\\\File\\) but returns Dimtrovich\\\\Validation\\\\Spec\\\\File\\.$#', |
|
| 76 | - 'count' => 1, |
|
| 77 | - 'path' => __DIR__ . '/src/Spec/File.php', |
|
| 75 | + 'message' => '#^Method Dimtrovich\\\\Validation\\\\Spec\\\\File\\:\\:create\\(\\) should return static\\(Dimtrovich\\\\Validation\\\\Spec\\\\File\\) but returns Dimtrovich\\\\Validation\\\\Spec\\\\File\\.$#', |
|
| 76 | + 'count' => 1, |
|
| 77 | + 'path' => __DIR__ . '/src/Spec/File.php', |
|
| 78 | 78 | ]; |
| 79 | 79 | $ignoreErrors[] = [ |
| 80 | - 'message' => '#^Method Dimtrovich\\\\Validation\\\\Spec\\\\File\\:\\:createWithContent\\(\\) should return static\\(Dimtrovich\\\\Validation\\\\Spec\\\\File\\) but returns Dimtrovich\\\\Validation\\\\Spec\\\\File\\.$#', |
|
| 81 | - 'count' => 1, |
|
| 82 | - 'path' => __DIR__ . '/src/Spec/File.php', |
|
| 80 | + 'message' => '#^Method Dimtrovich\\\\Validation\\\\Spec\\\\File\\:\\:createWithContent\\(\\) should return static\\(Dimtrovich\\\\Validation\\\\Spec\\\\File\\) but returns Dimtrovich\\\\Validation\\\\Spec\\\\File\\.$#', |
|
| 81 | + 'count' => 1, |
|
| 82 | + 'path' => __DIR__ . '/src/Spec/File.php', |
|
| 83 | 83 | ]; |
| 84 | 84 | $ignoreErrors[] = [ |
| 85 | - 'message' => '#^Method Dimtrovich\\\\Validation\\\\Spec\\\\File\\:\\:image\\(\\) should return static\\(Dimtrovich\\\\Validation\\\\Spec\\\\File\\) but returns Dimtrovich\\\\Validation\\\\Spec\\\\File\\.$#', |
|
| 86 | - 'count' => 1, |
|
| 87 | - 'path' => __DIR__ . '/src/Spec/File.php', |
|
| 85 | + 'message' => '#^Method Dimtrovich\\\\Validation\\\\Spec\\\\File\\:\\:image\\(\\) should return static\\(Dimtrovich\\\\Validation\\\\Spec\\\\File\\) but returns Dimtrovich\\\\Validation\\\\Spec\\\\File\\.$#', |
|
| 86 | + 'count' => 1, |
|
| 87 | + 'path' => __DIR__ . '/src/Spec/File.php', |
|
| 88 | 88 | ]; |
| 89 | 89 | $ignoreErrors[] = [ |
| 90 | - 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', |
|
| 91 | - 'count' => 1, |
|
| 92 | - 'path' => __DIR__ . '/src/Validation.php', |
|
| 90 | + 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', |
|
| 91 | + 'count' => 1, |
|
| 92 | + 'path' => __DIR__ . '/src/Validation.php', |
|
| 93 | 93 | ]; |
| 94 | 94 | |
| 95 | 95 | return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; |