Passed
Push — master ( 8c82dd...751be2 )
by Joas
15:20 queued 11s
created
lib/public/Group/Backend/ICreateGroupBackend.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
  */
30 30
 interface ICreateGroupBackend {
31 31
 
32
-	/**
33
-	 * @since 14.0.0
34
-	 */
35
-	public function createGroup(string $gid): bool;
32
+    /**
33
+     * @since 14.0.0
34
+     */
35
+    public function createGroup(string $gid): bool;
36 36
 }
Please login to merge, or discard this patch.
lib/public/Group/Backend/ICountUsersBackend.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
  */
30 30
 interface ICountUsersBackend {
31 31
 
32
-	/**
33
-	 * @since 14.0.0
34
-	 */
35
-	public function countUsersInGroup(string $gid, string $search = ''): int;
32
+    /**
33
+     * @since 14.0.0
34
+     */
35
+    public function countUsersInGroup(string $gid, string $search = ''): int;
36 36
 }
Please login to merge, or discard this patch.
lib/public/Group/Backend/IAddToGroupBackend.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
  */
30 30
 interface IAddToGroupBackend {
31 31
 
32
-	/**
33
-	 * @since 14.0.0
34
-	 */
35
-	public function addToGroup(string $uid, string $gid): bool;
32
+    /**
33
+     * @since 14.0.0
34
+     */
35
+    public function addToGroup(string $uid, string $gid): bool;
36 36
 }
Please login to merge, or discard this patch.
lib/public/Group/Backend/IRemoveFromGroupBackend.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
  */
30 30
 interface IRemoveFromGroupBackend {
31 31
 
32
-	/**
33
-	 * @since 14.0.0
34
-	 */
35
-	public function removeFromGroup(string $uid, string $gid);
32
+    /**
33
+     * @since 14.0.0
34
+     */
35
+    public function removeFromGroup(string $uid, string $gid);
36 36
 }
Please login to merge, or discard this patch.
lib/public/Group/Backend/ABackend.php 1 patch
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -31,37 +31,37 @@
 block discarded – undo
31 31
  */
32 32
 abstract class ABackend implements GroupInterface {
33 33
 
34
-	/**
35
-	 * @deprecated 14.0.0
36
-	 *
37
-	 * @param int $actions The action to check for
38
-	 * @return bool
39
-	 */
40
-	public function implementsActions($actions): bool {
41
-		$implements = 0;
34
+    /**
35
+     * @deprecated 14.0.0
36
+     *
37
+     * @param int $actions The action to check for
38
+     * @return bool
39
+     */
40
+    public function implementsActions($actions): bool {
41
+        $implements = 0;
42 42
 
43
-		if ($this instanceof IAddToGroupBackend) {
44
-			$implements |= GroupInterface::ADD_TO_GROUP;
45
-		}
46
-		if ($this instanceof ICountUsersBackend) {
47
-			$implements |= GroupInterface::COUNT_USERS;
48
-		}
49
-		if ($this instanceof ICreateGroupBackend) {
50
-			$implements |= GroupInterface::CREATE_GROUP;
51
-		}
52
-		if ($this instanceof IDeleteGroupBackend) {
53
-			$implements |= GroupInterface::DELETE_GROUP;
54
-		}
55
-		if ($this instanceof IGroupDetailsBackend) {
56
-			$implements |= GroupInterface::GROUP_DETAILS;
57
-		}
58
-		if ($this instanceof IIsAdminBackend) {
59
-			$implements |= GroupInterface::IS_ADMIN;
60
-		}
61
-		if ($this instanceof IRemoveFromGroupBackend) {
62
-			$implements |= GroupInterface::REMOVE_FROM_GOUP;
63
-		}
43
+        if ($this instanceof IAddToGroupBackend) {
44
+            $implements |= GroupInterface::ADD_TO_GROUP;
45
+        }
46
+        if ($this instanceof ICountUsersBackend) {
47
+            $implements |= GroupInterface::COUNT_USERS;
48
+        }
49
+        if ($this instanceof ICreateGroupBackend) {
50
+            $implements |= GroupInterface::CREATE_GROUP;
51
+        }
52
+        if ($this instanceof IDeleteGroupBackend) {
53
+            $implements |= GroupInterface::DELETE_GROUP;
54
+        }
55
+        if ($this instanceof IGroupDetailsBackend) {
56
+            $implements |= GroupInterface::GROUP_DETAILS;
57
+        }
58
+        if ($this instanceof IIsAdminBackend) {
59
+            $implements |= GroupInterface::IS_ADMIN;
60
+        }
61
+        if ($this instanceof IRemoveFromGroupBackend) {
62
+            $implements |= GroupInterface::REMOVE_FROM_GOUP;
63
+        }
64 64
 
65
-		return (bool)($actions & $implements);
66
-	}
65
+        return (bool)($actions & $implements);
66
+    }
67 67
 }
Please login to merge, or discard this patch.
lib/public/Group/Backend/IDeleteGroupBackend.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
  */
30 30
 interface IDeleteGroupBackend {
31 31
 
32
-	/**
33
-	 * @since 14.0.0
34
-	 */
35
-	public function deleteGroup(string $gid): bool;
32
+    /**
33
+     * @since 14.0.0
34
+     */
35
+    public function deleteGroup(string $gid): bool;
36 36
 }
Please login to merge, or discard this patch.
lib/private/Log/Errorlog.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -29,14 +29,14 @@
 block discarded – undo
29 29
 
30 30
 class Errorlog implements IWriter {
31 31
 
32
-	/**
33
-	 * write a message in the log
34
-	 * @param string $app
35
-	 * @param string $message
36
-	 * @param int $level
37
-	 */
38
-	public function write(string $app, $message, int $level) {
39
-		error_log('[owncloud]['.$app.']['.$level.'] '.$message);
40
-	}
32
+    /**
33
+     * write a message in the log
34
+     * @param string $app
35
+     * @param string $message
36
+     * @param int $level
37
+     */
38
+    public function write(string $app, $message, int $level) {
39
+        error_log('[owncloud]['.$app.']['.$level.'] '.$message);
40
+    }
41 41
 }
42 42
 
Please login to merge, or discard this patch.
lib/public/Log/IWriter.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@
 block discarded – undo
30 30
  * @since 14.0.0
31 31
  */
32 32
 interface IWriter {
33
-	/**
34
-	 * @since 14.0.0
35
-	 */
36
-	public function write(string $app, $message, int $level);
33
+    /**
34
+     * @since 14.0.0
35
+     */
36
+    public function write(string $app, $message, int $level);
37 37
 }
Please login to merge, or discard this patch.
lib/public/Log/RotationTrait.php 1 patch
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -32,40 +32,40 @@
 block discarded – undo
32 32
  */
33 33
 trait RotationTrait {
34 34
 
35
-	/**
36
-	 * @var string
37
-	 * @since 14.0.0
38
-	 */
39
-	protected $filePath;
35
+    /**
36
+     * @var string
37
+     * @since 14.0.0
38
+     */
39
+    protected $filePath;
40 40
 
41
-	/**
42
-	 * @var int
43
-	 * @since 14.0.0
44
-	 */
45
-	protected $maxSize;
41
+    /**
42
+     * @var int
43
+     * @since 14.0.0
44
+     */
45
+    protected $maxSize;
46 46
 
47
-	/**
48
-	 * @return string the resulting new filepath
49
-	 * @since 14.0.0
50
-	 */
51
-	protected function rotate():string {
52
-		$rotatedFile = $this->filePath.'.1';
53
-		rename($this->filePath, $rotatedFile);
54
-		return $rotatedFile;
55
-	}
47
+    /**
48
+     * @return string the resulting new filepath
49
+     * @since 14.0.0
50
+     */
51
+    protected function rotate():string {
52
+        $rotatedFile = $this->filePath.'.1';
53
+        rename($this->filePath, $rotatedFile);
54
+        return $rotatedFile;
55
+    }
56 56
 
57
-	/**
58
-	 * @return bool
59
-	 * @since 14.0.0
60
-	 */
61
-	protected function shouldRotateBySize():bool {
62
-		if ((int)$this->maxSize > 0) {
63
-			$filesize = @filesize($this->filePath);
64
-			if ($filesize >= (int)$this->maxSize) {
65
-				return true;
66
-			}
67
-		}
68
-		return false;
69
-	}
57
+    /**
58
+     * @return bool
59
+     * @since 14.0.0
60
+     */
61
+    protected function shouldRotateBySize():bool {
62
+        if ((int)$this->maxSize > 0) {
63
+            $filesize = @filesize($this->filePath);
64
+            if ($filesize >= (int)$this->maxSize) {
65
+                return true;
66
+            }
67
+        }
68
+        return false;
69
+    }
70 70
 
71 71
 }
Please login to merge, or discard this patch.