Completed
Push — master ( b0af46...2d0c5c )
by
unknown
31:45
created
lib/public/Files/Lock/LockContext.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,6 +94,6 @@
 block discarded – undo
94 94
 		if ($this->type === ILock::TYPE_TOKEN) {
95 95
 			$typeString = 'ILock::TYPE_TOKEN';
96 96
 		}
97
-		return "$typeString  $this->owner " . $this->getNode()->getId();
97
+		return "$typeString  $this->owner ".$this->getNode()->getId();
98 98
 	}
99 99
 }
Please login to merge, or discard this patch.
Indentation   +54 added lines, -54 removed lines patch added patch discarded remove patch
@@ -20,63 +20,63 @@
 block discarded – undo
20 20
  * @since 24.0.0
21 21
  */
22 22
 final class LockContext {
23
-	private Node $node;
24
-	private int $type;
25
-	private string $owner;
23
+    private Node $node;
24
+    private int $type;
25
+    private string $owner;
26 26
 
27
-	/**
28
-	 * @param Node $node Node that is owned by the lock
29
-	 * @param int $type Type of the lock owner
30
-	 * @param string $owner Unique identifier for the lock owner based on the type
31
-	 * @since 24.0.0
32
-	 */
33
-	public function __construct(
34
-		Node $node,
35
-		int $type,
36
-		string $owner,
37
-	) {
38
-		$this->node = $node;
39
-		$this->type = $type;
40
-		$this->owner = $owner;
41
-	}
27
+    /**
28
+     * @param Node $node Node that is owned by the lock
29
+     * @param int $type Type of the lock owner
30
+     * @param string $owner Unique identifier for the lock owner based on the type
31
+     * @since 24.0.0
32
+     */
33
+    public function __construct(
34
+        Node $node,
35
+        int $type,
36
+        string $owner,
37
+    ) {
38
+        $this->node = $node;
39
+        $this->type = $type;
40
+        $this->owner = $owner;
41
+    }
42 42
 
43
-	/**
44
-	 * @since 24.0.0
45
-	 */
46
-	public function getNode(): Node {
47
-		return $this->node;
48
-	}
43
+    /**
44
+     * @since 24.0.0
45
+     */
46
+    public function getNode(): Node {
47
+        return $this->node;
48
+    }
49 49
 
50
-	/**
51
-	 * @return int
52
-	 * @since 24.0.0
53
-	 */
54
-	public function getType(): int {
55
-		return $this->type;
56
-	}
50
+    /**
51
+     * @return int
52
+     * @since 24.0.0
53
+     */
54
+    public function getType(): int {
55
+        return $this->type;
56
+    }
57 57
 
58
-	/**
59
-	 * @return string user id / app id / lock token depending on the type
60
-	 * @since 24.0.0
61
-	 */
62
-	public function getOwner(): string {
63
-		return $this->owner;
64
-	}
58
+    /**
59
+     * @return string user id / app id / lock token depending on the type
60
+     * @since 24.0.0
61
+     */
62
+    public function getOwner(): string {
63
+        return $this->owner;
64
+    }
65 65
 
66
-	/**
67
-	 * @since 24.0.0
68
-	 */
69
-	public function __toString(): string {
70
-		$typeString = 'unknown';
71
-		if ($this->type === ILock::TYPE_USER) {
72
-			$typeString = 'ILock::TYPE_USER';
73
-		}
74
-		if ($this->type === ILock::TYPE_APP) {
75
-			$typeString = 'ILock::TYPE_APP';
76
-		}
77
-		if ($this->type === ILock::TYPE_TOKEN) {
78
-			$typeString = 'ILock::TYPE_TOKEN';
79
-		}
80
-		return "$typeString  $this->owner " . $this->getNode()->getId();
81
-	}
66
+    /**
67
+     * @since 24.0.0
68
+     */
69
+    public function __toString(): string {
70
+        $typeString = 'unknown';
71
+        if ($this->type === ILock::TYPE_USER) {
72
+            $typeString = 'ILock::TYPE_USER';
73
+        }
74
+        if ($this->type === ILock::TYPE_APP) {
75
+            $typeString = 'ILock::TYPE_APP';
76
+        }
77
+        if ($this->type === ILock::TYPE_TOKEN) {
78
+            $typeString = 'ILock::TYPE_TOKEN';
79
+        }
80
+        return "$typeString  $this->owner " . $this->getNode()->getId();
81
+    }
82 82
 }
Please login to merge, or discard this patch.
apps/files_sharing/lib/Migration/Version24000Date20220208195521.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -33,19 +33,19 @@
 block discarded – undo
33 33
 
34 34
 class Version24000Date20220208195521 extends SimpleMigrationStep {
35 35
 
36
-	/**
37
-	 * @param IOutput $output
38
-	 * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
39
-	 * @param array $options
40
-	 * @return null|ISchemaWrapper
41
-	 */
42
-	public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
43
-		$schema = $schemaClosure();
44
-		$table = $schema->getTable('share');
45
-		$table->addColumn('password_expiration_time', Types::DATETIME, [
46
-			'notnull' => false,
47
-		]);
48
-		return $schema;
49
-	}
36
+    /**
37
+     * @param IOutput $output
38
+     * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
39
+     * @param array $options
40
+     * @return null|ISchemaWrapper
41
+     */
42
+    public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
43
+        $schema = $schemaClosure();
44
+        $table = $schema->getTable('share');
45
+        $table->addColumn('password_expiration_time', Types::DATETIME, [
46
+            'notnull' => false,
47
+        ]);
48
+        return $schema;
49
+    }
50 50
 
51 51
 }
Please login to merge, or discard this patch.
apps/testing/composer/composer/autoload_real.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     public static function loadClassLoader($class)
10 10
     {
11 11
         if ('Composer\Autoload\ClassLoader' === $class) {
12
-            require __DIR__ . '/ClassLoader.php';
12
+            require __DIR__.'/ClassLoader.php';
13 13
         }
14 14
     }
15 15
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27 27
         spl_autoload_unregister(array('ComposerAutoloaderInitTesting', 'loadClassLoader'));
28 28
 
29
-        require __DIR__ . '/autoload_static.php';
29
+        require __DIR__.'/autoload_static.php';
30 30
         call_user_func(\Composer\Autoload\ComposerStaticInitTesting::getInitializer($loader));
31 31
 
32 32
         $loader->setClassMapAuthoritative(true);
Please login to merge, or discard this patch.
apps/federatedfilesharing/composer/composer/autoload_real.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     public static function loadClassLoader($class)
10 10
     {
11 11
         if ('Composer\Autoload\ClassLoader' === $class) {
12
-            require __DIR__ . '/ClassLoader.php';
12
+            require __DIR__.'/ClassLoader.php';
13 13
         }
14 14
     }
15 15
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27 27
         spl_autoload_unregister(array('ComposerAutoloaderInitFederatedFileSharing', 'loadClassLoader'));
28 28
 
29
-        require __DIR__ . '/autoload_static.php';
29
+        require __DIR__.'/autoload_static.php';
30 30
         call_user_func(\Composer\Autoload\ComposerStaticInitFederatedFileSharing::getInitializer($loader));
31 31
 
32 32
         $loader->setClassMapAuthoritative(true);
Please login to merge, or discard this patch.
apps/lookup_server_connector/composer/composer/autoload_real.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     public static function loadClassLoader($class)
10 10
     {
11 11
         if ('Composer\Autoload\ClassLoader' === $class) {
12
-            require __DIR__ . '/ClassLoader.php';
12
+            require __DIR__.'/ClassLoader.php';
13 13
         }
14 14
     }
15 15
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27 27
         spl_autoload_unregister(array('ComposerAutoloaderInitLookupServerConnector', 'loadClassLoader'));
28 28
 
29
-        require __DIR__ . '/autoload_static.php';
29
+        require __DIR__.'/autoload_static.php';
30 30
         call_user_func(\Composer\Autoload\ComposerStaticInitLookupServerConnector::getInitializer($loader));
31 31
 
32 32
         $loader->setClassMapAuthoritative(true);
Please login to merge, or discard this patch.
apps/files_versions/composer/composer/autoload_real.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     public static function loadClassLoader($class)
10 10
     {
11 11
         if ('Composer\Autoload\ClassLoader' === $class) {
12
-            require __DIR__ . '/ClassLoader.php';
12
+            require __DIR__.'/ClassLoader.php';
13 13
         }
14 14
     }
15 15
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27 27
         spl_autoload_unregister(array('ComposerAutoloaderInitFiles_Versions', 'loadClassLoader'));
28 28
 
29
-        require __DIR__ . '/autoload_static.php';
29
+        require __DIR__.'/autoload_static.php';
30 30
         call_user_func(\Composer\Autoload\ComposerStaticInitFiles_Versions::getInitializer($loader));
31 31
 
32 32
         $loader->setClassMapAuthoritative(true);
Please login to merge, or discard this patch.
apps/oauth2/composer/composer/autoload_real.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     public static function loadClassLoader($class)
10 10
     {
11 11
         if ('Composer\Autoload\ClassLoader' === $class) {
12
-            require __DIR__ . '/ClassLoader.php';
12
+            require __DIR__.'/ClassLoader.php';
13 13
         }
14 14
     }
15 15
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27 27
         spl_autoload_unregister(array('ComposerAutoloaderInitOAuth2', 'loadClassLoader'));
28 28
 
29
-        require __DIR__ . '/autoload_static.php';
29
+        require __DIR__.'/autoload_static.php';
30 30
         call_user_func(\Composer\Autoload\ComposerStaticInitOAuth2::getInitializer($loader));
31 31
 
32 32
         $loader->setClassMapAuthoritative(true);
Please login to merge, or discard this patch.
apps/files/composer/composer/autoload_real.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     public static function loadClassLoader($class)
10 10
     {
11 11
         if ('Composer\Autoload\ClassLoader' === $class) {
12
-            require __DIR__ . '/ClassLoader.php';
12
+            require __DIR__.'/ClassLoader.php';
13 13
         }
14 14
     }
15 15
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27 27
         spl_autoload_unregister(array('ComposerAutoloaderInitFiles', 'loadClassLoader'));
28 28
 
29
-        require __DIR__ . '/autoload_static.php';
29
+        require __DIR__.'/autoload_static.php';
30 30
         call_user_func(\Composer\Autoload\ComposerStaticInitFiles::getInitializer($loader));
31 31
 
32 32
         $loader->setClassMapAuthoritative(true);
Please login to merge, or discard this patch.
apps/updatenotification/composer/composer/autoload_real.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     public static function loadClassLoader($class)
10 10
     {
11 11
         if ('Composer\Autoload\ClassLoader' === $class) {
12
-            require __DIR__ . '/ClassLoader.php';
12
+            require __DIR__.'/ClassLoader.php';
13 13
         }
14 14
     }
15 15
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27 27
         spl_autoload_unregister(array('ComposerAutoloaderInitUpdateNotification', 'loadClassLoader'));
28 28
 
29
-        require __DIR__ . '/autoload_static.php';
29
+        require __DIR__.'/autoload_static.php';
30 30
         call_user_func(\Composer\Autoload\ComposerStaticInitUpdateNotification::getInitializer($loader));
31 31
 
32 32
         $loader->setClassMapAuthoritative(true);
Please login to merge, or discard this patch.