Passed
Push — master ( b520a1...3aa3d7 )
by Christoph
16:40 queued 12s
created
config/config.sample.php 1 patch
Indentation   +159 added lines, -159 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
 /**
@@ -75,12 +75,12 @@  discard block
 block discarded – undo
75 75
  *   Using TLS certificates where commonName=<IP address> is deprecated
76 76
  */
77 77
 'trusted_domains' =>
78
-   [
78
+    [
79 79
     'demo.example.org',
80 80
     'otherdomain.example.org',
81 81
     '10.111.112.113',
82 82
     '[2001:db8::1]'
83
-  ],
83
+    ],
84 84
 
85 85
 
86 86
 /**
@@ -835,10 +835,10 @@  discard block
 block discarded – undo
835 835
  *  - www.edri.org
836 836
  */
837 837
 'connectivity_check_domains' => [
838
-	'www.nextcloud.com',
839
-	'www.startpage.com',
840
-	'www.eff.org',
841
-	'www.edri.org'
838
+    'www.nextcloud.com',
839
+    'www.startpage.com',
840
+    'www.eff.org',
841
+    'www.edri.org'
842 842
 ],
843 843
 
844 844
 /**
@@ -988,9 +988,9 @@  discard block
 block discarded – undo
988 988
  * Defaults to an empty array.
989 989
  */
990 990
 'log.condition' => [
991
-	'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9',
992
-	'users' => ['sample-user'],
993
-	'apps' => ['files'],
991
+    'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9',
992
+    'users' => ['sample-user'],
993
+    'apps' => ['files'],
994 994
 ],
995 995
 
996 996
 /**
@@ -1053,18 +1053,18 @@  discard block
 block discarded – undo
1053 1053
  * - iOS client app id: ``1125420102``
1054 1054
  */
1055 1055
 'customclient_desktop' =>
1056
-	'https://nextcloud.com/install/#install-clients',
1056
+    'https://nextcloud.com/install/#install-clients',
1057 1057
 'customclient_android' =>
1058
-	'https://play.google.com/store/apps/details?id=com.nextcloud.client',
1058
+    'https://play.google.com/store/apps/details?id=com.nextcloud.client',
1059 1059
 'customclient_ios' =>
1060
-	'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8',
1060
+    'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8',
1061 1061
 'customclient_ios_appid' =>
1062
-		'1125420102',
1062
+        '1125420102',
1063 1063
 /**
1064
- * Apps
1065
- *
1066
- * Options for the Apps folder, Apps store, and App code checker.
1067
- */
1064
+         * Apps
1065
+         *
1066
+         * Options for the Apps folder, Apps store, and App code checker.
1067
+         */
1068 1068
 
1069 1069
 /**
1070 1070
  * Set the default app to open on login. Use the app names as they appear in the
@@ -1107,11 +1107,11 @@  discard block
 block discarded – undo
1107 1107
  * indicates if a Web server can write files to that folder.
1108 1108
  */
1109 1109
 'apps_paths' => [
1110
-	[
1111
-		'path'=> '/var/www/nextcloud/apps',
1112
-		'url' => '/apps',
1113
-		'writable' => true,
1114
-	],
1110
+    [
1111
+        'path'=> '/var/www/nextcloud/apps',
1112
+        'url' => '/apps',
1113
+        'writable' => true,
1114
+    ],
1115 1115
 ],
1116 1116
 
1117 1117
 /**
@@ -1209,8 +1209,8 @@  discard block
 block discarded – undo
1209 1209
  * Defaults to ``''`` (empty string)
1210 1210
  */
1211 1211
 'preview_office_cl_parameters' =>
1212
-	' --headless --nologo --nofirststartwizard --invisible --norestore '.
1213
-	'--convert-to png --outdir ',
1212
+    ' --headless --nologo --nofirststartwizard --invisible --norestore '.
1213
+    '--convert-to png --outdir ',
1214 1214
 
1215 1215
 /**
1216 1216
  * custom path for ffmpeg binary
@@ -1262,16 +1262,16 @@  discard block
 block discarded – undo
1262 1262
  *  - ``OC\Preview\Krita``
1263 1263
  */
1264 1264
 'enabledPreviewProviders' => [
1265
-	'OC\Preview\PNG',
1266
-	'OC\Preview\JPEG',
1267
-	'OC\Preview\GIF',
1268
-	'OC\Preview\BMP',
1269
-	'OC\Preview\XBitmap',
1270
-	'OC\Preview\MP3',
1271
-	'OC\Preview\TXT',
1272
-	'OC\Preview\MarkDown',
1273
-	'OC\Preview\OpenDocument',
1274
-	'OC\Preview\Krita',
1265
+    'OC\Preview\PNG',
1266
+    'OC\Preview\JPEG',
1267
+    'OC\Preview\GIF',
1268
+    'OC\Preview\BMP',
1269
+    'OC\Preview\XBitmap',
1270
+    'OC\Preview\MP3',
1271
+    'OC\Preview\TXT',
1272
+    'OC\Preview\MarkDown',
1273
+    'OC\Preview\OpenDocument',
1274
+    'OC\Preview\Krita',
1275 1275
 ],
1276 1276
 
1277 1277
 /**
@@ -1369,11 +1369,11 @@  discard block
 block discarded – undo
1369 1369
 
1370 1370
 /**
1371 1371
  * Extra SSL options to be used for configuration.
1372
-  *
1372
+ *
1373 1373
  * Defaults to an empty array.
1374 1374
  */
1375 1375
 'openssl' => [
1376
-	'config' => '/absolute/location/of/openssl.cnf',
1376
+    'config' => '/absolute/location/of/openssl.cnf',
1377 1377
 ],
1378 1378
 
1379 1379
 /**
@@ -1424,20 +1424,20 @@  discard block
 block discarded – undo
1424 1424
  * See https://redis.io/topics/encryption for more information.
1425 1425
  */
1426 1426
 'redis' => [
1427
-	'host' => 'localhost', // can also be a unix domain socket: '/tmp/redis.sock'
1428
-	'port' => 6379,
1429
-	'timeout' => 0.0,
1430
-	'read_timeout' => 0.0,
1431
-	'user' =>  '', // Optional: if not defined, no password will be used.
1432
-	'password' => '', // Optional: if not defined, no password will be used.
1433
-	'dbindex' => 0, // Optional: if undefined SELECT will not run and will use Redis Server's default DB Index.
1434
-	// If redis in-transit encryption is enabled, provide certificates
1435
-	// SSL context https://www.php.net/manual/en/context.ssl.php
1436
-	'ssl_context' => [
1437
-		'local_cert' => '/certs/redis.crt',
1438
-		'local_pk' => '/certs/redis.key',
1439
-		'cafile' => '/certs/ca.crt'
1440
-	]
1427
+    'host' => 'localhost', // can also be a unix domain socket: '/tmp/redis.sock'
1428
+    'port' => 6379,
1429
+    'timeout' => 0.0,
1430
+    'read_timeout' => 0.0,
1431
+    'user' =>  '', // Optional: if not defined, no password will be used.
1432
+    'password' => '', // Optional: if not defined, no password will be used.
1433
+    'dbindex' => 0, // Optional: if undefined SELECT will not run and will use Redis Server's default DB Index.
1434
+    // If redis in-transit encryption is enabled, provide certificates
1435
+    // SSL context https://www.php.net/manual/en/context.ssl.php
1436
+    'ssl_context' => [
1437
+        'local_cert' => '/certs/redis.crt',
1438
+        'local_pk' => '/certs/redis.key',
1439
+        'cafile' => '/certs/ca.crt'
1440
+    ]
1441 1441
 ],
1442 1442
 
1443 1443
 /**
@@ -1463,22 +1463,22 @@  discard block
 block discarded – undo
1463 1463
  * https://github.com/phpredis/phpredis/commit/c5994f2a42b8a348af92d3acb4edff1328ad8ce1
1464 1464
  */
1465 1465
 'redis.cluster' => [
1466
-	'seeds' => [ // provide some or all of the cluster servers to bootstrap discovery, port required
1467
-		'localhost:7000',
1468
-		'localhost:7001',
1469
-	],
1470
-	'timeout' => 0.0,
1471
-	'read_timeout' => 0.0,
1472
-	'failover_mode' => \RedisCluster::FAILOVER_ERROR,
1473
-	'user' =>  '', // Optional: if not defined, no password will be used.
1474
-	'password' => '', // Optional: if not defined, no password will be used.
1475
-	// If redis in-transit encryption is enabled, provide certificates
1476
-	// SSL context https://www.php.net/manual/en/context.ssl.php
1477
-	'ssl_context' => [
1478
-		'local_cert' => '/certs/redis.crt',
1479
-		'local_pk' => '/certs/redis.key',
1480
-		'cafile' => '/certs/ca.crt'
1481
-	]
1466
+    'seeds' => [ // provide some or all of the cluster servers to bootstrap discovery, port required
1467
+        'localhost:7000',
1468
+        'localhost:7001',
1469
+    ],
1470
+    'timeout' => 0.0,
1471
+    'read_timeout' => 0.0,
1472
+    'failover_mode' => \RedisCluster::FAILOVER_ERROR,
1473
+    'user' =>  '', // Optional: if not defined, no password will be used.
1474
+    'password' => '', // Optional: if not defined, no password will be used.
1475
+    // If redis in-transit encryption is enabled, provide certificates
1476
+    // SSL context https://www.php.net/manual/en/context.ssl.php
1477
+    'ssl_context' => [
1478
+        'local_cert' => '/certs/redis.crt',
1479
+        'local_pk' => '/certs/redis.key',
1480
+        'cafile' => '/certs/ca.crt'
1481
+    ]
1482 1482
 ],
1483 1483
 
1484 1484
 
@@ -1486,36 +1486,36 @@  discard block
 block discarded – undo
1486 1486
  * Server details for one or more memcached servers to use for memory caching.
1487 1487
  */
1488 1488
 'memcached_servers' => [
1489
-	// hostname, port and optional weight
1490
-	// or path and port 0 for unix socket. Also see:
1491
-	// https://www.php.net/manual/en/memcached.addservers.php
1492
-	// https://www.php.net/manual/en/memcached.addserver.php
1493
-	['localhost', 11211],
1494
-	//array('other.host.local', 11211),
1489
+    // hostname, port and optional weight
1490
+    // or path and port 0 for unix socket. Also see:
1491
+    // https://www.php.net/manual/en/memcached.addservers.php
1492
+    // https://www.php.net/manual/en/memcached.addserver.php
1493
+    ['localhost', 11211],
1494
+    //array('other.host.local', 11211),
1495 1495
 ],
1496 1496
 
1497 1497
 /**
1498 1498
  * Connection options for memcached
1499 1499
  */
1500 1500
 'memcached_options' => [
1501
-	// Set timeouts to 50ms
1502
-	\Memcached::OPT_CONNECT_TIMEOUT => 50,
1503
-	\Memcached::OPT_RETRY_TIMEOUT =>   50,
1504
-	\Memcached::OPT_SEND_TIMEOUT =>    50,
1505
-	\Memcached::OPT_RECV_TIMEOUT =>    50,
1506
-	\Memcached::OPT_POLL_TIMEOUT =>    50,
1501
+    // Set timeouts to 50ms
1502
+    \Memcached::OPT_CONNECT_TIMEOUT => 50,
1503
+    \Memcached::OPT_RETRY_TIMEOUT =>   50,
1504
+    \Memcached::OPT_SEND_TIMEOUT =>    50,
1505
+    \Memcached::OPT_RECV_TIMEOUT =>    50,
1506
+    \Memcached::OPT_POLL_TIMEOUT =>    50,
1507 1507
 
1508
-	// Enable compression
1509
-	\Memcached::OPT_COMPRESSION =>          true,
1508
+    // Enable compression
1509
+    \Memcached::OPT_COMPRESSION =>          true,
1510 1510
 
1511
-	// Turn on consistent hashing
1512
-	\Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
1511
+    // Turn on consistent hashing
1512
+    \Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
1513 1513
 
1514
-	// Enable Binary Protocol
1515
-	\Memcached::OPT_BINARY_PROTOCOL =>      true,
1514
+    // Enable Binary Protocol
1515
+    \Memcached::OPT_BINARY_PROTOCOL =>      true,
1516 1516
 
1517
-	// Binary serializer vill be enabled if the igbinary PECL module is available
1518
-	//\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY,
1517
+    // Binary serializer vill be enabled if the igbinary PECL module is available
1518
+    //\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY,
1519 1519
 ],
1520 1520
 
1521 1521
 
@@ -1561,63 +1561,63 @@  discard block
 block discarded – undo
1561 1561
  * One way to test is applying for a trystack account at http://trystack.org/
1562 1562
  */
1563 1563
 'objectstore' => [
1564
-	'class' => 'OC\\Files\\ObjectStore\\Swift',
1565
-	'arguments' => [
1566
-		// trystack will use your facebook id as the username
1567
-		'username' => 'facebook100000123456789',
1568
-		// in the trystack dashboard go to user -> settings -> API Password to
1569
-		// generate a password
1570
-		'password' => 'Secr3tPaSSWoRdt7',
1571
-		// must already exist in the objectstore, name can be different
1572
-		'container' => 'nextcloud',
1573
-		// prefix to prepend to the fileid, default is 'oid:urn:'
1574
-		'objectPrefix' => 'oid:urn:',
1575
-		// create the container if it does not exist. default is false
1576
-		'autocreate' => true,
1577
-		// required, dev-/trystack defaults to 'RegionOne'
1578
-		'region' => 'RegionOne',
1579
-		// The Identity / Keystone endpoint
1580
-		'url' => 'http://8.21.28.222:5000/v2.0',
1581
-		// uploadPartSize: size of the uploaded chunks, defaults to 524288000
1582
-		'uploadPartSize' => 524288000,
1583
-		// required on dev-/trystack
1584
-		'tenantName' => 'facebook100000123456789',
1585
-		// dev-/trystack uses swift by default, the lib defaults to 'cloudFiles'
1586
-		// if omitted
1587
-		'serviceName' => 'swift',
1588
-		// The Interface / url Type, optional
1589
-		'urlType' => 'internal'
1590
-	],
1564
+    'class' => 'OC\\Files\\ObjectStore\\Swift',
1565
+    'arguments' => [
1566
+        // trystack will use your facebook id as the username
1567
+        'username' => 'facebook100000123456789',
1568
+        // in the trystack dashboard go to user -> settings -> API Password to
1569
+        // generate a password
1570
+        'password' => 'Secr3tPaSSWoRdt7',
1571
+        // must already exist in the objectstore, name can be different
1572
+        'container' => 'nextcloud',
1573
+        // prefix to prepend to the fileid, default is 'oid:urn:'
1574
+        'objectPrefix' => 'oid:urn:',
1575
+        // create the container if it does not exist. default is false
1576
+        'autocreate' => true,
1577
+        // required, dev-/trystack defaults to 'RegionOne'
1578
+        'region' => 'RegionOne',
1579
+        // The Identity / Keystone endpoint
1580
+        'url' => 'http://8.21.28.222:5000/v2.0',
1581
+        // uploadPartSize: size of the uploaded chunks, defaults to 524288000
1582
+        'uploadPartSize' => 524288000,
1583
+        // required on dev-/trystack
1584
+        'tenantName' => 'facebook100000123456789',
1585
+        // dev-/trystack uses swift by default, the lib defaults to 'cloudFiles'
1586
+        // if omitted
1587
+        'serviceName' => 'swift',
1588
+        // The Interface / url Type, optional
1589
+        'urlType' => 'internal'
1590
+    ],
1591 1591
 ],
1592 1592
 
1593 1593
 /**
1594 1594
  * To use swift V3
1595 1595
  */
1596 1596
 'objectstore' => [
1597
-	'class' => 'OC\\Files\\ObjectStore\\Swift',
1598
-	'arguments' => [
1599
-		'autocreate' => true,
1600
-		'user' => [
1601
-			'name' => 'swift',
1602
-			'password' => 'swift',
1603
-			'domain' => [
1604
-				'name' => 'default',
1605
-			],
1606
-		],
1607
-		'scope' => [
1608
-			'project' => [
1609
-				'name' => 'service',
1610
-				'domain' => [
1611
-					'name' => 'default',
1612
-				],
1613
-			],
1614
-		],
1615
-		'tenantName' => 'service',
1616
-		'serviceName' => 'swift',
1617
-		'region' => 'regionOne',
1618
-		'url' => 'http://yourswifthost:5000/v3',
1619
-		'bucket' => 'nextcloud',
1620
-	],
1597
+    'class' => 'OC\\Files\\ObjectStore\\Swift',
1598
+    'arguments' => [
1599
+        'autocreate' => true,
1600
+        'user' => [
1601
+            'name' => 'swift',
1602
+            'password' => 'swift',
1603
+            'domain' => [
1604
+                'name' => 'default',
1605
+            ],
1606
+        ],
1607
+        'scope' => [
1608
+            'project' => [
1609
+                'name' => 'service',
1610
+                'domain' => [
1611
+                    'name' => 'default',
1612
+                ],
1613
+            ],
1614
+        ],
1615
+        'tenantName' => 'service',
1616
+        'serviceName' => 'swift',
1617
+        'region' => 'regionOne',
1618
+        'url' => 'http://yourswifthost:5000/v3',
1619
+        'bucket' => 'nextcloud',
1620
+    ],
1621 1621
 ],
1622 1622
 
1623 1623
 /**
@@ -1785,11 +1785,11 @@  discard block
 block discarded – undo
1785 1785
  * does not verify the server cert except --ssl-verify-server-cert is passed manually.
1786 1786
  */
1787 1787
 'dbdriveroptions' => [
1788
-	PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
1789
-	PDO::MYSQL_ATTR_SSL_KEY => '/file/path/to/mysql-client-key.pem',
1790
-	PDO::MYSQL_ATTR_SSL_CERT => '/file/path/to/mysql-client-cert.pem',
1791
-	PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT => false,
1792
-	PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800'
1788
+    PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
1789
+    PDO::MYSQL_ATTR_SSL_KEY => '/file/path/to/mysql-client-key.pem',
1790
+    PDO::MYSQL_ATTR_SSL_CERT => '/file/path/to/mysql-client-cert.pem',
1791
+    PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT => false,
1792
+    PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800'
1793 1793
 ],
1794 1794
 
1795 1795
 /**
@@ -1864,10 +1864,10 @@  discard block
 block discarded – undo
1864 1864
  *  - pgsql (PostgreSQL)
1865 1865
  */
1866 1866
 'supportedDatabases' => [
1867
-	'sqlite',
1868
-	'mysql',
1869
-	'pgsql',
1870
-	'oci',
1867
+    'sqlite',
1868
+    'mysql',
1869
+    'pgsql',
1870
+    'oci',
1871 1871
 ],
1872 1872
 
1873 1873
 /**
@@ -2207,8 +2207,8 @@  discard block
 block discarded – undo
2207 2207
  * WARNING: only use this if you know what you are doing
2208 2208
  */
2209 2209
 'csrf.optout' => [
2210
-	'/^WebDAVFS/', // OS X Finder
2211
-	'/^Microsoft-WebDAV-MiniRedir/', // Windows webdav drive
2210
+    '/^WebDAVFS/', // OS X Finder
2211
+    '/^Microsoft-WebDAV-MiniRedir/', // Windows webdav drive
2212 2212
 ],
2213 2213
 
2214 2214
 /**
Please login to merge, or discard this patch.