Skip to content

Commit

Permalink
Code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeTowers committed Jul 6, 2022
1 parent 585949a commit b29d1b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/backend/widgets/MediaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ public function onDeleteItem(): array
* Add to bulk collection
*/
$filesToDelete[] = $path;

} elseif ($type === MediaLibraryItem::TYPE_FOLDER) {
/*
* Delete single folder
Expand Down
2 changes: 2 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit b29d1b9

Please sign in to comment.