@@ -5,7 +5,7 @@ discard block |
||
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 |
||
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 | } |
@@ -11,13 +11,13 @@ discard block |
||
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 |
||
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 | ); |