Skip to content

Commit 0657d53

Browse files
authored
Merge pull request #623 from nextcloud/dependabot/composer/nextcloud/coding-standard-1.4.0
chore(deps-dev): Bump nextcloud/coding-standard from 1.3.2 to 1.4.0
2 parents 9e43d16 + 22ce04e commit 0657d53

3 files changed

Lines changed: 34 additions & 24 deletions

File tree

composer.lock

Lines changed: 31 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Command/Generate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ private function getNoPreviewMountPaths(IUser $user): array {
214214
$userId = $user->getUID();
215215
$mounts = $this->globalService->getStorageForAllUsers();
216216
foreach ($mounts as $mount) {
217-
if (in_array($userId, $mount->getApplicableUsers()) &&
218-
$mount->getMountOptions()['previews'] === false
217+
if (in_array($userId, $mount->getApplicableUsers())
218+
&& $mount->getMountOptions()['previews'] === false
219219
) {
220220
$userFolder = $this->rootFolder->getUserFolder($userId)->getPath();
221221
array_push($mountPaths, $userFolder . $mount->getMountPoint());

tests/bootstrap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
45
* SPDX-License-Identifier: AGPL-3.0-or-later

0 commit comments

Comments
 (0)