@@ -2,6 +2,6 @@ |
||
2 | 2 | |
3 | 3 | // autoload.php @generated by Composer |
4 | 4 | |
5 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
5 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
6 | 6 | |
7 | 7 | return ComposerAutoloaderInitEncryption::getLoader(); |
@@ -2,6 +2,6 @@ |
||
2 | 2 | |
3 | 3 | // autoload.php @generated by Composer |
4 | 4 | |
5 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
5 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
6 | 6 | |
7 | 7 | return ComposerAutoloaderInitFiles_Sharing::getLoader(); |
@@ -6,5 +6,5 @@ |
||
6 | 6 | $baseDir = $vendorDir; |
7 | 7 | |
8 | 8 | return array( |
9 | - 'OCA\\FederatedFileSharing\\' => array($baseDir . '/../lib'), |
|
9 | + 'OCA\\FederatedFileSharing\\' => array($baseDir.'/../lib'), |
|
10 | 10 | ); |
@@ -2,6 +2,6 @@ |
||
2 | 2 | |
3 | 3 | // autoload.php @generated by Composer |
4 | 4 | |
5 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
5 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
6 | 6 | |
7 | 7 | return ComposerAutoloaderInitFederatedFileSharing::getLoader(); |
@@ -6,5 +6,5 @@ |
||
6 | 6 | $baseDir = $vendorDir; |
7 | 7 | |
8 | 8 | return array( |
9 | - 'OCA\\Federation\\' => array($baseDir . '/../lib'), |
|
9 | + 'OCA\\Federation\\' => array($baseDir.'/../lib'), |
|
10 | 10 | ); |
@@ -6,18 +6,18 @@ |
||
6 | 6 | $baseDir = $vendorDir; |
7 | 7 | |
8 | 8 | return array( |
9 | - 'OCA\\Federation\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php', |
|
10 | - 'OCA\\Federation\\BackgroundJob\\GetSharedSecret' => $baseDir . '/../lib/BackgroundJob/GetSharedSecret.php', |
|
11 | - 'OCA\\Federation\\BackgroundJob\\RequestSharedSecret' => $baseDir . '/../lib/BackgroundJob/RequestSharedSecret.php', |
|
12 | - 'OCA\\Federation\\Command\\SyncFederationAddressBooks' => $baseDir . '/../lib/Command/SyncFederationAddressBooks.php', |
|
13 | - 'OCA\\Federation\\Controller\\OCSAuthAPIController' => $baseDir . '/../lib/Controller/OCSAuthAPIController.php', |
|
14 | - 'OCA\\Federation\\Controller\\SettingsController' => $baseDir . '/../lib/Controller/SettingsController.php', |
|
15 | - 'OCA\\Federation\\DAV\\FedAuth' => $baseDir . '/../lib/DAV/FedAuth.php', |
|
16 | - 'OCA\\Federation\\DbHandler' => $baseDir . '/../lib/DbHandler.php', |
|
17 | - 'OCA\\Federation\\Hooks' => $baseDir . '/../lib/Hooks.php', |
|
18 | - 'OCA\\Federation\\Middleware\\AddServerMiddleware' => $baseDir . '/../lib/Middleware/AddServerMiddleware.php', |
|
19 | - 'OCA\\Federation\\Settings\\Admin' => $baseDir . '/../lib/Settings/Admin.php', |
|
20 | - 'OCA\\Federation\\SyncFederationAddressBooks' => $baseDir . '/../lib/SyncFederationAddressBooks.php', |
|
21 | - 'OCA\\Federation\\SyncJob' => $baseDir . '/../lib/SyncJob.php', |
|
22 | - 'OCA\\Federation\\TrustedServers' => $baseDir . '/../lib/TrustedServers.php', |
|
9 | + 'OCA\\Federation\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php', |
|
10 | + 'OCA\\Federation\\BackgroundJob\\GetSharedSecret' => $baseDir.'/../lib/BackgroundJob/GetSharedSecret.php', |
|
11 | + 'OCA\\Federation\\BackgroundJob\\RequestSharedSecret' => $baseDir.'/../lib/BackgroundJob/RequestSharedSecret.php', |
|
12 | + 'OCA\\Federation\\Command\\SyncFederationAddressBooks' => $baseDir.'/../lib/Command/SyncFederationAddressBooks.php', |
|
13 | + 'OCA\\Federation\\Controller\\OCSAuthAPIController' => $baseDir.'/../lib/Controller/OCSAuthAPIController.php', |
|
14 | + 'OCA\\Federation\\Controller\\SettingsController' => $baseDir.'/../lib/Controller/SettingsController.php', |
|
15 | + 'OCA\\Federation\\DAV\\FedAuth' => $baseDir.'/../lib/DAV/FedAuth.php', |
|
16 | + 'OCA\\Federation\\DbHandler' => $baseDir.'/../lib/DbHandler.php', |
|
17 | + 'OCA\\Federation\\Hooks' => $baseDir.'/../lib/Hooks.php', |
|
18 | + 'OCA\\Federation\\Middleware\\AddServerMiddleware' => $baseDir.'/../lib/Middleware/AddServerMiddleware.php', |
|
19 | + 'OCA\\Federation\\Settings\\Admin' => $baseDir.'/../lib/Settings/Admin.php', |
|
20 | + 'OCA\\Federation\\SyncFederationAddressBooks' => $baseDir.'/../lib/SyncFederationAddressBooks.php', |
|
21 | + 'OCA\\Federation\\SyncJob' => $baseDir.'/../lib/SyncJob.php', |
|
22 | + 'OCA\\Federation\\TrustedServers' => $baseDir.'/../lib/TrustedServers.php', |
|
23 | 23 | ); |
@@ -6,40 +6,40 @@ |
||
6 | 6 | |
7 | 7 | class ComposerStaticInitFederation |
8 | 8 | { |
9 | - public static $prefixLengthsPsr4 = array ( |
|
9 | + public static $prefixLengthsPsr4 = array( |
|
10 | 10 | 'O' => |
11 | - array ( |
|
11 | + array( |
|
12 | 12 | 'OCA\\Federation\\' => 15, |
13 | 13 | ), |
14 | 14 | ); |
15 | 15 | |
16 | - public static $prefixDirsPsr4 = array ( |
|
16 | + public static $prefixDirsPsr4 = array( |
|
17 | 17 | 'OCA\\Federation\\' => |
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\\Federation\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php', |
|
25 | - 'OCA\\Federation\\BackgroundJob\\GetSharedSecret' => __DIR__ . '/..' . '/../lib/BackgroundJob/GetSharedSecret.php', |
|
26 | - 'OCA\\Federation\\BackgroundJob\\RequestSharedSecret' => __DIR__ . '/..' . '/../lib/BackgroundJob/RequestSharedSecret.php', |
|
27 | - 'OCA\\Federation\\Command\\SyncFederationAddressBooks' => __DIR__ . '/..' . '/../lib/Command/SyncFederationAddressBooks.php', |
|
28 | - 'OCA\\Federation\\Controller\\OCSAuthAPIController' => __DIR__ . '/..' . '/../lib/Controller/OCSAuthAPIController.php', |
|
29 | - 'OCA\\Federation\\Controller\\SettingsController' => __DIR__ . '/..' . '/../lib/Controller/SettingsController.php', |
|
30 | - 'OCA\\Federation\\DAV\\FedAuth' => __DIR__ . '/..' . '/../lib/DAV/FedAuth.php', |
|
31 | - 'OCA\\Federation\\DbHandler' => __DIR__ . '/..' . '/../lib/DbHandler.php', |
|
32 | - 'OCA\\Federation\\Hooks' => __DIR__ . '/..' . '/../lib/Hooks.php', |
|
33 | - 'OCA\\Federation\\Middleware\\AddServerMiddleware' => __DIR__ . '/..' . '/../lib/Middleware/AddServerMiddleware.php', |
|
34 | - 'OCA\\Federation\\Settings\\Admin' => __DIR__ . '/..' . '/../lib/Settings/Admin.php', |
|
35 | - 'OCA\\Federation\\SyncFederationAddressBooks' => __DIR__ . '/..' . '/../lib/SyncFederationAddressBooks.php', |
|
36 | - 'OCA\\Federation\\SyncJob' => __DIR__ . '/..' . '/../lib/SyncJob.php', |
|
37 | - 'OCA\\Federation\\TrustedServers' => __DIR__ . '/..' . '/../lib/TrustedServers.php', |
|
23 | + public static $classMap = array( |
|
24 | + 'OCA\\Federation\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php', |
|
25 | + 'OCA\\Federation\\BackgroundJob\\GetSharedSecret' => __DIR__.'/..'.'/../lib/BackgroundJob/GetSharedSecret.php', |
|
26 | + 'OCA\\Federation\\BackgroundJob\\RequestSharedSecret' => __DIR__.'/..'.'/../lib/BackgroundJob/RequestSharedSecret.php', |
|
27 | + 'OCA\\Federation\\Command\\SyncFederationAddressBooks' => __DIR__.'/..'.'/../lib/Command/SyncFederationAddressBooks.php', |
|
28 | + 'OCA\\Federation\\Controller\\OCSAuthAPIController' => __DIR__.'/..'.'/../lib/Controller/OCSAuthAPIController.php', |
|
29 | + 'OCA\\Federation\\Controller\\SettingsController' => __DIR__.'/..'.'/../lib/Controller/SettingsController.php', |
|
30 | + 'OCA\\Federation\\DAV\\FedAuth' => __DIR__.'/..'.'/../lib/DAV/FedAuth.php', |
|
31 | + 'OCA\\Federation\\DbHandler' => __DIR__.'/..'.'/../lib/DbHandler.php', |
|
32 | + 'OCA\\Federation\\Hooks' => __DIR__.'/..'.'/../lib/Hooks.php', |
|
33 | + 'OCA\\Federation\\Middleware\\AddServerMiddleware' => __DIR__.'/..'.'/../lib/Middleware/AddServerMiddleware.php', |
|
34 | + 'OCA\\Federation\\Settings\\Admin' => __DIR__.'/..'.'/../lib/Settings/Admin.php', |
|
35 | + 'OCA\\Federation\\SyncFederationAddressBooks' => __DIR__.'/..'.'/../lib/SyncFederationAddressBooks.php', |
|
36 | + 'OCA\\Federation\\SyncJob' => __DIR__.'/..'.'/../lib/SyncJob.php', |
|
37 | + 'OCA\\Federation\\TrustedServers' => __DIR__.'/..'.'/../lib/TrustedServers.php', |
|
38 | 38 | ); |
39 | 39 | |
40 | 40 | public static function getInitializer(ClassLoader $loader) |
41 | 41 | { |
42 | - return \Closure::bind(function () use ($loader) { |
|
42 | + return \Closure::bind(function() use ($loader) { |
|
43 | 43 | $loader->prefixLengthsPsr4 = ComposerStaticInitFederation::$prefixLengthsPsr4; |
44 | 44 | $loader->prefixDirsPsr4 = ComposerStaticInitFederation::$prefixDirsPsr4; |
45 | 45 | $loader->classMap = ComposerStaticInitFederation::$classMap; |
@@ -2,6 +2,6 @@ |
||
2 | 2 | |
3 | 3 | // autoload.php @generated by Composer |
4 | 4 | |
5 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
5 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
6 | 6 | |
7 | 7 | return ComposerAutoloaderInitFederation::getLoader(); |
@@ -67,7 +67,7 @@ |
||
67 | 67 | * @return array an array of events/journals/todos which are arrays of arrays of key-value-pairs |
68 | 68 | * @since 13.0.0 |
69 | 69 | */ |
70 | - public function search($pattern, array $searchProperties=[], array $options=[], $limit=null, $offset=null); |
|
70 | + public function search($pattern, array $searchProperties = [], array $options = [], $limit = null, $offset = null); |
|
71 | 71 | |
72 | 72 | /** |
73 | 73 | * Check if calendars are available |
@@ -55,67 +55,67 @@ |
||
55 | 55 | */ |
56 | 56 | interface IManager { |
57 | 57 | |
58 | - /** |
|
59 | - * This function is used to search and find objects within the user's calendars. |
|
60 | - * In case $pattern is empty all events/journals/todos will be returned. |
|
61 | - * |
|
62 | - * @param string $pattern which should match within the $searchProperties |
|
63 | - * @param array $searchProperties defines the properties within the query pattern should match |
|
64 | - * @param array $options - optional parameters: |
|
65 | - * ['timerange' => ['start' => new DateTime(...), 'end' => new DateTime(...)]] |
|
66 | - * @param integer|null $limit - limit number of search results |
|
67 | - * @param integer|null $offset - offset for paging of search results |
|
68 | - * @return array an array of events/journals/todos which are arrays of arrays of key-value-pairs |
|
69 | - * @since 13.0.0 |
|
70 | - */ |
|
71 | - public function search($pattern, array $searchProperties=[], array $options=[], $limit=null, $offset=null); |
|
58 | + /** |
|
59 | + * This function is used to search and find objects within the user's calendars. |
|
60 | + * In case $pattern is empty all events/journals/todos will be returned. |
|
61 | + * |
|
62 | + * @param string $pattern which should match within the $searchProperties |
|
63 | + * @param array $searchProperties defines the properties within the query pattern should match |
|
64 | + * @param array $options - optional parameters: |
|
65 | + * ['timerange' => ['start' => new DateTime(...), 'end' => new DateTime(...)]] |
|
66 | + * @param integer|null $limit - limit number of search results |
|
67 | + * @param integer|null $offset - offset for paging of search results |
|
68 | + * @return array an array of events/journals/todos which are arrays of arrays of key-value-pairs |
|
69 | + * @since 13.0.0 |
|
70 | + */ |
|
71 | + public function search($pattern, array $searchProperties=[], array $options=[], $limit=null, $offset=null); |
|
72 | 72 | |
73 | - /** |
|
74 | - * Check if calendars are available |
|
75 | - * |
|
76 | - * @return bool true if enabled, false if not |
|
77 | - * @since 13.0.0 |
|
78 | - */ |
|
79 | - public function isEnabled(); |
|
73 | + /** |
|
74 | + * Check if calendars are available |
|
75 | + * |
|
76 | + * @return bool true if enabled, false if not |
|
77 | + * @since 13.0.0 |
|
78 | + */ |
|
79 | + public function isEnabled(); |
|
80 | 80 | |
81 | - /** |
|
82 | - * Registers a calendar |
|
83 | - * |
|
84 | - * @param ICalendar $calendar |
|
85 | - * @return void |
|
86 | - * @since 13.0.0 |
|
87 | - */ |
|
88 | - public function registerCalendar(ICalendar $calendar); |
|
81 | + /** |
|
82 | + * Registers a calendar |
|
83 | + * |
|
84 | + * @param ICalendar $calendar |
|
85 | + * @return void |
|
86 | + * @since 13.0.0 |
|
87 | + */ |
|
88 | + public function registerCalendar(ICalendar $calendar); |
|
89 | 89 | |
90 | - /** |
|
91 | - * Unregisters a calendar |
|
92 | - * |
|
93 | - * @param ICalendar $calendar |
|
94 | - * @return void |
|
95 | - * @since 13.0.0 |
|
96 | - */ |
|
97 | - public function unregisterCalendar(ICalendar $calendar); |
|
90 | + /** |
|
91 | + * Unregisters a calendar |
|
92 | + * |
|
93 | + * @param ICalendar $calendar |
|
94 | + * @return void |
|
95 | + * @since 13.0.0 |
|
96 | + */ |
|
97 | + public function unregisterCalendar(ICalendar $calendar); |
|
98 | 98 | |
99 | - /** |
|
100 | - * In order to improve lazy loading a closure can be registered which will be called in case |
|
101 | - * calendars are actually requested |
|
102 | - * |
|
103 | - * @param \Closure $callable |
|
104 | - * @return void |
|
105 | - * @since 13.0.0 |
|
106 | - */ |
|
107 | - public function register(\Closure $callable); |
|
99 | + /** |
|
100 | + * In order to improve lazy loading a closure can be registered which will be called in case |
|
101 | + * calendars are actually requested |
|
102 | + * |
|
103 | + * @param \Closure $callable |
|
104 | + * @return void |
|
105 | + * @since 13.0.0 |
|
106 | + */ |
|
107 | + public function register(\Closure $callable); |
|
108 | 108 | |
109 | - /** |
|
110 | - * @return ICalendar[] |
|
111 | - * @since 13.0.0 |
|
112 | - */ |
|
113 | - public function getCalendars(); |
|
109 | + /** |
|
110 | + * @return ICalendar[] |
|
111 | + * @since 13.0.0 |
|
112 | + */ |
|
113 | + public function getCalendars(); |
|
114 | 114 | |
115 | - /** |
|
116 | - * removes all registered calendar instances |
|
117 | - * @return void |
|
118 | - * @since 13.0.0 |
|
119 | - */ |
|
120 | - public function clear(); |
|
115 | + /** |
|
116 | + * removes all registered calendar instances |
|
117 | + * @return void |
|
118 | + * @since 13.0.0 |
|
119 | + */ |
|
120 | + public function clear(); |
|
121 | 121 | } |