Passed
Push — master ( 6c55e5...ac10ff )
by Roeland
10:05
created
config/config.sample.php 1 patch
Indentation   +134 added lines, -134 removed lines patch added patch discarded remove patch
@@ -41,17 +41,17 @@  discard block
 block discarded – undo
41 41
  */
42 42
 'instanceid' => '',
43 43
 
44
- /**
45
-  * The salt used to hash all passwords, auto-generated by the Nextcloud
46
-  * installer. (There are also per-user salts.) If you lose this salt you lose
47
-  * all your passwords. This example is for documentation only, and you should
48
-  * never use it.
49
-  *
50
-  * @deprecated This salt is deprecated and only used for legacy-compatibility,
51
-  * developers should *NOT* use this value for anything nowadays.
52
-  *
53
-  * 'passwordsalt' => 'd3c944a9af095aa08f',
54
- */
44
+    /**
45
+     * The salt used to hash all passwords, auto-generated by the Nextcloud
46
+     * installer. (There are also per-user salts.) If you lose this salt you lose
47
+     * all your passwords. This example is for documentation only, and you should
48
+     * never use it.
49
+     *
50
+     * @deprecated This salt is deprecated and only used for legacy-compatibility,
51
+     * developers should *NOT* use this value for anything nowadays.
52
+     *
53
+     * 'passwordsalt' => 'd3c944a9af095aa08f',
54
+     */
55 55
 'passwordsalt' => '',
56 56
 
57 57
 /**
@@ -67,10 +67,10 @@  discard block
 block discarded – undo
67 67
  *   ubos-raspberry-pi.local and ubos-raspberry-pi-2.local
68 68
  */
69 69
 'trusted_domains' =>
70
-  array (
70
+    array (
71 71
     'demo.example.org',
72 72
     'otherdomain.example.org',
73
-  ),
73
+    ),
74 74
 
75 75
 
76 76
 /**
@@ -678,10 +678,10 @@  discard block
 block discarded – undo
678 678
  *  - www.edri.org
679 679
  */
680 680
 'connectivity_check_domains' => array(
681
-	'www.nextcloud.com',
682
-	'www.startpage.com',
683
-	'www.eff.org',
684
-	'www.edri.org'
681
+    'www.nextcloud.com',
682
+    'www.startpage.com',
683
+    'www.eff.org',
684
+    'www.edri.org'
685 685
 ),
686 686
 
687 687
 /**
@@ -797,9 +797,9 @@  discard block
 block discarded – undo
797 797
  * Defaults to an empty array.
798 798
  */
799 799
 'log.condition' => [
800
-	'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9',
801
-	'users' => ['sample-user'],
802
-	'apps' => ['files'],
800
+    'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9',
801
+    'users' => ['sample-user'],
802
+    'apps' => ['files'],
803 803
 ],
804 804
 
805 805
 /**
@@ -853,18 +853,18 @@  discard block
 block discarded – undo
853 853
  *  - iOS client app id: ``1125420102``
854 854
  */
855 855
 'customclient_desktop' =>
856
-	'https://nextcloud.com/install/#install-clients',
856
+    'https://nextcloud.com/install/#install-clients',
857 857
 'customclient_android' =>
858
-	'https://play.google.com/store/apps/details?id=com.nextcloud.client',
858
+    'https://play.google.com/store/apps/details?id=com.nextcloud.client',
859 859
 'customclient_ios' =>
860
-	'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8',
860
+    'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8',
861 861
 'customclient_ios_appid' =>
862
-		'1125420102',
862
+        '1125420102',
863 863
 /**
864
- * Apps
865
- *
866
- * Options for the Apps folder, Apps store, and App code checker.
867
- */
864
+         * Apps
865
+         *
866
+         * Options for the Apps folder, Apps store, and App code checker.
867
+         */
868 868
 
869 869
 /**
870 870
  * When enabled, admins may install apps from the Nextcloud app store.
@@ -882,11 +882,11 @@  discard block
 block discarded – undo
882 882
  * indicates if a Web server can write files to that folder.
883 883
  */
884 884
 'apps_paths' => array(
885
-	array(
886
-		'path'=> '/var/www/nextcloud/apps',
887
-		'url' => '/apps',
888
-		'writable' => true,
889
-	),
885
+    array(
886
+        'path'=> '/var/www/nextcloud/apps',
887
+        'url' => '/apps',
888
+        'writable' => true,
889
+    ),
890 890
 ),
891 891
 
892 892
 /**
@@ -951,8 +951,8 @@  discard block
 block discarded – undo
951 951
  * Defaults to ``''`` (empty string)
952 952
  */
953 953
 'preview_office_cl_parameters' =>
954
-	' --headless --nologo --nofirststartwizard --invisible --norestore '.
955
-	'--convert-to png --outdir ',
954
+    ' --headless --nologo --nofirststartwizard --invisible --norestore '.
955
+    '--convert-to png --outdir ',
956 956
 
957 957
 /**
958 958
  * Only register providers that have been explicitly enabled
@@ -996,15 +996,15 @@  discard block
 block discarded – undo
996 996
  *  - OC\Preview\XBitmap
997 997
  */
998 998
 'enabledPreviewProviders' => array(
999
-	'OC\Preview\PNG',
1000
-	'OC\Preview\JPEG',
1001
-	'OC\Preview\GIF',
1002
-	'OC\Preview\HEIC',
1003
-	'OC\Preview\BMP',
1004
-	'OC\Preview\XBitmap',
1005
-	'OC\Preview\MP3',
1006
-	'OC\Preview\TXT',
1007
-	'OC\Preview\MarkDown'
999
+    'OC\Preview\PNG',
1000
+    'OC\Preview\JPEG',
1001
+    'OC\Preview\GIF',
1002
+    'OC\Preview\HEIC',
1003
+    'OC\Preview\BMP',
1004
+    'OC\Preview\XBitmap',
1005
+    'OC\Preview\MP3',
1006
+    'OC\Preview\TXT',
1007
+    'OC\Preview\MarkDown'
1008 1008
 ),
1009 1009
 
1010 1010
 /**
@@ -1080,11 +1080,11 @@  discard block
 block discarded – undo
1080 1080
 
1081 1081
 /**
1082 1082
  * Extra SSL options to be used for configuration.
1083
-  *
1083
+ *
1084 1084
  * Defaults to an empty array.
1085 1085
  */
1086 1086
 'openssl' => array(
1087
-	'config' => '/absolute/location/of/openssl.cnf',
1087
+    'config' => '/absolute/location/of/openssl.cnf',
1088 1088
 ),
1089 1089
 
1090 1090
 /**
@@ -1132,11 +1132,11 @@  discard block
 block discarded – undo
1132 1132
  * for more information.
1133 1133
  */
1134 1134
 'redis' => [
1135
-	'host' => 'localhost', // can also be a unix domain socket: '/tmp/redis.sock'
1136
-	'port' => 6379,
1137
-	'timeout' => 0.0,
1138
-	'password' => '', // Optional, if not defined no password will be used.
1139
-	'dbindex' => 0, // Optional, if undefined SELECT will not run and will use Redis Server's default DB Index.
1135
+    'host' => 'localhost', // can also be a unix domain socket: '/tmp/redis.sock'
1136
+    'port' => 6379,
1137
+    'timeout' => 0.0,
1138
+    'password' => '', // Optional, if not defined no password will be used.
1139
+    'dbindex' => 0, // Optional, if undefined SELECT will not run and will use Redis Server's default DB Index.
1140 1140
 ],
1141 1141
 
1142 1142
 /**
@@ -1162,13 +1162,13 @@  discard block
 block discarded – undo
1162 1162
  * See https://redis.io/topics/cluster-spec for details about the Redis cluster
1163 1163
  */
1164 1164
 'redis.cluster' => [
1165
-	'seeds' => [ // provide some/all of the cluster servers to bootstrap discovery, port required
1166
-		'localhost:7000',
1167
-		'localhost:7001'
1168
-	],
1169
-	'timeout' => 0.0,
1170
-	'read_timeout' => 0.0,
1171
-	'failover_mode' => \RedisCluster::FAILOVER_ERROR
1165
+    'seeds' => [ // provide some/all of the cluster servers to bootstrap discovery, port required
1166
+        'localhost:7000',
1167
+        'localhost:7001'
1168
+    ],
1169
+    'timeout' => 0.0,
1170
+    'read_timeout' => 0.0,
1171
+    'failover_mode' => \RedisCluster::FAILOVER_ERROR
1172 1172
 ],
1173 1173
 
1174 1174
 
@@ -1176,35 +1176,35 @@  discard block
 block discarded – undo
1176 1176
  * Server details for one or more memcached servers to use for memory caching.
1177 1177
  */
1178 1178
 'memcached_servers' => array(
1179
-	// hostname, port and optional weight. Also see:
1180
-	// http://www.php.net/manual/en/memcached.addservers.php
1181
-	// http://www.php.net/manual/en/memcached.addserver.php
1182
-	array('localhost', 11211),
1183
-	//array('other.host.local', 11211),
1179
+    // hostname, port and optional weight. Also see:
1180
+    // http://www.php.net/manual/en/memcached.addservers.php
1181
+    // http://www.php.net/manual/en/memcached.addserver.php
1182
+    array('localhost', 11211),
1183
+    //array('other.host.local', 11211),
1184 1184
 ),
1185 1185
 
1186 1186
 /**
1187 1187
  * Connection options for memcached, see http://apprize.info/php/scaling/15.html
1188 1188
  */
1189 1189
 'memcached_options' => array(
1190
-	// Set timeouts to 50ms
1191
-	\Memcached::OPT_CONNECT_TIMEOUT => 50,
1192
-	\Memcached::OPT_RETRY_TIMEOUT =>   50,
1193
-	\Memcached::OPT_SEND_TIMEOUT =>    50,
1194
-	\Memcached::OPT_RECV_TIMEOUT =>    50,
1195
-	\Memcached::OPT_POLL_TIMEOUT =>    50,
1190
+    // Set timeouts to 50ms
1191
+    \Memcached::OPT_CONNECT_TIMEOUT => 50,
1192
+    \Memcached::OPT_RETRY_TIMEOUT =>   50,
1193
+    \Memcached::OPT_SEND_TIMEOUT =>    50,
1194
+    \Memcached::OPT_RECV_TIMEOUT =>    50,
1195
+    \Memcached::OPT_POLL_TIMEOUT =>    50,
1196 1196
 
1197
-	// Enable compression
1198
-	\Memcached::OPT_COMPRESSION =>          true,
1197
+    // Enable compression
1198
+    \Memcached::OPT_COMPRESSION =>          true,
1199 1199
 
1200
-	// Turn on consistent hashing
1201
-	\Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
1200
+    // Turn on consistent hashing
1201
+    \Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
1202 1202
 
1203
-	// Enable Binary Protocol
1204
-	\Memcached::OPT_BINARY_PROTOCOL =>      true,
1203
+    // Enable Binary Protocol
1204
+    \Memcached::OPT_BINARY_PROTOCOL =>      true,
1205 1205
 
1206
-	// Binary serializer vill be enabled if the igbinary PECL module is available
1207
-	//\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY,
1206
+    // Binary serializer vill be enabled if the igbinary PECL module is available
1207
+    //\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY,
1208 1208
 ),
1209 1209
 
1210 1210
 
@@ -1250,61 +1250,61 @@  discard block
 block discarded – undo
1250 1250
  * One way to test is applying for a trystack account at http://trystack.org/
1251 1251
  */
1252 1252
 'objectstore' => [
1253
-	'class' => 'OC\\Files\\ObjectStore\\Swift',
1254
-	'arguments' => [
1255
-		// trystack will use your facebook id as the user name
1256
-		'username' => 'facebook100000123456789',
1257
-		// in the trystack dashboard go to user -> settings -> API Password to
1258
-		// generate a password
1259
-		'password' => 'Secr3tPaSSWoRdt7',
1260
-		// must already exist in the objectstore, name can be different
1261
-		'container' => 'nextcloud',
1262
-		// prefix to prepend to the fileid, default is 'oid:urn:'
1263
-		'objectPrefix' => 'oid:urn:',
1264
-		// create the container if it does not exist. default is false
1265
-		'autocreate' => true,
1266
-		// required, dev-/trystack defaults to 'RegionOne'
1267
-		'region' => 'RegionOne',
1268
-		// The Identity / Keystone endpoint
1269
-		'url' => 'http://8.21.28.222:5000/v2.0',
1270
-		// required on dev-/trystack
1271
-		'tenantName' => 'facebook100000123456789',
1272
-		// dev-/trystack uses swift by default, the lib defaults to 'cloudFiles'
1273
-		// if omitted
1274
-		'serviceName' => 'swift',
1275
-		// The Interface / url Type, optional
1276
-		'urlType' => 'internal'
1277
-	],
1253
+    'class' => 'OC\\Files\\ObjectStore\\Swift',
1254
+    'arguments' => [
1255
+        // trystack will use your facebook id as the user name
1256
+        'username' => 'facebook100000123456789',
1257
+        // in the trystack dashboard go to user -> settings -> API Password to
1258
+        // generate a password
1259
+        'password' => 'Secr3tPaSSWoRdt7',
1260
+        // must already exist in the objectstore, name can be different
1261
+        'container' => 'nextcloud',
1262
+        // prefix to prepend to the fileid, default is 'oid:urn:'
1263
+        'objectPrefix' => 'oid:urn:',
1264
+        // create the container if it does not exist. default is false
1265
+        'autocreate' => true,
1266
+        // required, dev-/trystack defaults to 'RegionOne'
1267
+        'region' => 'RegionOne',
1268
+        // The Identity / Keystone endpoint
1269
+        'url' => 'http://8.21.28.222:5000/v2.0',
1270
+        // required on dev-/trystack
1271
+        'tenantName' => 'facebook100000123456789',
1272
+        // dev-/trystack uses swift by default, the lib defaults to 'cloudFiles'
1273
+        // if omitted
1274
+        'serviceName' => 'swift',
1275
+        // The Interface / url Type, optional
1276
+        'urlType' => 'internal'
1277
+    ],
1278 1278
 ],
1279 1279
 
1280 1280
 /**
1281 1281
  * To use swift V3
1282 1282
  */
1283 1283
 'objectstore' => [
1284
-	'class' => 'OC\\Files\\ObjectStore\\Swift',
1285
-	'arguments' => [
1286
-		'autocreate' => true,
1287
-		'user' => [
1288
-			'name' => 'swift',
1289
-			'password' => 'swift',
1290
-			'domain' => [
1291
-				'name' => 'default',
1292
-			],
1293
-		],
1294
-		'scope' => [
1295
-			'project' => [
1296
-				'name' => 'service',
1297
-				'domain' => [
1298
-					'name' => 'default',
1299
-				],
1300
-			],
1301
-		],
1302
-		'tenantName' => 'service',
1303
-		'serviceName' => 'swift',
1304
-		'region' => 'regionOne',
1305
-		'url' => 'http://yourswifthost:5000/v3',
1306
-		'bucket' => 'nextcloud',
1307
-	],
1284
+    'class' => 'OC\\Files\\ObjectStore\\Swift',
1285
+    'arguments' => [
1286
+        'autocreate' => true,
1287
+        'user' => [
1288
+            'name' => 'swift',
1289
+            'password' => 'swift',
1290
+            'domain' => [
1291
+                'name' => 'default',
1292
+            ],
1293
+        ],
1294
+        'scope' => [
1295
+            'project' => [
1296
+                'name' => 'service',
1297
+                'domain' => [
1298
+                    'name' => 'default',
1299
+                ],
1300
+            ],
1301
+        ],
1302
+        'tenantName' => 'service',
1303
+        'serviceName' => 'swift',
1304
+        'region' => 'regionOne',
1305
+        'url' => 'http://yourswifthost:5000/v3',
1306
+        'bucket' => 'nextcloud',
1307
+    ],
1308 1308
 ],
1309 1309
 
1310 1310
 
@@ -1344,8 +1344,8 @@  discard block
 block discarded – undo
1344 1344
  * encryption in MySQL or specify a custom wait timeout on a cheap hoster.
1345 1345
  */
1346 1346
 'dbdriveroptions' => array(
1347
-	PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
1348
-	PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800'
1347
+    PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
1348
+    PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800'
1349 1349
 ),
1350 1350
 
1351 1351
 /**
@@ -1402,10 +1402,10 @@  discard block
 block discarded – undo
1402 1402
  *  - pgsql (PostgreSQL)
1403 1403
  */
1404 1404
 'supportedDatabases' => array(
1405
-	'sqlite',
1406
-	'mysql',
1407
-	'pgsql',
1408
-	'oci',
1405
+    'sqlite',
1406
+    'mysql',
1407
+    'pgsql',
1408
+    'oci',
1409 1409
 ),
1410 1410
 
1411 1411
 /**
@@ -1680,8 +1680,8 @@  discard block
 block discarded – undo
1680 1680
  * WARNING: only use this if you know what you are doing
1681 1681
  */
1682 1682
 'csrf.optout' => array(
1683
-	'/^WebDAVFS/', // OS X Finder
1684
-	'/^Microsoft-WebDAV-MiniRedir/', // Windows webdav drive
1683
+    '/^WebDAVFS/', // OS X Finder
1684
+    '/^Microsoft-WebDAV-MiniRedir/', // Windows webdav drive
1685 1685
 ),
1686 1686
 
1687 1687
 /**
Please login to merge, or discard this patch.