Completed
Push — master ( acb26a...2d6329 )
by
unknown
29:09
created
apps/dav/lib/Migration/Version1016Date20201109085907.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -32,30 +32,30 @@
 block discarded – undo
32 32
 use OCP\Migration\SimpleMigrationStep;
33 33
 
34 34
 class Version1016Date20201109085907 extends SimpleMigrationStep {
35
-	/**
36
-	 * @param IOutput $output
37
-	 * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
38
-	 * @param array $options
39
-	 * @return null|ISchemaWrapper
40
-	 */
41
-	public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
42
-		/** @var ISchemaWrapper $schema */
43
-		$schema = $schemaClosure();
44
-
45
-		$result = $this->ensureColumnIsNullable($schema, 'calendar_reminders', 'is_recurring');
46
-
47
-		return $result ? $schema : null;
48
-	}
49
-
50
-	protected function ensureColumnIsNullable(ISchemaWrapper $schema, string $tableName, string $columnName): bool {
51
-		$table = $schema->getTable($tableName);
52
-		$column = $table->getColumn($columnName);
53
-
54
-		if ($column->getNotnull()) {
55
-			$column->setNotnull(false);
56
-			return true;
57
-		}
58
-
59
-		return false;
60
-	}
35
+    /**
36
+     * @param IOutput $output
37
+     * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
38
+     * @param array $options
39
+     * @return null|ISchemaWrapper
40
+     */
41
+    public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
42
+        /** @var ISchemaWrapper $schema */
43
+        $schema = $schemaClosure();
44
+
45
+        $result = $this->ensureColumnIsNullable($schema, 'calendar_reminders', 'is_recurring');
46
+
47
+        return $result ? $schema : null;
48
+    }
49
+
50
+    protected function ensureColumnIsNullable(ISchemaWrapper $schema, string $tableName, string $columnName): bool {
51
+        $table = $schema->getTable($tableName);
52
+        $column = $table->getColumn($columnName);
53
+
54
+        if ($column->getNotnull()) {
55
+            $column->setNotnull(false);
56
+            return true;
57
+        }
58
+
59
+        return false;
60
+    }
61 61
 }
Please login to merge, or discard this patch.
core/Migrations/Version20000Date20201111081915.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -32,30 +32,30 @@
 block discarded – undo
32 32
 use OCP\Migration\SimpleMigrationStep;
33 33
 
34 34
 class Version20000Date20201111081915 extends SimpleMigrationStep {
35
-	/**
36
-	 * @param IOutput $output
37
-	 * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
38
-	 * @param array $options
39
-	 * @return null|ISchemaWrapper
40
-	 */
41
-	public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
42
-		/** @var ISchemaWrapper $schema */
43
-		$schema = $schemaClosure();
44
-
45
-		$result = $this->ensureColumnIsNullable($schema, 'direct_edit', 'accessed');
46
-
47
-		return $result ? $schema : null;
48
-	}
49
-
50
-	protected function ensureColumnIsNullable(ISchemaWrapper $schema, string $tableName, string $columnName): bool {
51
-		$table = $schema->getTable($tableName);
52
-		$column = $table->getColumn($columnName);
53
-
54
-		if ($column->getNotnull()) {
55
-			$column->setNotnull(false);
56
-			return true;
57
-		}
58
-
59
-		return false;
60
-	}
35
+    /**
36
+     * @param IOutput $output
37
+     * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
38
+     * @param array $options
39
+     * @return null|ISchemaWrapper
40
+     */
41
+    public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
42
+        /** @var ISchemaWrapper $schema */
43
+        $schema = $schemaClosure();
44
+
45
+        $result = $this->ensureColumnIsNullable($schema, 'direct_edit', 'accessed');
46
+
47
+        return $result ? $schema : null;
48
+    }
49
+
50
+    protected function ensureColumnIsNullable(ISchemaWrapper $schema, string $tableName, string $columnName): bool {
51
+        $table = $schema->getTable($tableName);
52
+        $column = $table->getColumn($columnName);
53
+
54
+        if ($column->getNotnull()) {
55
+            $column->setNotnull(false);
56
+            return true;
57
+        }
58
+
59
+        return false;
60
+    }
61 61
 }
Please login to merge, or discard this patch.
apps/user_status/lib/Migration/Version0001Date20200602134824.php 1 patch
Indentation   +54 added lines, -54 removed lines patch added patch discarded remove patch
@@ -37,61 +37,61 @@
 block discarded – undo
37 37
  */
38 38
 class Version0001Date20200602134824 extends SimpleMigrationStep {
39 39
 
40
-	/**
41
-	 * @param IOutput $output
42
-	 * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
43
-	 * @param array $options
44
-	 * @return null|ISchemaWrapper
45
-	 * @since 20.0.0
46
-	 */
47
-	public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) {
48
-		/** @var ISchemaWrapper $schema */
49
-		$schema = $schemaClosure();
40
+    /**
41
+     * @param IOutput $output
42
+     * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
43
+     * @param array $options
44
+     * @return null|ISchemaWrapper
45
+     * @since 20.0.0
46
+     */
47
+    public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) {
48
+        /** @var ISchemaWrapper $schema */
49
+        $schema = $schemaClosure();
50 50
 
51
-		$statusTable = $schema->createTable('user_status');
52
-		$statusTable->addColumn('id', Types::BIGINT, [
53
-			'autoincrement' => true,
54
-			'notnull' => true,
55
-			'length' => 20,
56
-			'unsigned' => true,
57
-		]);
58
-		$statusTable->addColumn('user_id', Types::STRING, [
59
-			'notnull' => true,
60
-			'length' => 255,
61
-		]);
62
-		$statusTable->addColumn('status', Types::STRING, [
63
-			'notnull' => true,
64
-			'length' => 255,
65
-		]);
66
-		$statusTable->addColumn('status_timestamp', Types::INTEGER, [
67
-			'notnull' => true,
68
-			'length' => 11,
69
-			'unsigned' => true,
70
-		]);
71
-		$statusTable->addColumn('is_user_defined', Types::BOOLEAN, [
72
-			'notnull' => false,
73
-		]);
74
-		$statusTable->addColumn('message_id', Types::STRING, [
75
-			'notnull' => false,
76
-			'length' => 255,
77
-		]);
78
-		$statusTable->addColumn('custom_icon', Types::STRING, [
79
-			'notnull' => false,
80
-			'length' => 255,
81
-		]);
82
-		$statusTable->addColumn('custom_message', Types::TEXT, [
83
-			'notnull' => false,
84
-		]);
85
-		$statusTable->addColumn('clear_at', Types::INTEGER, [
86
-			'notnull' => false,
87
-			'length' => 11,
88
-			'unsigned' => true,
89
-		]);
51
+        $statusTable = $schema->createTable('user_status');
52
+        $statusTable->addColumn('id', Types::BIGINT, [
53
+            'autoincrement' => true,
54
+            'notnull' => true,
55
+            'length' => 20,
56
+            'unsigned' => true,
57
+        ]);
58
+        $statusTable->addColumn('user_id', Types::STRING, [
59
+            'notnull' => true,
60
+            'length' => 255,
61
+        ]);
62
+        $statusTable->addColumn('status', Types::STRING, [
63
+            'notnull' => true,
64
+            'length' => 255,
65
+        ]);
66
+        $statusTable->addColumn('status_timestamp', Types::INTEGER, [
67
+            'notnull' => true,
68
+            'length' => 11,
69
+            'unsigned' => true,
70
+        ]);
71
+        $statusTable->addColumn('is_user_defined', Types::BOOLEAN, [
72
+            'notnull' => false,
73
+        ]);
74
+        $statusTable->addColumn('message_id', Types::STRING, [
75
+            'notnull' => false,
76
+            'length' => 255,
77
+        ]);
78
+        $statusTable->addColumn('custom_icon', Types::STRING, [
79
+            'notnull' => false,
80
+            'length' => 255,
81
+        ]);
82
+        $statusTable->addColumn('custom_message', Types::TEXT, [
83
+            'notnull' => false,
84
+        ]);
85
+        $statusTable->addColumn('clear_at', Types::INTEGER, [
86
+            'notnull' => false,
87
+            'length' => 11,
88
+            'unsigned' => true,
89
+        ]);
90 90
 
91
-		$statusTable->setPrimaryKey(['id']);
92
-		$statusTable->addUniqueIndex(['user_id'], 'user_status_uid_ix');
93
-		$statusTable->addIndex(['clear_at'], 'user_status_clr_ix');
91
+        $statusTable->setPrimaryKey(['id']);
92
+        $statusTable->addUniqueIndex(['user_id'], 'user_status_uid_ix');
93
+        $statusTable->addIndex(['clear_at'], 'user_status_clr_ix');
94 94
 
95
-		return $schema;
96
-	}
95
+        return $schema;
96
+    }
97 97
 }
Please login to merge, or discard this patch.
apps/user_status/lib/Migration/Version1000Date20201111130204.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -33,30 +33,30 @@
 block discarded – undo
33 33
 
34 34
 class Version1000Date20201111130204 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
-		/** @var ISchemaWrapper $schema */
44
-		$schema = $schemaClosure();
45
-
46
-		$result = $this->ensureColumnIsNullable($schema, 'user_status', 'is_user_defined');
47
-
48
-		return $result ? $schema : null;
49
-	}
50
-
51
-	protected function ensureColumnIsNullable(ISchemaWrapper $schema, string $tableName, string $columnName): bool {
52
-		$table = $schema->getTable($tableName);
53
-		$column = $table->getColumn($columnName);
54
-
55
-		if ($column->getNotnull()) {
56
-			$column->setNotnull(false);
57
-			return true;
58
-		}
59
-
60
-		return false;
61
-	}
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
+        /** @var ISchemaWrapper $schema */
44
+        $schema = $schemaClosure();
45
+
46
+        $result = $this->ensureColumnIsNullable($schema, 'user_status', 'is_user_defined');
47
+
48
+        return $result ? $schema : null;
49
+    }
50
+
51
+    protected function ensureColumnIsNullable(ISchemaWrapper $schema, string $tableName, string $columnName): bool {
52
+        $table = $schema->getTable($tableName);
53
+        $column = $table->getColumn($columnName);
54
+
55
+        if ($column->getNotnull()) {
56
+            $column->setNotnull(false);
57
+            return true;
58
+        }
59
+
60
+        return false;
61
+    }
62 62
 }
Please login to merge, or discard this patch.
lib/private/Files/ObjectStore/Swift.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
 
153 153
 	public function copyObject($from, $to) {
154 154
 		$this->getContainer()->getObject($from)->copy([
155
-			'destination' => $this->getContainer()->name . '/' . $to
155
+			'destination' => $this->getContainer()->name.'/'.$to
156 156
 		]);
157 157
 	}
158 158
 }
Please login to merge, or discard this patch.
Indentation   +115 added lines, -115 removed lines patch added patch discarded remove patch
@@ -19,119 +19,119 @@
 block discarded – undo
19 19
 const SWIFT_SEGMENT_SIZE = 1073741824; // 1GB
20 20
 
21 21
 class Swift implements IObjectStore {
22
-	/**
23
-	 * @var array
24
-	 */
25
-	private $params;
26
-
27
-	/** @var SwiftFactory */
28
-	private $swiftFactory;
29
-
30
-	public function __construct($params, ?SwiftFactory $connectionFactory = null) {
31
-		$this->swiftFactory = $connectionFactory ?: new SwiftFactory(
32
-			\OC::$server->getMemCacheFactory()->createDistributed('swift::'),
33
-			$params,
34
-			\OC::$server->get(LoggerInterface::class)
35
-		);
36
-		$this->params = $params;
37
-	}
38
-
39
-	/**
40
-	 * @return \OpenStack\ObjectStore\v1\Models\Container
41
-	 * @throws StorageAuthException
42
-	 * @throws \OCP\Files\StorageNotAvailableException
43
-	 */
44
-	private function getContainer() {
45
-		return $this->swiftFactory->getContainer();
46
-	}
47
-
48
-	/**
49
-	 * @return string the container name where objects are stored
50
-	 */
51
-	public function getStorageId() {
52
-		if (isset($this->params['bucket'])) {
53
-			return $this->params['bucket'];
54
-		}
55
-
56
-		return $this->params['container'];
57
-	}
58
-
59
-	public function writeObject($urn, $stream, ?string $mimetype = null) {
60
-		$tmpFile = \OC::$server->getTempManager()->getTemporaryFile('swiftwrite');
61
-		file_put_contents($tmpFile, $stream);
62
-		$handle = fopen($tmpFile, 'rb');
63
-
64
-		if (filesize($tmpFile) < SWIFT_SEGMENT_SIZE) {
65
-			$this->getContainer()->createObject([
66
-				'name' => $urn,
67
-				'stream' => Utils::streamFor($handle),
68
-				'contentType' => $mimetype,
69
-			]);
70
-		} else {
71
-			$this->getContainer()->createLargeObject([
72
-				'name' => $urn,
73
-				'stream' => Utils::streamFor($handle),
74
-				'segmentSize' => SWIFT_SEGMENT_SIZE,
75
-				'contentType' => $mimetype,
76
-			]);
77
-		}
78
-	}
79
-
80
-	/**
81
-	 * @param string $urn the unified resource name used to identify the object
82
-	 * @return resource stream with the read data
83
-	 * @throws \Exception from openstack or GuzzleHttp libs when something goes wrong
84
-	 * @throws NotFoundException if file does not exist
85
-	 */
86
-	public function readObject($urn) {
87
-		try {
88
-			$publicUri = $this->getContainer()->getObject($urn)->getPublicUri();
89
-			$tokenId = $this->swiftFactory->getCachedTokenId();
90
-
91
-			$response = (new Client())->request('GET', $publicUri,
92
-				[
93
-					'stream' => true,
94
-					'headers' => [
95
-						'X-Auth-Token' => $tokenId,
96
-						'Cache-Control' => 'no-cache',
97
-					],
98
-				]
99
-			);
100
-		} catch (BadResponseException $e) {
101
-			if ($e->getResponse() && $e->getResponse()->getStatusCode() === 404) {
102
-				throw new NotFoundException("object $urn not found in object store");
103
-			} else {
104
-				throw $e;
105
-			}
106
-		}
107
-
108
-		return RetryWrapper::wrap($response->getBody()->detach());
109
-	}
110
-
111
-	/**
112
-	 * @param string $urn Unified Resource Name
113
-	 * @return void
114
-	 * @throws \Exception from openstack lib when something goes wrong
115
-	 */
116
-	public function deleteObject($urn) {
117
-		$this->getContainer()->getObject($urn)->delete();
118
-	}
119
-
120
-	/**
121
-	 * @return void
122
-	 * @throws \Exception from openstack lib when something goes wrong
123
-	 */
124
-	public function deleteContainer() {
125
-		$this->getContainer()->delete();
126
-	}
127
-
128
-	public function objectExists($urn) {
129
-		return $this->getContainer()->objectExists($urn);
130
-	}
131
-
132
-	public function copyObject($from, $to) {
133
-		$this->getContainer()->getObject($from)->copy([
134
-			'destination' => $this->getContainer()->name . '/' . $to
135
-		]);
136
-	}
22
+    /**
23
+     * @var array
24
+     */
25
+    private $params;
26
+
27
+    /** @var SwiftFactory */
28
+    private $swiftFactory;
29
+
30
+    public function __construct($params, ?SwiftFactory $connectionFactory = null) {
31
+        $this->swiftFactory = $connectionFactory ?: new SwiftFactory(
32
+            \OC::$server->getMemCacheFactory()->createDistributed('swift::'),
33
+            $params,
34
+            \OC::$server->get(LoggerInterface::class)
35
+        );
36
+        $this->params = $params;
37
+    }
38
+
39
+    /**
40
+     * @return \OpenStack\ObjectStore\v1\Models\Container
41
+     * @throws StorageAuthException
42
+     * @throws \OCP\Files\StorageNotAvailableException
43
+     */
44
+    private function getContainer() {
45
+        return $this->swiftFactory->getContainer();
46
+    }
47
+
48
+    /**
49
+     * @return string the container name where objects are stored
50
+     */
51
+    public function getStorageId() {
52
+        if (isset($this->params['bucket'])) {
53
+            return $this->params['bucket'];
54
+        }
55
+
56
+        return $this->params['container'];
57
+    }
58
+
59
+    public function writeObject($urn, $stream, ?string $mimetype = null) {
60
+        $tmpFile = \OC::$server->getTempManager()->getTemporaryFile('swiftwrite');
61
+        file_put_contents($tmpFile, $stream);
62
+        $handle = fopen($tmpFile, 'rb');
63
+
64
+        if (filesize($tmpFile) < SWIFT_SEGMENT_SIZE) {
65
+            $this->getContainer()->createObject([
66
+                'name' => $urn,
67
+                'stream' => Utils::streamFor($handle),
68
+                'contentType' => $mimetype,
69
+            ]);
70
+        } else {
71
+            $this->getContainer()->createLargeObject([
72
+                'name' => $urn,
73
+                'stream' => Utils::streamFor($handle),
74
+                'segmentSize' => SWIFT_SEGMENT_SIZE,
75
+                'contentType' => $mimetype,
76
+            ]);
77
+        }
78
+    }
79
+
80
+    /**
81
+     * @param string $urn the unified resource name used to identify the object
82
+     * @return resource stream with the read data
83
+     * @throws \Exception from openstack or GuzzleHttp libs when something goes wrong
84
+     * @throws NotFoundException if file does not exist
85
+     */
86
+    public function readObject($urn) {
87
+        try {
88
+            $publicUri = $this->getContainer()->getObject($urn)->getPublicUri();
89
+            $tokenId = $this->swiftFactory->getCachedTokenId();
90
+
91
+            $response = (new Client())->request('GET', $publicUri,
92
+                [
93
+                    'stream' => true,
94
+                    'headers' => [
95
+                        'X-Auth-Token' => $tokenId,
96
+                        'Cache-Control' => 'no-cache',
97
+                    ],
98
+                ]
99
+            );
100
+        } catch (BadResponseException $e) {
101
+            if ($e->getResponse() && $e->getResponse()->getStatusCode() === 404) {
102
+                throw new NotFoundException("object $urn not found in object store");
103
+            } else {
104
+                throw $e;
105
+            }
106
+        }
107
+
108
+        return RetryWrapper::wrap($response->getBody()->detach());
109
+    }
110
+
111
+    /**
112
+     * @param string $urn Unified Resource Name
113
+     * @return void
114
+     * @throws \Exception from openstack lib when something goes wrong
115
+     */
116
+    public function deleteObject($urn) {
117
+        $this->getContainer()->getObject($urn)->delete();
118
+    }
119
+
120
+    /**
121
+     * @return void
122
+     * @throws \Exception from openstack lib when something goes wrong
123
+     */
124
+    public function deleteContainer() {
125
+        $this->getContainer()->delete();
126
+    }
127
+
128
+    public function objectExists($urn) {
129
+        return $this->getContainer()->objectExists($urn);
130
+    }
131
+
132
+    public function copyObject($from, $to) {
133
+        $this->getContainer()->getObject($from)->copy([
134
+            'destination' => $this->getContainer()->name . '/' . $to
135
+        ]);
136
+    }
137 137
 }
Please login to merge, or discard this patch.
apps/sharebymail/composer/composer/autoload_static.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -6,33 +6,33 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInitShareByMail
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         'O' => 
11
-        array (
11
+        array(
12 12
             'OCA\\ShareByMail\\' => 16,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'OCA\\ShareByMail\\' => 
18
-        array (
19
-            0 => __DIR__ . '/..' . '/../lib',
18
+        array(
19
+            0 => __DIR__.'/..'.'/../lib',
20 20
         ),
21 21
     );
22 22
 
23
-    public static $classMap = array (
24
-        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
25
-        'OCA\\ShareByMail\\Activity' => __DIR__ . '/..' . '/../lib/Activity.php',
26
-        'OCA\\ShareByMail\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
27
-        'OCA\\ShareByMail\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php',
28
-        'OCA\\ShareByMail\\Settings\\Admin' => __DIR__ . '/..' . '/../lib/Settings/Admin.php',
29
-        'OCA\\ShareByMail\\Settings\\SettingsManager' => __DIR__ . '/..' . '/../lib/Settings/SettingsManager.php',
30
-        'OCA\\ShareByMail\\ShareByMailProvider' => __DIR__ . '/..' . '/../lib/ShareByMailProvider.php',
23
+    public static $classMap = array(
24
+        'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php',
25
+        'OCA\\ShareByMail\\Activity' => __DIR__.'/..'.'/../lib/Activity.php',
26
+        'OCA\\ShareByMail\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php',
27
+        'OCA\\ShareByMail\\Capabilities' => __DIR__.'/..'.'/../lib/Capabilities.php',
28
+        'OCA\\ShareByMail\\Settings\\Admin' => __DIR__.'/..'.'/../lib/Settings/Admin.php',
29
+        'OCA\\ShareByMail\\Settings\\SettingsManager' => __DIR__.'/..'.'/../lib/Settings/SettingsManager.php',
30
+        'OCA\\ShareByMail\\ShareByMailProvider' => __DIR__.'/..'.'/../lib/ShareByMailProvider.php',
31 31
     );
32 32
 
33 33
     public static function getInitializer(ClassLoader $loader)
34 34
     {
35
-        return \Closure::bind(function () use ($loader) {
35
+        return \Closure::bind(function() use ($loader) {
36 36
             $loader->prefixLengthsPsr4 = ComposerStaticInitShareByMail::$prefixLengthsPsr4;
37 37
             $loader->prefixDirsPsr4 = ComposerStaticInitShareByMail::$prefixDirsPsr4;
38 38
             $loader->classMap = ComposerStaticInitShareByMail::$classMap;
Please login to merge, or discard this patch.
apps/sharebymail/composer/composer/autoload_classmap.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
10
-    'OCA\\ShareByMail\\Activity' => $baseDir . '/../lib/Activity.php',
11
-    'OCA\\ShareByMail\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
12
-    'OCA\\ShareByMail\\Capabilities' => $baseDir . '/../lib/Capabilities.php',
13
-    'OCA\\ShareByMail\\Settings\\Admin' => $baseDir . '/../lib/Settings/Admin.php',
14
-    'OCA\\ShareByMail\\Settings\\SettingsManager' => $baseDir . '/../lib/Settings/SettingsManager.php',
15
-    'OCA\\ShareByMail\\ShareByMailProvider' => $baseDir . '/../lib/ShareByMailProvider.php',
9
+    'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php',
10
+    'OCA\\ShareByMail\\Activity' => $baseDir.'/../lib/Activity.php',
11
+    'OCA\\ShareByMail\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php',
12
+    'OCA\\ShareByMail\\Capabilities' => $baseDir.'/../lib/Capabilities.php',
13
+    'OCA\\ShareByMail\\Settings\\Admin' => $baseDir.'/../lib/Settings/Admin.php',
14
+    'OCA\\ShareByMail\\Settings\\SettingsManager' => $baseDir.'/../lib/Settings/SettingsManager.php',
15
+    'OCA\\ShareByMail\\ShareByMailProvider' => $baseDir.'/../lib/ShareByMailProvider.php',
16 16
 );
Please login to merge, or discard this patch.
apps/lookup_server_connector/composer/composer/autoload_static.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -6,30 +6,30 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInitLookupServerConnector
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         'O' => 
11
-        array (
11
+        array(
12 12
             'OCA\\LookupServerConnector\\' => 26,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'OCA\\LookupServerConnector\\' => 
18
-        array (
19
-            0 => __DIR__ . '/..' . '/../lib',
18
+        array(
19
+            0 => __DIR__.'/..'.'/../lib',
20 20
         ),
21 21
     );
22 22
 
23
-    public static $classMap = array (
24
-        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
25
-        'OCA\\LookupServerConnector\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
26
-        'OCA\\LookupServerConnector\\BackgroundJobs\\RetryJob' => __DIR__ . '/..' . '/../lib/BackgroundJobs/RetryJob.php',
27
-        'OCA\\LookupServerConnector\\UpdateLookupServer' => __DIR__ . '/..' . '/../lib/UpdateLookupServer.php',
23
+    public static $classMap = array(
24
+        'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php',
25
+        'OCA\\LookupServerConnector\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php',
26
+        'OCA\\LookupServerConnector\\BackgroundJobs\\RetryJob' => __DIR__.'/..'.'/../lib/BackgroundJobs/RetryJob.php',
27
+        'OCA\\LookupServerConnector\\UpdateLookupServer' => __DIR__.'/..'.'/../lib/UpdateLookupServer.php',
28 28
     );
29 29
 
30 30
     public static function getInitializer(ClassLoader $loader)
31 31
     {
32
-        return \Closure::bind(function () use ($loader) {
32
+        return \Closure::bind(function() use ($loader) {
33 33
             $loader->prefixLengthsPsr4 = ComposerStaticInitLookupServerConnector::$prefixLengthsPsr4;
34 34
             $loader->prefixDirsPsr4 = ComposerStaticInitLookupServerConnector::$prefixDirsPsr4;
35 35
             $loader->classMap = ComposerStaticInitLookupServerConnector::$classMap;
Please login to merge, or discard this patch.
apps/lookup_server_connector/composer/composer/autoload_classmap.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
10
-    'OCA\\LookupServerConnector\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
11
-    'OCA\\LookupServerConnector\\BackgroundJobs\\RetryJob' => $baseDir . '/../lib/BackgroundJobs/RetryJob.php',
12
-    'OCA\\LookupServerConnector\\UpdateLookupServer' => $baseDir . '/../lib/UpdateLookupServer.php',
9
+    'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php',
10
+    'OCA\\LookupServerConnector\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php',
11
+    'OCA\\LookupServerConnector\\BackgroundJobs\\RetryJob' => $baseDir.'/../lib/BackgroundJobs/RetryJob.php',
12
+    'OCA\\LookupServerConnector\\UpdateLookupServer' => $baseDir.'/../lib/UpdateLookupServer.php',
13 13
 );
Please login to merge, or discard this patch.