@@ -72,10 +72,10 @@ |
||
72 | 72 | |
73 | 73 | foreach ($configuredEvents as $operationClass => $events) { |
74 | 74 | foreach ($events as $entityClass => $eventNames) { |
75 | - array_map(function (string $eventName) use ($manager, $container, $dispatcher, $logger, $operationClass, $entityClass) { |
|
75 | + array_map(function(string $eventName) use ($manager, $container, $dispatcher, $logger, $operationClass, $entityClass) { |
|
76 | 76 | $dispatcher->addListener( |
77 | 77 | $eventName, |
78 | - function ($event) use ($manager, $container, $eventName, $logger, $operationClass, $entityClass) { |
|
78 | + function($event) use ($manager, $container, $eventName, $logger, $operationClass, $entityClass) { |
|
79 | 79 | $ruleMatcher = $manager->getRuleMatcher(); |
80 | 80 | try { |
81 | 81 | /** @var IEntity $entity */ |
@@ -6,35 +6,35 @@ |
||
6 | 6 | $baseDir = $vendorDir; |
7 | 7 | |
8 | 8 | return array( |
9 | - 'OCA\\WorkflowEngine\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php', |
|
10 | - 'OCA\\WorkflowEngine\\BackgroundJobs\\Rotate' => $baseDir . '/../lib/BackgroundJobs/Rotate.php', |
|
11 | - 'OCA\\WorkflowEngine\\Check\\AbstractStringCheck' => $baseDir . '/../lib/Check/AbstractStringCheck.php', |
|
12 | - 'OCA\\WorkflowEngine\\Check\\FileMimeType' => $baseDir . '/../lib/Check/FileMimeType.php', |
|
13 | - 'OCA\\WorkflowEngine\\Check\\FileName' => $baseDir . '/../lib/Check/FileName.php', |
|
14 | - 'OCA\\WorkflowEngine\\Check\\FileSize' => $baseDir . '/../lib/Check/FileSize.php', |
|
15 | - 'OCA\\WorkflowEngine\\Check\\FileSystemTags' => $baseDir . '/../lib/Check/FileSystemTags.php', |
|
16 | - 'OCA\\WorkflowEngine\\Check\\RequestRemoteAddress' => $baseDir . '/../lib/Check/RequestRemoteAddress.php', |
|
17 | - 'OCA\\WorkflowEngine\\Check\\RequestTime' => $baseDir . '/../lib/Check/RequestTime.php', |
|
18 | - 'OCA\\WorkflowEngine\\Check\\RequestURL' => $baseDir . '/../lib/Check/RequestURL.php', |
|
19 | - 'OCA\\WorkflowEngine\\Check\\RequestUserAgent' => $baseDir . '/../lib/Check/RequestUserAgent.php', |
|
20 | - 'OCA\\WorkflowEngine\\Check\\TFileCheck' => $baseDir . '/../lib/Check/TFileCheck.php', |
|
21 | - 'OCA\\WorkflowEngine\\Check\\UserGroupMembership' => $baseDir . '/../lib/Check/UserGroupMembership.php', |
|
22 | - 'OCA\\WorkflowEngine\\Command\\Index' => $baseDir . '/../lib/Command/Index.php', |
|
23 | - 'OCA\\WorkflowEngine\\Controller\\AWorkflowController' => $baseDir . '/../lib/Controller/AWorkflowController.php', |
|
24 | - 'OCA\\WorkflowEngine\\Controller\\GlobalWorkflowsController' => $baseDir . '/../lib/Controller/GlobalWorkflowsController.php', |
|
25 | - 'OCA\\WorkflowEngine\\Controller\\RequestTime' => $baseDir . '/../lib/Controller/RequestTime.php', |
|
26 | - 'OCA\\WorkflowEngine\\Controller\\UserWorkflowsController' => $baseDir . '/../lib/Controller/UserWorkflowsController.php', |
|
27 | - 'OCA\\WorkflowEngine\\Entity\\File' => $baseDir . '/../lib/Entity/File.php', |
|
28 | - 'OCA\\WorkflowEngine\\Helper\\LogContext' => $baseDir . '/../lib/Helper/LogContext.php', |
|
29 | - 'OCA\\WorkflowEngine\\Helper\\ScopeContext' => $baseDir . '/../lib/Helper/ScopeContext.php', |
|
30 | - 'OCA\\WorkflowEngine\\Listener\\LoadAdditionalSettingsScriptsListener' => $baseDir . '/../lib/Listener/LoadAdditionalSettingsScriptsListener.php', |
|
31 | - 'OCA\\WorkflowEngine\\Manager' => $baseDir . '/../lib/Manager.php', |
|
32 | - 'OCA\\WorkflowEngine\\Migration\\PopulateNewlyIntroducedDatabaseFields' => $baseDir . '/../lib/Migration/PopulateNewlyIntroducedDatabaseFields.php', |
|
33 | - 'OCA\\WorkflowEngine\\Migration\\Version2000Date20190808074233' => $baseDir . '/../lib/Migration/Version2000Date20190808074233.php', |
|
34 | - 'OCA\\WorkflowEngine\\Service\\Logger' => $baseDir . '/../lib/Service/Logger.php', |
|
35 | - 'OCA\\WorkflowEngine\\Service\\RuleMatcher' => $baseDir . '/../lib/Service/RuleMatcher.php', |
|
36 | - 'OCA\\WorkflowEngine\\Settings\\ASettings' => $baseDir . '/../lib/Settings/ASettings.php', |
|
37 | - 'OCA\\WorkflowEngine\\Settings\\Admin' => $baseDir . '/../lib/Settings/Admin.php', |
|
38 | - 'OCA\\WorkflowEngine\\Settings\\Personal' => $baseDir . '/../lib/Settings/Personal.php', |
|
39 | - 'OCA\\WorkflowEngine\\Settings\\Section' => $baseDir . '/../lib/Settings/Section.php', |
|
9 | + 'OCA\\WorkflowEngine\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php', |
|
10 | + 'OCA\\WorkflowEngine\\BackgroundJobs\\Rotate' => $baseDir.'/../lib/BackgroundJobs/Rotate.php', |
|
11 | + 'OCA\\WorkflowEngine\\Check\\AbstractStringCheck' => $baseDir.'/../lib/Check/AbstractStringCheck.php', |
|
12 | + 'OCA\\WorkflowEngine\\Check\\FileMimeType' => $baseDir.'/../lib/Check/FileMimeType.php', |
|
13 | + 'OCA\\WorkflowEngine\\Check\\FileName' => $baseDir.'/../lib/Check/FileName.php', |
|
14 | + 'OCA\\WorkflowEngine\\Check\\FileSize' => $baseDir.'/../lib/Check/FileSize.php', |
|
15 | + 'OCA\\WorkflowEngine\\Check\\FileSystemTags' => $baseDir.'/../lib/Check/FileSystemTags.php', |
|
16 | + 'OCA\\WorkflowEngine\\Check\\RequestRemoteAddress' => $baseDir.'/../lib/Check/RequestRemoteAddress.php', |
|
17 | + 'OCA\\WorkflowEngine\\Check\\RequestTime' => $baseDir.'/../lib/Check/RequestTime.php', |
|
18 | + 'OCA\\WorkflowEngine\\Check\\RequestURL' => $baseDir.'/../lib/Check/RequestURL.php', |
|
19 | + 'OCA\\WorkflowEngine\\Check\\RequestUserAgent' => $baseDir.'/../lib/Check/RequestUserAgent.php', |
|
20 | + 'OCA\\WorkflowEngine\\Check\\TFileCheck' => $baseDir.'/../lib/Check/TFileCheck.php', |
|
21 | + 'OCA\\WorkflowEngine\\Check\\UserGroupMembership' => $baseDir.'/../lib/Check/UserGroupMembership.php', |
|
22 | + 'OCA\\WorkflowEngine\\Command\\Index' => $baseDir.'/../lib/Command/Index.php', |
|
23 | + 'OCA\\WorkflowEngine\\Controller\\AWorkflowController' => $baseDir.'/../lib/Controller/AWorkflowController.php', |
|
24 | + 'OCA\\WorkflowEngine\\Controller\\GlobalWorkflowsController' => $baseDir.'/../lib/Controller/GlobalWorkflowsController.php', |
|
25 | + 'OCA\\WorkflowEngine\\Controller\\RequestTime' => $baseDir.'/../lib/Controller/RequestTime.php', |
|
26 | + 'OCA\\WorkflowEngine\\Controller\\UserWorkflowsController' => $baseDir.'/../lib/Controller/UserWorkflowsController.php', |
|
27 | + 'OCA\\WorkflowEngine\\Entity\\File' => $baseDir.'/../lib/Entity/File.php', |
|
28 | + 'OCA\\WorkflowEngine\\Helper\\LogContext' => $baseDir.'/../lib/Helper/LogContext.php', |
|
29 | + 'OCA\\WorkflowEngine\\Helper\\ScopeContext' => $baseDir.'/../lib/Helper/ScopeContext.php', |
|
30 | + 'OCA\\WorkflowEngine\\Listener\\LoadAdditionalSettingsScriptsListener' => $baseDir.'/../lib/Listener/LoadAdditionalSettingsScriptsListener.php', |
|
31 | + 'OCA\\WorkflowEngine\\Manager' => $baseDir.'/../lib/Manager.php', |
|
32 | + 'OCA\\WorkflowEngine\\Migration\\PopulateNewlyIntroducedDatabaseFields' => $baseDir.'/../lib/Migration/PopulateNewlyIntroducedDatabaseFields.php', |
|
33 | + 'OCA\\WorkflowEngine\\Migration\\Version2000Date20190808074233' => $baseDir.'/../lib/Migration/Version2000Date20190808074233.php', |
|
34 | + 'OCA\\WorkflowEngine\\Service\\Logger' => $baseDir.'/../lib/Service/Logger.php', |
|
35 | + 'OCA\\WorkflowEngine\\Service\\RuleMatcher' => $baseDir.'/../lib/Service/RuleMatcher.php', |
|
36 | + 'OCA\\WorkflowEngine\\Settings\\ASettings' => $baseDir.'/../lib/Settings/ASettings.php', |
|
37 | + 'OCA\\WorkflowEngine\\Settings\\Admin' => $baseDir.'/../lib/Settings/Admin.php', |
|
38 | + 'OCA\\WorkflowEngine\\Settings\\Personal' => $baseDir.'/../lib/Settings/Personal.php', |
|
39 | + 'OCA\\WorkflowEngine\\Settings\\Section' => $baseDir.'/../lib/Settings/Section.php', |
|
40 | 40 | ); |
@@ -6,57 +6,57 @@ |
||
6 | 6 | |
7 | 7 | class ComposerStaticInitWorkflowEngine |
8 | 8 | { |
9 | - public static $prefixLengthsPsr4 = array ( |
|
9 | + public static $prefixLengthsPsr4 = array( |
|
10 | 10 | 'O' => |
11 | - array ( |
|
11 | + array( |
|
12 | 12 | 'OCA\\WorkflowEngine\\' => 19, |
13 | 13 | ), |
14 | 14 | ); |
15 | 15 | |
16 | - public static $prefixDirsPsr4 = array ( |
|
16 | + public static $prefixDirsPsr4 = array( |
|
17 | 17 | 'OCA\\WorkflowEngine\\' => |
18 | - array ( |
|
19 | - 0 => __DIR__ . '/..' . '/../lib', |
|
18 | + array( |
|
19 | + 0 => __DIR__.'/..'.'/../lib', |
|
20 | 20 | ), |
21 | 21 | ); |
22 | 22 | |
23 | - public static $classMap = array ( |
|
24 | - 'OCA\\WorkflowEngine\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php', |
|
25 | - 'OCA\\WorkflowEngine\\BackgroundJobs\\Rotate' => __DIR__ . '/..' . '/../lib/BackgroundJobs/Rotate.php', |
|
26 | - 'OCA\\WorkflowEngine\\Check\\AbstractStringCheck' => __DIR__ . '/..' . '/../lib/Check/AbstractStringCheck.php', |
|
27 | - 'OCA\\WorkflowEngine\\Check\\FileMimeType' => __DIR__ . '/..' . '/../lib/Check/FileMimeType.php', |
|
28 | - 'OCA\\WorkflowEngine\\Check\\FileName' => __DIR__ . '/..' . '/../lib/Check/FileName.php', |
|
29 | - 'OCA\\WorkflowEngine\\Check\\FileSize' => __DIR__ . '/..' . '/../lib/Check/FileSize.php', |
|
30 | - 'OCA\\WorkflowEngine\\Check\\FileSystemTags' => __DIR__ . '/..' . '/../lib/Check/FileSystemTags.php', |
|
31 | - 'OCA\\WorkflowEngine\\Check\\RequestRemoteAddress' => __DIR__ . '/..' . '/../lib/Check/RequestRemoteAddress.php', |
|
32 | - 'OCA\\WorkflowEngine\\Check\\RequestTime' => __DIR__ . '/..' . '/../lib/Check/RequestTime.php', |
|
33 | - 'OCA\\WorkflowEngine\\Check\\RequestURL' => __DIR__ . '/..' . '/../lib/Check/RequestURL.php', |
|
34 | - 'OCA\\WorkflowEngine\\Check\\RequestUserAgent' => __DIR__ . '/..' . '/../lib/Check/RequestUserAgent.php', |
|
35 | - 'OCA\\WorkflowEngine\\Check\\TFileCheck' => __DIR__ . '/..' . '/../lib/Check/TFileCheck.php', |
|
36 | - 'OCA\\WorkflowEngine\\Check\\UserGroupMembership' => __DIR__ . '/..' . '/../lib/Check/UserGroupMembership.php', |
|
37 | - 'OCA\\WorkflowEngine\\Command\\Index' => __DIR__ . '/..' . '/../lib/Command/Index.php', |
|
38 | - 'OCA\\WorkflowEngine\\Controller\\AWorkflowController' => __DIR__ . '/..' . '/../lib/Controller/AWorkflowController.php', |
|
39 | - 'OCA\\WorkflowEngine\\Controller\\GlobalWorkflowsController' => __DIR__ . '/..' . '/../lib/Controller/GlobalWorkflowsController.php', |
|
40 | - 'OCA\\WorkflowEngine\\Controller\\RequestTime' => __DIR__ . '/..' . '/../lib/Controller/RequestTime.php', |
|
41 | - 'OCA\\WorkflowEngine\\Controller\\UserWorkflowsController' => __DIR__ . '/..' . '/../lib/Controller/UserWorkflowsController.php', |
|
42 | - 'OCA\\WorkflowEngine\\Entity\\File' => __DIR__ . '/..' . '/../lib/Entity/File.php', |
|
43 | - 'OCA\\WorkflowEngine\\Helper\\LogContext' => __DIR__ . '/..' . '/../lib/Helper/LogContext.php', |
|
44 | - 'OCA\\WorkflowEngine\\Helper\\ScopeContext' => __DIR__ . '/..' . '/../lib/Helper/ScopeContext.php', |
|
45 | - 'OCA\\WorkflowEngine\\Listener\\LoadAdditionalSettingsScriptsListener' => __DIR__ . '/..' . '/../lib/Listener/LoadAdditionalSettingsScriptsListener.php', |
|
46 | - 'OCA\\WorkflowEngine\\Manager' => __DIR__ . '/..' . '/../lib/Manager.php', |
|
47 | - 'OCA\\WorkflowEngine\\Migration\\PopulateNewlyIntroducedDatabaseFields' => __DIR__ . '/..' . '/../lib/Migration/PopulateNewlyIntroducedDatabaseFields.php', |
|
48 | - 'OCA\\WorkflowEngine\\Migration\\Version2000Date20190808074233' => __DIR__ . '/..' . '/../lib/Migration/Version2000Date20190808074233.php', |
|
49 | - 'OCA\\WorkflowEngine\\Service\\Logger' => __DIR__ . '/..' . '/../lib/Service/Logger.php', |
|
50 | - 'OCA\\WorkflowEngine\\Service\\RuleMatcher' => __DIR__ . '/..' . '/../lib/Service/RuleMatcher.php', |
|
51 | - 'OCA\\WorkflowEngine\\Settings\\ASettings' => __DIR__ . '/..' . '/../lib/Settings/ASettings.php', |
|
52 | - 'OCA\\WorkflowEngine\\Settings\\Admin' => __DIR__ . '/..' . '/../lib/Settings/Admin.php', |
|
53 | - 'OCA\\WorkflowEngine\\Settings\\Personal' => __DIR__ . '/..' . '/../lib/Settings/Personal.php', |
|
54 | - 'OCA\\WorkflowEngine\\Settings\\Section' => __DIR__ . '/..' . '/../lib/Settings/Section.php', |
|
23 | + public static $classMap = array( |
|
24 | + 'OCA\\WorkflowEngine\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php', |
|
25 | + 'OCA\\WorkflowEngine\\BackgroundJobs\\Rotate' => __DIR__.'/..'.'/../lib/BackgroundJobs/Rotate.php', |
|
26 | + 'OCA\\WorkflowEngine\\Check\\AbstractStringCheck' => __DIR__.'/..'.'/../lib/Check/AbstractStringCheck.php', |
|
27 | + 'OCA\\WorkflowEngine\\Check\\FileMimeType' => __DIR__.'/..'.'/../lib/Check/FileMimeType.php', |
|
28 | + 'OCA\\WorkflowEngine\\Check\\FileName' => __DIR__.'/..'.'/../lib/Check/FileName.php', |
|
29 | + 'OCA\\WorkflowEngine\\Check\\FileSize' => __DIR__.'/..'.'/../lib/Check/FileSize.php', |
|
30 | + 'OCA\\WorkflowEngine\\Check\\FileSystemTags' => __DIR__.'/..'.'/../lib/Check/FileSystemTags.php', |
|
31 | + 'OCA\\WorkflowEngine\\Check\\RequestRemoteAddress' => __DIR__.'/..'.'/../lib/Check/RequestRemoteAddress.php', |
|
32 | + 'OCA\\WorkflowEngine\\Check\\RequestTime' => __DIR__.'/..'.'/../lib/Check/RequestTime.php', |
|
33 | + 'OCA\\WorkflowEngine\\Check\\RequestURL' => __DIR__.'/..'.'/../lib/Check/RequestURL.php', |
|
34 | + 'OCA\\WorkflowEngine\\Check\\RequestUserAgent' => __DIR__.'/..'.'/../lib/Check/RequestUserAgent.php', |
|
35 | + 'OCA\\WorkflowEngine\\Check\\TFileCheck' => __DIR__.'/..'.'/../lib/Check/TFileCheck.php', |
|
36 | + 'OCA\\WorkflowEngine\\Check\\UserGroupMembership' => __DIR__.'/..'.'/../lib/Check/UserGroupMembership.php', |
|
37 | + 'OCA\\WorkflowEngine\\Command\\Index' => __DIR__.'/..'.'/../lib/Command/Index.php', |
|
38 | + 'OCA\\WorkflowEngine\\Controller\\AWorkflowController' => __DIR__.'/..'.'/../lib/Controller/AWorkflowController.php', |
|
39 | + 'OCA\\WorkflowEngine\\Controller\\GlobalWorkflowsController' => __DIR__.'/..'.'/../lib/Controller/GlobalWorkflowsController.php', |
|
40 | + 'OCA\\WorkflowEngine\\Controller\\RequestTime' => __DIR__.'/..'.'/../lib/Controller/RequestTime.php', |
|
41 | + 'OCA\\WorkflowEngine\\Controller\\UserWorkflowsController' => __DIR__.'/..'.'/../lib/Controller/UserWorkflowsController.php', |
|
42 | + 'OCA\\WorkflowEngine\\Entity\\File' => __DIR__.'/..'.'/../lib/Entity/File.php', |
|
43 | + 'OCA\\WorkflowEngine\\Helper\\LogContext' => __DIR__.'/..'.'/../lib/Helper/LogContext.php', |
|
44 | + 'OCA\\WorkflowEngine\\Helper\\ScopeContext' => __DIR__.'/..'.'/../lib/Helper/ScopeContext.php', |
|
45 | + 'OCA\\WorkflowEngine\\Listener\\LoadAdditionalSettingsScriptsListener' => __DIR__.'/..'.'/../lib/Listener/LoadAdditionalSettingsScriptsListener.php', |
|
46 | + 'OCA\\WorkflowEngine\\Manager' => __DIR__.'/..'.'/../lib/Manager.php', |
|
47 | + 'OCA\\WorkflowEngine\\Migration\\PopulateNewlyIntroducedDatabaseFields' => __DIR__.'/..'.'/../lib/Migration/PopulateNewlyIntroducedDatabaseFields.php', |
|
48 | + 'OCA\\WorkflowEngine\\Migration\\Version2000Date20190808074233' => __DIR__.'/..'.'/../lib/Migration/Version2000Date20190808074233.php', |
|
49 | + 'OCA\\WorkflowEngine\\Service\\Logger' => __DIR__.'/..'.'/../lib/Service/Logger.php', |
|
50 | + 'OCA\\WorkflowEngine\\Service\\RuleMatcher' => __DIR__.'/..'.'/../lib/Service/RuleMatcher.php', |
|
51 | + 'OCA\\WorkflowEngine\\Settings\\ASettings' => __DIR__.'/..'.'/../lib/Settings/ASettings.php', |
|
52 | + 'OCA\\WorkflowEngine\\Settings\\Admin' => __DIR__.'/..'.'/../lib/Settings/Admin.php', |
|
53 | + 'OCA\\WorkflowEngine\\Settings\\Personal' => __DIR__.'/..'.'/../lib/Settings/Personal.php', |
|
54 | + 'OCA\\WorkflowEngine\\Settings\\Section' => __DIR__.'/..'.'/../lib/Settings/Section.php', |
|
55 | 55 | ); |
56 | 56 | |
57 | 57 | public static function getInitializer(ClassLoader $loader) |
58 | 58 | { |
59 | - return \Closure::bind(function () use ($loader) { |
|
59 | + return \Closure::bind(function() use ($loader) { |
|
60 | 60 | $loader->prefixLengthsPsr4 = ComposerStaticInitWorkflowEngine::$prefixLengthsPsr4; |
61 | 61 | $loader->prefixDirsPsr4 = ComposerStaticInitWorkflowEngine::$prefixDirsPsr4; |
62 | 62 | $loader->classMap = ComposerStaticInitWorkflowEngine::$classMap; |