Skip to content

Commit b29d1b9

Browse files
committed
Code style fixes
1 parent 585949a commit b29d1b9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/backend/widgets/MediaManager.php

-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ public function onDeleteItem(): array
293293
* Add to bulk collection
294294
*/
295295
$filesToDelete[] = $path;
296-
297296
} elseif ($type === MediaLibraryItem::TYPE_FOLDER) {
298297
/*
299298
* Delete single folder

phpcs.xml

+2
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@
131131
<exclude-pattern>*/vendor/*</exclude-pattern>
132132
<!-- Ignore this view file as fixing the issues in here will break the template -->
133133
<exclude-pattern>modules/system/views/exception.php</exclude-pattern>
134+
<!-- Ignore this view file as PHPCS wants line 8 to have 44 spaces instead of 12, clearly insane -->
135+
<exclude-pattern>modules/backend/widgets/mediamanager/partials/_item-icon.php</exclude-pattern>
134136
<!-- Ignore this test case completely as it's testing a parse error -->
135137
<exclude-pattern>tests/fixtures/plugins/testvendor/goto/Plugin.php</exclude-pattern>
136138
</ruleset>

0 commit comments

Comments
 (0)