Skip to content

Commit 7165c04

Browse files
Merge pull request #1583 from nextcloud/dependabot/composer/nextcloud/coding-standard-1.4.0
2 parents d9a11a7 + 49ae5bc commit 7165c04

3 files changed

Lines changed: 31 additions & 22 deletions

File tree

composer.lock

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

lib/Service/MetaService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ public function getAll(string $userId, array $notes, bool $forceUpdate = false)
100100
if ($insertErrorCount) {
101101
if ($insertErrorCount == count($notes)) {
102102
$this->util->logger->warning(
103-
'Database failed inserting Meta objects for all ' . $insertErrorCount . ' notes. ' .
104-
'If this happens consistently, there is a problem with your database.',
103+
'Database failed inserting Meta objects for all ' . $insertErrorCount . ' notes. '
104+
. 'If this happens consistently, there is a problem with your database.',
105105
);
106106
} else {
107107
$this->util->logger->warning(

lib/Service/NoteUtil.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ public function ensureSufficientStorage(Folder $folder, int $requiredBytes) : vo
252252
$availableBytes = $folder->getFreeSpace();
253253
if ($availableBytes >= 0 && $availableBytes < $requiredBytes) {
254254
$this->util->logger->error(
255-
'Insufficient storage in ' . $folder->getPath() . ': ' .
256-
'available are ' . $availableBytes . '; ' .
257-
'required are ' . $requiredBytes
255+
'Insufficient storage in ' . $folder->getPath() . ': '
256+
. 'available are ' . $availableBytes . '; '
257+
. 'required are ' . $requiredBytes
258258
);
259259
throw new InsufficientStorageException($requiredBytes . ' are required in ' . $folder->getPath());
260260
}

0 commit comments

Comments
 (0)