File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
app/code/Magento/Catalog/Test/Unit/Block/Adminhtml/Category/Checkboxes Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ protected function setUp(): void
3939
4040 /**
4141 * Provide a stub collection that supports chaining and iteration.
42+ * @SuppressWarnings(PHPMD.UnusedLocalVariable)
43+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
4244 */
4345 private function createCategoryCollectionStub (array $ paths )
4446 {
@@ -175,6 +177,10 @@ public function testSetCategoryIdsWithEmptyInputProducesEmptyArrayAndSkipsDb()
175177 $ this ->assertSame ([], $ block ->getCategoryIds ());
176178 }
177179
180+ /**
181+ * @SuppressWarnings(PHPMD.UnusedLocalVariable)
182+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
183+ */
178184 public function testSetCategoryIdsWithScalarCastsToIntArrayAndFiltersCollection ()
179185 {
180186 $ block = $ this ->buildBlockMock ();
You can’t perform that action at this time.
0 commit comments