Passed
Push — master ( d7bd76...0c5eba )
by Christoph
16:35 queued 15s
created

ComposerStaticInitWeatherStatus   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 20
c 1
b 0
f 0
dl 0
loc 32
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getInitializer() 0 8 1
1
<?php
2
3
// autoload_static.php @generated by Composer
4
5
namespace Composer\Autoload;
6
7
class ComposerStaticInitWeatherStatus
8
{
9
    public static $prefixLengthsPsr4 = array (
10
        'O' => 
11
        array (
12
            'OCA\\WeatherStatus\\' => 18,
13
        ),
14
    );
15
16
    public static $prefixDirsPsr4 = array (
17
        'OCA\\WeatherStatus\\' => 
18
        array (
19
            0 => __DIR__ . '/..' . '/../lib',
20
        ),
21
    );
22
23
    public static $classMap = array (
24
        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
25
        'OCA\\WeatherStatus\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
26
        'OCA\\WeatherStatus\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php',
27
        'OCA\\WeatherStatus\\Controller\\WeatherStatusController' => __DIR__ . '/..' . '/../lib/Controller/WeatherStatusController.php',
28
        'OCA\\WeatherStatus\\Service\\WeatherStatusService' => __DIR__ . '/..' . '/../lib/Service/WeatherStatusService.php',
29
    );
30
31
    public static function getInitializer(ClassLoader $loader)
32
    {
33
        return \Closure::bind(function () use ($loader) {
34
            $loader->prefixLengthsPsr4 = ComposerStaticInitWeatherStatus::$prefixLengthsPsr4;
0 ignored issues
show
Bug introduced by
The property prefixLengthsPsr4 is declared private in Composer\Autoload\ClassLoader and cannot be accessed from this context.
Loading history...
35
            $loader->prefixDirsPsr4 = ComposerStaticInitWeatherStatus::$prefixDirsPsr4;
0 ignored issues
show
Bug introduced by
The property prefixDirsPsr4 is declared private in Composer\Autoload\ClassLoader and cannot be accessed from this context.
Loading history...
36
            $loader->classMap = ComposerStaticInitWeatherStatus::$classMap;
0 ignored issues
show
Bug introduced by
The property classMap is declared private in Composer\Autoload\ClassLoader and cannot be accessed from this context.
Loading history...
37
38
        }, null, ClassLoader::class);
39
    }
40
}
41