Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 17:07:47 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 17:07:47 +0300
commit44577e4345066952622feca9ef69c24fc23d08ab (patch)
tree362160e9a6cf5c55eb1a2cca5aa32fb3bac336ad /build
parent42625a46be495ea1c60ac8fe8e13946fd9ed9732 (diff)
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/bootstrap/Sharing.php4
-rw-r--r--build/license.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/build/integration/features/bootstrap/Sharing.php b/build/integration/features/bootstrap/Sharing.php
index cc08470e987..590e0c4663c 100644
--- a/build/integration/features/bootstrap/Sharing.php
+++ b/build/integration/features/bootstrap/Sharing.php
@@ -504,11 +504,11 @@ trait Sharing {
$fd = $body->getRowsHash();
foreach($fd as $field => $value) {
- if (substr($field, 0, 10 ) === "share_with"){
+ if (substr($field, 0, 10) === "share_with"){
$value = str_replace("REMOTE", substr($this->remoteBaseUrl, 0, -5), $value);
$value = str_replace("LOCAL", substr($this->localBaseUrl, 0, -5), $value);
}
- if (substr($field, 0, 6 ) === "remote"){
+ if (substr($field, 0, 6) === "remote"){
$value = str_replace("REMOTE", substr($this->remoteBaseUrl, 0, -4), $value);
$value = str_replace("LOCAL", substr($this->localBaseUrl, 0, -4), $value);
}
diff --git a/build/license.php b/build/license.php
index 717ff13c75f..ecb7bbd5051 100644
--- a/build/license.php
+++ b/build/license.php
@@ -234,7 +234,7 @@ With help from many libraries and frameworks including:
array_shift($lines);
continue;
}
- if (strpos($line, '*/') !== false ) {
+ if (strpos($line, '*/') !== false) {
array_shift($lines);
break;
}