Code Duplication    Length = 35-35 lines in 2 locations

apps/testing/composer/composer/autoload_static.php 1 location

@@ 7-41 (lines=35) @@
4
5
namespace Composer\Autoload;
6
7
class ComposerStaticInitTesting
8
{
9
    public static $prefixLengthsPsr4 = array (
10
        'O' => 
11
        array (
12
            'OCA\\Testing\\' => 12,
13
        ),
14
    );
15
16
    public static $prefixDirsPsr4 = array (
17
        'OCA\\Testing\\' => 
18
        array (
19
            0 => __DIR__ . '/..' . '/../lib',
20
        ),
21
    );
22
23
    public static $classMap = array (
24
        'OCA\\Testing\\AlternativeHomeUserBackend' => __DIR__ . '/..' . '/../lib/AlternativeHomeUserBackend.php',
25
        'OCA\\Testing\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
26
        'OCA\\Testing\\Controller\\ConfigController' => __DIR__ . '/..' . '/../lib/Controller/ConfigController.php',
27
        'OCA\\Testing\\Controller\\LockingController' => __DIR__ . '/..' . '/../lib/Controller/LockingController.php',
28
        'OCA\\Testing\\Controller\\RateLimitTestController' => __DIR__ . '/..' . '/../lib/Controller/RateLimitTestController.php',
29
        'OCA\\Testing\\Locking\\FakeDBLockingProvider' => __DIR__ . '/..' . '/../lib/Locking/FakeDBLockingProvider.php',
30
    );
31
32
    public static function getInitializer(ClassLoader $loader)
33
    {
34
        return \Closure::bind(function () use ($loader) {
35
            $loader->prefixLengthsPsr4 = ComposerStaticInitTesting::$prefixLengthsPsr4;
36
            $loader->prefixDirsPsr4 = ComposerStaticInitTesting::$prefixDirsPsr4;
37
            $loader->classMap = ComposerStaticInitTesting::$classMap;
38
39
        }, null, ClassLoader::class);
40
    }
41
}
42

apps/updatenotification/composer/composer/autoload_static.php 1 location

@@ 7-41 (lines=35) @@
4
5
namespace Composer\Autoload;
6
7
class ComposerStaticInitUpdateNotification
8
{
9
    public static $prefixLengthsPsr4 = array (
10
        'O' => 
11
        array (
12
            'OCA\\UpdateNotification\\' => 23,
13
        ),
14
    );
15
16
    public static $prefixDirsPsr4 = array (
17
        'OCA\\UpdateNotification\\' => 
18
        array (
19
            0 => __DIR__ . '/..' . '/../lib',
20
        ),
21
    );
22
23
    public static $classMap = array (
24
        'OCA\\UpdateNotification\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
25
        'OCA\\UpdateNotification\\Controller\\AdminController' => __DIR__ . '/..' . '/../lib/Controller/AdminController.php',
26
        'OCA\\UpdateNotification\\Notification\\BackgroundJob' => __DIR__ . '/..' . '/../lib/Notification/BackgroundJob.php',
27
        'OCA\\UpdateNotification\\Notification\\Notifier' => __DIR__ . '/..' . '/../lib/Notification/Notifier.php',
28
        'OCA\\UpdateNotification\\ResetTokenBackgroundJob' => __DIR__ . '/..' . '/../lib/ResetTokenBackgroundJob.php',
29
        'OCA\\UpdateNotification\\UpdateChecker' => __DIR__ . '/..' . '/../lib/UpdateChecker.php',
30
    );
31
32
    public static function getInitializer(ClassLoader $loader)
33
    {
34
        return \Closure::bind(function () use ($loader) {
35
            $loader->prefixLengthsPsr4 = ComposerStaticInitUpdateNotification::$prefixLengthsPsr4;
36
            $loader->prefixDirsPsr4 = ComposerStaticInitUpdateNotification::$prefixDirsPsr4;
37
            $loader->classMap = ComposerStaticInitUpdateNotification::$classMap;
38
39
        }, null, ClassLoader::class);
40
    }
41
}
42