|
17 | 17 |
|
18 | 18 | /** |
19 | 19 | * \Magento\Framework\Escaper test case |
| 20 | + * |
| 21 | + * @SuppressWarnings(PHPMD.ExcessivePublicCount) |
| 22 | + * @SuppressWarnings(PHPMD.CouplingBetweenObjects) |
20 | 23 | */ |
21 | 24 | class EscaperTest extends TestCase |
22 | 25 | { |
@@ -1084,11 +1087,19 @@ public function __construct($escaper) |
1084 | 1087 | $this->escaper = $escaper; |
1085 | 1088 | } |
1086 | 1089 |
|
| 1090 | + /** |
| 1091 | + * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
| 1092 | + * @SuppressWarnings(PHPMD.UnusedLocalVariable) |
| 1093 | + */ |
1087 | 1094 | public function get($type) |
1088 | 1095 | { |
1089 | 1096 | return $this->escaper; |
1090 | 1097 | } |
1091 | 1098 |
|
| 1099 | + /** |
| 1100 | + * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
| 1101 | + * @SuppressWarnings(PHPMD.UnusedLocalVariable) |
| 1102 | + */ |
1092 | 1103 | public function create($type, array $arguments = []) |
1093 | 1104 | { |
1094 | 1105 | return $this->get($type); |
@@ -1151,11 +1162,19 @@ public function __construct($inline) |
1151 | 1162 | $this->inline = $inline; |
1152 | 1163 | } |
1153 | 1164 |
|
| 1165 | + /** |
| 1166 | + * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
| 1167 | + * @SuppressWarnings(PHPMD.UnusedLocalVariable) |
| 1168 | + */ |
1154 | 1169 | public function get($type) |
1155 | 1170 | { |
1156 | 1171 | return $this->inline; |
1157 | 1172 | } |
1158 | 1173 |
|
| 1174 | + /** |
| 1175 | + * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
| 1176 | + * @SuppressWarnings(PHPMD.UnusedLocalVariable) |
| 1177 | + */ |
1159 | 1178 | public function create($type, array $arguments = []) |
1160 | 1179 | { |
1161 | 1180 | return $this->get($type); |
@@ -1204,11 +1223,19 @@ public function __construct($logger) |
1204 | 1223 | $this->logger = $logger; |
1205 | 1224 | } |
1206 | 1225 |
|
| 1226 | + /** |
| 1227 | + * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
| 1228 | + * @SuppressWarnings(PHPMD.UnusedLocalVariable) |
| 1229 | + */ |
1207 | 1230 | public function get($type) |
1208 | 1231 | { |
1209 | 1232 | return $this->logger; |
1210 | 1233 | } |
1211 | 1234 |
|
| 1235 | + /** |
| 1236 | + * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
| 1237 | + * @SuppressWarnings(PHPMD.UnusedLocalVariable) |
| 1238 | + */ |
1212 | 1239 | public function create($type, array $arguments = []) |
1213 | 1240 | { |
1214 | 1241 | return $this->get($type); |
|
0 commit comments