Completed
Push — master ( 04118a...4b9fe8 )
by Joas
30:05 queued 14s
created
tests/enable_all.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * SPDX-License-Identifier: AGPL-3.0-or-later
6 6
  */
7 7
 
8
-require_once __DIR__ . '/../lib/base.php';
8
+require_once __DIR__.'/../lib/base.php';
9 9
 
10 10
 function enableApp($app) {
11 11
 	try {
@@ -15,11 +15,11 @@  discard block
 block discarded – undo
15 15
 	}
16 16
 }
17 17
 
18
-foreach (new \DirectoryIterator(__DIR__ . '/../apps/') as $file) {
18
+foreach (new \DirectoryIterator(__DIR__.'/../apps/') as $file) {
19 19
 	if ($file->isDot()) {
20 20
 		continue;
21 21
 	}
22
-	if (!file_exists($file->getPathname() . '/.git')) {
22
+	if (!file_exists($file->getPathname().'/.git')) {
23 23
 		enableApp($file->getFilename());
24 24
 	}
25 25
 }
Please login to merge, or discard this patch.
tests/bootstrap.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@  discard block
 block discarded – undo
11 11
 	define('PHPUNIT_CONFIG_DIR', $configDir);
12 12
 }
13 13
 
14
-require_once __DIR__ . '/../lib/base.php';
15
-require_once __DIR__ . '/autoload.php';
14
+require_once __DIR__.'/../lib/base.php';
15
+require_once __DIR__.'/autoload.php';
16 16
 
17
-\OC::$composerAutoloader->addPsr4('Tests\\', OC::$SERVERROOT . '/tests/', true);
17
+\OC::$composerAutoloader->addPsr4('Tests\\', OC::$SERVERROOT.'/tests/', true);
18 18
 
19 19
 // load all apps
20
-foreach (new \DirectoryIterator(__DIR__ . '/../apps/') as $file) {
20
+foreach (new \DirectoryIterator(__DIR__.'/../apps/') as $file) {
21 21
 	if ($file->isDot()) {
22 22
 		continue;
23 23
 	}
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 OC_Hook::clear();
28 28
 
29 29
 set_include_path(
30
-	get_include_path() . PATH_SEPARATOR
31
-	. '/usr/share/php' . PATH_SEPARATOR
32
-	. __DIR__ . '/..'
30
+	get_include_path().PATH_SEPARATOR
31
+	. '/usr/share/php'.PATH_SEPARATOR
32
+	. __DIR__.'/..'
33 33
 );
Please login to merge, or discard this patch.