Code style fixes

This commit is contained in:
Luke Towers 2022-07-06 15:00:34 -06:00
parent 585949abc4
commit b29d1b9883
2 changed files with 2 additions and 1 deletions

View File

@ -293,7 +293,6 @@ class MediaManager extends WidgetBase
* Add to bulk collection
*/
$filesToDelete[] = $path;
} elseif ($type === MediaLibraryItem::TYPE_FOLDER) {
/*
* Delete single folder

View File

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