|
31 | 31 | 'count' => 1, |
32 | 32 | 'path' => __DIR__ . '/src/Cli/Console/Command.php', |
33 | 33 | ]; |
| 34 | +$ignoreErrors[] = [ |
| 35 | + // identifier: arguments.count |
| 36 | + 'message' => '#^Method Ahc\\\\Cli\\\\IO\\\\Interactor\\:\\:choice\\(\\) invoked with 4 parameters, 1\\-2 required\\.$#', |
| 37 | + 'count' => 1, |
| 38 | + 'path' => __DIR__ . '/src/Cli/Console/Command.php', |
| 39 | +]; |
34 | 40 | $ignoreErrors[] = [ |
35 | 41 | // identifier: property.notFound |
36 | 42 | 'message' => '#^Access to an undefined property Ahc\\\\Cli\\\\Output\\\\Writer\\:\\:\\$bold\\.$#', |
|
98 | 104 | 'path' => __DIR__ . '/src/Facades/Route.php', |
99 | 105 | ]; |
100 | 106 | $ignoreErrors[] = [ |
101 | | - // identifier: return.unusedType |
102 | | - 'message' => '#^Function img\\(\\) never returns void so it can be removed from the return type\\.$#', |
103 | | - 'count' => 1, |
104 | | - 'path' => __DIR__ . '/src/Helpers/assets.php', |
105 | | -]; |
106 | | -$ignoreErrors[] = [ |
107 | | - // identifier: return.unusedType |
108 | | - 'message' => '#^Function less_styles\\(\\) never returns void so it can be removed from the return type\\.$#', |
109 | | - 'count' => 1, |
110 | | - 'path' => __DIR__ . '/src/Helpers/assets.php', |
111 | | -]; |
112 | | -$ignoreErrors[] = [ |
113 | | - // identifier: return.unusedType |
114 | | - 'message' => '#^Function lib_scripts\\(\\) never returns void so it can be removed from the return type\\.$#', |
115 | | - 'count' => 1, |
116 | | - 'path' => __DIR__ . '/src/Helpers/assets.php', |
117 | | -]; |
118 | | -$ignoreErrors[] = [ |
119 | | - // identifier: return.unusedType |
120 | | - 'message' => '#^Function lib_styles\\(\\) never returns void so it can be removed from the return type\\.$#', |
121 | | - 'count' => 1, |
122 | | - 'path' => __DIR__ . '/src/Helpers/assets.php', |
123 | | -]; |
124 | | -$ignoreErrors[] = [ |
125 | | - // identifier: return.unusedType |
126 | | - 'message' => '#^Function scripts\\(\\) never returns void so it can be removed from the return type\\.$#', |
| 107 | + // identifier: booleanNot.alwaysFalse |
| 108 | + 'message' => '#^Negated boolean expression is always false\\.$#', |
127 | 109 | 'count' => 1, |
128 | 110 | 'path' => __DIR__ . '/src/Helpers/assets.php', |
129 | 111 | ]; |
130 | 112 | $ignoreErrors[] = [ |
131 | | - // identifier: return.unusedType |
132 | | - 'message' => '#^Function styles\\(\\) never returns void so it can be removed from the return type\\.$#', |
| 113 | + // identifier: method.nonObject |
| 114 | + 'message' => '#^Cannot call method regenerate\\(\\) on array\\|bool\\|float\\|int\\|object\\|string\\.$#', |
133 | 115 | 'count' => 1, |
134 | | - 'path' => __DIR__ . '/src/Helpers/assets.php', |
135 | | -]; |
136 | | -$ignoreErrors[] = [ |
137 | | - // identifier: booleanNot.alwaysFalse |
138 | | - 'message' => '#^Negated boolean expression is always false\\.$#', |
139 | | - 'count' => 1, |
140 | | - 'path' => __DIR__ . '/src/Helpers/assets.php', |
| 116 | + 'path' => __DIR__ . '/src/Helpers/common.php', |
141 | 117 | ]; |
142 | 118 | $ignoreErrors[] = [ |
143 | | - // identifier: return.unusedType |
144 | | - 'message' => '#^Function logger\\(\\) never returns void so it can be removed from the return type\\.$#', |
| 119 | + // identifier: method.nonObject |
| 120 | + 'message' => '#^Cannot call method token\\(\\) on array\\|bool\\|float\\|int\\|object\\|string\\.$#', |
145 | 121 | 'count' => 1, |
146 | 122 | 'path' => __DIR__ . '/src/Helpers/common.php', |
147 | 123 | ]; |
|
703 | 679 | 'count' => 1, |
704 | 680 | 'path' => __DIR__ . '/src/Middlewares/BaseMiddleware.php', |
705 | 681 | ]; |
| 682 | +$ignoreErrors[] = [ |
| 683 | + // identifier: method.nonObject |
| 684 | + 'message' => '#^Cannot call method setPreviousUrl\\(\\) on array\\|bool\\|float\\|int\\|object\\|string\\.$#', |
| 685 | + 'count' => 1, |
| 686 | + 'path' => __DIR__ . '/src/Router/Dispatcher.php', |
| 687 | +]; |
706 | 688 | $ignoreErrors[] = [ |
707 | 689 | // identifier: assign.propertyType |
708 | 690 | 'message' => '#^Property BlitzPHP\\\\Router\\\\Dispatcher\\:\\:\\$request \\(BlitzPHP\\\\Http\\\\Request\\) does not accept Psr\\\\Http\\\\Message\\\\ServerRequestInterface\\.$#', |
|
712 | 694 | $ignoreErrors[] = [ |
713 | 695 | // identifier: assign.propertyType |
714 | 696 | 'message' => '#^Property BlitzPHP\\\\Router\\\\Dispatcher\\:\\:\\$response \\(BlitzPHP\\\\Http\\\\Response\\) does not accept Psr\\\\Http\\\\Message\\\\ResponseInterface\\.$#', |
715 | | - 'count' => 4, |
| 697 | + 'count' => 3, |
716 | 698 | 'path' => __DIR__ . '/src/Router/Dispatcher.php', |
717 | 699 | ]; |
718 | 700 | $ignoreErrors[] = [ |
|
0 commit comments