Completed
Branch dependabot/npm_and_yarn/@wordp... (e9f48b)
by
unknown
60:52 queued 52:34
created
core/services/collections/CollectionDetailsInterface.php 1 patch
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -11,45 +11,45 @@
 block discarded – undo
11 11
 interface CollectionDetailsInterface
12 12
 {
13 13
 
14
-    /**
15
-     * @access public
16
-     * @return string
17
-     */
18
-    public function getCollectionInterface();
19
-
20
-    /**
21
-     * @access public
22
-     * @return string
23
-     */
24
-    public function collectionName();
25
-
26
-    /**
27
-     * @access public
28
-     * @return string
29
-     */
30
-    public function identifierType();
31
-
32
-    /**
33
-     * @access public
34
-     * @return string
35
-     */
36
-    public function identifierCallback();
37
-
38
-    /**
39
-     * @access public
40
-     * @return string
41
-     */
42
-    public function getFileMask();
43
-
44
-    /**
45
-     * @access public
46
-     * @return array
47
-     */
48
-    public function getCollectionFQCNs();
49
-
50
-    /**
51
-     * @access public
52
-     * @return array
53
-     */
54
-    public function getCollectionPaths();
14
+	/**
15
+	 * @access public
16
+	 * @return string
17
+	 */
18
+	public function getCollectionInterface();
19
+
20
+	/**
21
+	 * @access public
22
+	 * @return string
23
+	 */
24
+	public function collectionName();
25
+
26
+	/**
27
+	 * @access public
28
+	 * @return string
29
+	 */
30
+	public function identifierType();
31
+
32
+	/**
33
+	 * @access public
34
+	 * @return string
35
+	 */
36
+	public function identifierCallback();
37
+
38
+	/**
39
+	 * @access public
40
+	 * @return string
41
+	 */
42
+	public function getFileMask();
43
+
44
+	/**
45
+	 * @access public
46
+	 * @return array
47
+	 */
48
+	public function getCollectionFQCNs();
49
+
50
+	/**
51
+	 * @access public
52
+	 * @return array
53
+	 */
54
+	public function getCollectionPaths();
55 55
 }
Please login to merge, or discard this patch.
core/services/bootstrap/BootstrapCore.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
         // load interfaces
198 198
         espresso_load_required(
199 199
             'EEH_Autoloader',
200
-            EE_CORE . 'helpers' . DS . 'EEH_Autoloader.helper.php'
200
+            EE_CORE.'helpers'.DS.'EEH_Autoloader.helper.php'
201 201
         );
202 202
         EEH_Autoloader::instance();
203 203
     }
@@ -211,13 +211,13 @@  discard block
 block discarded – undo
211 211
     protected function setAutoloadersForRequiredFiles()
212 212
     {
213 213
         // load interfaces
214
-        EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_CORE . 'interfaces', true);
214
+        EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_CORE.'interfaces', true);
215 215
         // load helpers
216 216
         EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_HELPERS);
217 217
         // register legacy request stack classes just in case
218
-        EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_CORE . 'request_stack' . DS);
218
+        EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_CORE.'request_stack'.DS);
219 219
         // register legacy middleware classes just in case
220
-        EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_CORE . 'middleware' . DS);
220
+        EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_CORE.'middleware'.DS);
221 221
     }
222 222
 
223 223
 
Please login to merge, or discard this patch.
Indentation   +199 added lines, -199 removed lines patch added patch discarded remove patch
@@ -46,225 +46,225 @@
 block discarded – undo
46 46
 class BootstrapCore
47 47
 {
48 48
 
49
-    /**
50
-     * @type LoaderInterface $loader
51
-     */
52
-    private $loader;
49
+	/**
50
+	 * @type LoaderInterface $loader
51
+	 */
52
+	private $loader;
53 53
 
54
-    /**
55
-     * @var RequestInterface $request
56
-     */
57
-    protected $request;
54
+	/**
55
+	 * @var RequestInterface $request
56
+	 */
57
+	protected $request;
58 58
 
59
-    /**
60
-     * @var ResponseInterface $response
61
-     */
62
-    protected $response;
59
+	/**
60
+	 * @var ResponseInterface $response
61
+	 */
62
+	protected $response;
63 63
 
64
-    /**
65
-     * @var RequestStackBuilder $request_stack_builder
66
-     */
67
-    protected $request_stack_builder;
64
+	/**
65
+	 * @var RequestStackBuilder $request_stack_builder
66
+	 */
67
+	protected $request_stack_builder;
68 68
 
69
-    /**
70
-     * @var RequestStack $request_stack
71
-     */
72
-    protected $request_stack;
69
+	/**
70
+	 * @var RequestStack $request_stack
71
+	 */
72
+	protected $request_stack;
73 73
 
74 74
 
75
-    /**
76
-     * BootstrapCore constructor.
77
-     */
78
-    public function __construct()
79
-    {
80
-        do_action('AHEE__EventEspresso_core_services_bootstrap_BootstrapCore___construct');
81
-        // construct request stack and run middleware apps as soon as all WP plugins are loaded
82
-        add_action('plugins_loaded', array($this, 'initialize'), 0);
83
-    }
75
+	/**
76
+	 * BootstrapCore constructor.
77
+	 */
78
+	public function __construct()
79
+	{
80
+		do_action('AHEE__EventEspresso_core_services_bootstrap_BootstrapCore___construct');
81
+		// construct request stack and run middleware apps as soon as all WP plugins are loaded
82
+		add_action('plugins_loaded', array($this, 'initialize'), 0);
83
+	}
84 84
 
85 85
 
86
-    /**
87
-     * @throws DomainException
88
-     * @throws EE_Error
89
-     * @throws Exception
90
-     * @throws InvalidArgumentException
91
-     * @throws InvalidClassException
92
-     * @throws InvalidDataTypeException
93
-     * @throws InvalidFilePathException
94
-     * @throws InvalidInterfaceException
95
-     * @throws InvalidRequestStackMiddlewareException
96
-     * @throws OutOfBoundsException
97
-     * @throws ReflectionException
98
-     */
99
-    public function initialize()
100
-    {
101
-        $this->bootstrapDependencyInjectionContainer();
102
-        $this->bootstrapDomain();
103
-        $bootstrap_request = $this->bootstrapRequestResponseObjects();
104
-        add_action(
105
-            'EE_Load_Espresso_Core__handle_request__initialize_core_loading',
106
-            array($bootstrap_request, 'setupLegacyRequest')
107
-        );
108
-        $this->runRequestStack();
109
-    }
86
+	/**
87
+	 * @throws DomainException
88
+	 * @throws EE_Error
89
+	 * @throws Exception
90
+	 * @throws InvalidArgumentException
91
+	 * @throws InvalidClassException
92
+	 * @throws InvalidDataTypeException
93
+	 * @throws InvalidFilePathException
94
+	 * @throws InvalidInterfaceException
95
+	 * @throws InvalidRequestStackMiddlewareException
96
+	 * @throws OutOfBoundsException
97
+	 * @throws ReflectionException
98
+	 */
99
+	public function initialize()
100
+	{
101
+		$this->bootstrapDependencyInjectionContainer();
102
+		$this->bootstrapDomain();
103
+		$bootstrap_request = $this->bootstrapRequestResponseObjects();
104
+		add_action(
105
+			'EE_Load_Espresso_Core__handle_request__initialize_core_loading',
106
+			array($bootstrap_request, 'setupLegacyRequest')
107
+		);
108
+		$this->runRequestStack();
109
+	}
110 110
 
111 111
 
112
-    /**
113
-     * @throws ReflectionException
114
-     * @throws EE_Error
115
-     * @throws InvalidArgumentException
116
-     * @throws InvalidDataTypeException
117
-     * @throws InvalidInterfaceException
118
-     * @throws OutOfBoundsException
119
-     */
120
-    private function bootstrapDependencyInjectionContainer()
121
-    {
122
-        $bootstrap_di = new BootstrapDependencyInjectionContainer();
123
-        $bootstrap_di->buildLegacyDependencyInjectionContainer();
124
-        $bootstrap_di->buildLoader();
125
-        $registry = $bootstrap_di->getRegistry();
126
-        $dependency_map = $bootstrap_di->getDependencyMap();
127
-        $dependency_map->initialize();
128
-        $registry->initialize();
129
-        $this->loader = $bootstrap_di->getLoader();
130
-    }
112
+	/**
113
+	 * @throws ReflectionException
114
+	 * @throws EE_Error
115
+	 * @throws InvalidArgumentException
116
+	 * @throws InvalidDataTypeException
117
+	 * @throws InvalidInterfaceException
118
+	 * @throws OutOfBoundsException
119
+	 */
120
+	private function bootstrapDependencyInjectionContainer()
121
+	{
122
+		$bootstrap_di = new BootstrapDependencyInjectionContainer();
123
+		$bootstrap_di->buildLegacyDependencyInjectionContainer();
124
+		$bootstrap_di->buildLoader();
125
+		$registry = $bootstrap_di->getRegistry();
126
+		$dependency_map = $bootstrap_di->getDependencyMap();
127
+		$dependency_map->initialize();
128
+		$registry->initialize();
129
+		$this->loader = $bootstrap_di->getLoader();
130
+	}
131 131
 
132 132
 
133
-    /**
134
-     * configures the Domain object for core
135
-     *
136
-     * @return void
137
-     * @throws DomainException
138
-     * @throws InvalidArgumentException
139
-     * @throws InvalidDataTypeException
140
-     * @throws InvalidClassException
141
-     * @throws InvalidFilePathException
142
-     * @throws InvalidInterfaceException
143
-     */
144
-    private function bootstrapDomain()
145
-    {
146
-        DomainFactory::getEventEspressoCoreDomain();
147
-    }
133
+	/**
134
+	 * configures the Domain object for core
135
+	 *
136
+	 * @return void
137
+	 * @throws DomainException
138
+	 * @throws InvalidArgumentException
139
+	 * @throws InvalidDataTypeException
140
+	 * @throws InvalidClassException
141
+	 * @throws InvalidFilePathException
142
+	 * @throws InvalidInterfaceException
143
+	 */
144
+	private function bootstrapDomain()
145
+	{
146
+		DomainFactory::getEventEspressoCoreDomain();
147
+	}
148 148
 
149 149
 
150
-    /**
151
-     * sets up the request and response objects
152
-     *
153
-     * @return BootstrapRequestResponseObjects
154
-     * @throws InvalidArgumentException
155
-     */
156
-    private function bootstrapRequestResponseObjects()
157
-    {
158
-        /** @var BootstrapRequestResponseObjects $bootstrap_request */
159
-        $bootstrap_request = $this->loader->getShared(
160
-            'EventEspresso\core\services\bootstrap\BootstrapRequestResponseObjects',
161
-            array($this->loader)
162
-        );
163
-        $bootstrap_request->buildRequestResponse();
164
-        $bootstrap_request->shareRequestResponse();
165
-        $this->request = $this->loader->getShared('EventEspresso\core\services\request\Request');
166
-        $this->response = $this->loader->getShared('EventEspresso\core\services\request\Response');
167
-        return $bootstrap_request;
168
-    }
150
+	/**
151
+	 * sets up the request and response objects
152
+	 *
153
+	 * @return BootstrapRequestResponseObjects
154
+	 * @throws InvalidArgumentException
155
+	 */
156
+	private function bootstrapRequestResponseObjects()
157
+	{
158
+		/** @var BootstrapRequestResponseObjects $bootstrap_request */
159
+		$bootstrap_request = $this->loader->getShared(
160
+			'EventEspresso\core\services\bootstrap\BootstrapRequestResponseObjects',
161
+			array($this->loader)
162
+		);
163
+		$bootstrap_request->buildRequestResponse();
164
+		$bootstrap_request->shareRequestResponse();
165
+		$this->request = $this->loader->getShared('EventEspresso\core\services\request\Request');
166
+		$this->response = $this->loader->getShared('EventEspresso\core\services\request\Response');
167
+		return $bootstrap_request;
168
+	}
169 169
 
170 170
 
171
-    /**
172
-     * run_request_stack
173
-     * construct request stack and run middleware apps
174
-     *
175
-     * @throws EE_Error
176
-     * @throws Exception
177
-     */
178
-    public function runRequestStack()
179
-    {
180
-        $this->loadAutoloader();
181
-        $this->setAutoloadersForRequiredFiles();
182
-        $this->request_stack_builder = $this->buildRequestStack();
183
-        $this->request_stack = $this->request_stack_builder->resolve(
184
-            new RequestStackCoreApp()
185
-        );
186
-        $this->request_stack->handleRequest($this->request, $this->response);
187
-        $this->request_stack->handleResponse();
188
-    }
171
+	/**
172
+	 * run_request_stack
173
+	 * construct request stack and run middleware apps
174
+	 *
175
+	 * @throws EE_Error
176
+	 * @throws Exception
177
+	 */
178
+	public function runRequestStack()
179
+	{
180
+		$this->loadAutoloader();
181
+		$this->setAutoloadersForRequiredFiles();
182
+		$this->request_stack_builder = $this->buildRequestStack();
183
+		$this->request_stack = $this->request_stack_builder->resolve(
184
+			new RequestStackCoreApp()
185
+		);
186
+		$this->request_stack->handleRequest($this->request, $this->response);
187
+		$this->request_stack->handleResponse();
188
+	}
189 189
 
190 190
 
191
-    /**
192
-     * load_autoloader
193
-     *
194
-     * @throws EE_Error
195
-     */
196
-    protected function loadAutoloader()
197
-    {
198
-        // load interfaces
199
-        espresso_load_required(
200
-            'EEH_Autoloader',
201
-            EE_CORE . 'helpers' . DS . 'EEH_Autoloader.helper.php'
202
-        );
203
-        EEH_Autoloader::instance();
204
-    }
191
+	/**
192
+	 * load_autoloader
193
+	 *
194
+	 * @throws EE_Error
195
+	 */
196
+	protected function loadAutoloader()
197
+	{
198
+		// load interfaces
199
+		espresso_load_required(
200
+			'EEH_Autoloader',
201
+			EE_CORE . 'helpers' . DS . 'EEH_Autoloader.helper.php'
202
+		);
203
+		EEH_Autoloader::instance();
204
+	}
205 205
 
206 206
 
207
-    /**
208
-     * load_required_files
209
-     *
210
-     * @throws EE_Error
211
-     */
212
-    protected function setAutoloadersForRequiredFiles()
213
-    {
214
-        // load interfaces
215
-        EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_CORE . 'interfaces', true);
216
-        // load helpers
217
-        EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_HELPERS);
218
-        // register legacy request stack classes just in case
219
-        EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_CORE . 'request_stack' . DS);
220
-        // register legacy middleware classes just in case
221
-        EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_CORE . 'middleware' . DS);
222
-    }
207
+	/**
208
+	 * load_required_files
209
+	 *
210
+	 * @throws EE_Error
211
+	 */
212
+	protected function setAutoloadersForRequiredFiles()
213
+	{
214
+		// load interfaces
215
+		EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_CORE . 'interfaces', true);
216
+		// load helpers
217
+		EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_HELPERS);
218
+		// register legacy request stack classes just in case
219
+		EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_CORE . 'request_stack' . DS);
220
+		// register legacy middleware classes just in case
221
+		EEH_Autoloader::register_autoloaders_for_each_file_in_folder(EE_CORE . 'middleware' . DS);
222
+	}
223 223
 
224 224
 
225
-    /**
226
-     * build_request_stack
227
-     *
228
-     * @return RequestStackBuilder
229
-     */
230
-    public function buildRequestStack()
231
-    {
232
-        $request_stack_builder = new RequestStackBuilder($this->loader);
233
-        /**
234
-         * ! IMPORTANT ! The middleware stack operates FILO : FIRST IN LAST OUT
235
-         * so items at the beginning of the final middleware stack will run last.
236
-         * First parameter is the middleware classname, second is an array of arguments
237
-         */
238
-        $stack_apps = apply_filters(
239
-            'FHEE__EventEspresso_core_services_bootstrap_BootstrapCore__buildRequestStack__stack_apps',
240
-            array(
241
-                // first in last out
242
-                'EventEspresso\core\services\request\middleware\BotDetector'                 => array(),
243
-                'EventEspresso\core\services\request\middleware\DetectFileEditorRequest'     => array(),
244
-                'EventEspresso\core\services\request\middleware\PreProductionVersionWarning' => array(),
245
-                'EventEspresso\core\services\request\middleware\RecommendedVersions'         => array(),
246
-                // last in first out
247
-                'EventEspresso\core\services\request\middleware\DetectLogin'                 => array(),
248
-            )
249
-        );
250
-        // legacy filter for backwards compatibility
251
-        $stack_apps = apply_filters(
252
-            'FHEE__EE_Bootstrap__build_request_stack__stack_apps',
253
-            $stack_apps
254
-        );
255
-        // load middleware onto stack : FILO (First In Last Out)
256
-        // items at the beginning of the $stack_apps array will run last
257
-        foreach ((array) $stack_apps as $stack_app => $stack_app_args) {
258
-            $request_stack_builder->push(array($stack_app, $stack_app_args));
259
-        }
260
-        // finally, we'll add this on its own because we need it to always be part of the stack
261
-        // and we also need it to always run first because the rest of the system relies on it
262
-        $request_stack_builder->push(
263
-            array('EventEspresso\core\services\request\middleware\SetRequestTypeContextChecker', array())
264
-        );
265
-        return apply_filters(
266
-            'FHEE__EE_Bootstrap__build_request_stack__request_stack_builder',
267
-            $request_stack_builder
268
-        );
269
-    }
225
+	/**
226
+	 * build_request_stack
227
+	 *
228
+	 * @return RequestStackBuilder
229
+	 */
230
+	public function buildRequestStack()
231
+	{
232
+		$request_stack_builder = new RequestStackBuilder($this->loader);
233
+		/**
234
+		 * ! IMPORTANT ! The middleware stack operates FILO : FIRST IN LAST OUT
235
+		 * so items at the beginning of the final middleware stack will run last.
236
+		 * First parameter is the middleware classname, second is an array of arguments
237
+		 */
238
+		$stack_apps = apply_filters(
239
+			'FHEE__EventEspresso_core_services_bootstrap_BootstrapCore__buildRequestStack__stack_apps',
240
+			array(
241
+				// first in last out
242
+				'EventEspresso\core\services\request\middleware\BotDetector'                 => array(),
243
+				'EventEspresso\core\services\request\middleware\DetectFileEditorRequest'     => array(),
244
+				'EventEspresso\core\services\request\middleware\PreProductionVersionWarning' => array(),
245
+				'EventEspresso\core\services\request\middleware\RecommendedVersions'         => array(),
246
+				// last in first out
247
+				'EventEspresso\core\services\request\middleware\DetectLogin'                 => array(),
248
+			)
249
+		);
250
+		// legacy filter for backwards compatibility
251
+		$stack_apps = apply_filters(
252
+			'FHEE__EE_Bootstrap__build_request_stack__stack_apps',
253
+			$stack_apps
254
+		);
255
+		// load middleware onto stack : FILO (First In Last Out)
256
+		// items at the beginning of the $stack_apps array will run last
257
+		foreach ((array) $stack_apps as $stack_app => $stack_app_args) {
258
+			$request_stack_builder->push(array($stack_app, $stack_app_args));
259
+		}
260
+		// finally, we'll add this on its own because we need it to always be part of the stack
261
+		// and we also need it to always run first because the rest of the system relies on it
262
+		$request_stack_builder->push(
263
+			array('EventEspresso\core\services\request\middleware\SetRequestTypeContextChecker', array())
264
+		);
265
+		return apply_filters(
266
+			'FHEE__EE_Bootstrap__build_request_stack__request_stack_builder',
267
+			$request_stack_builder
268
+		);
269
+	}
270 270
 }
Please login to merge, or discard this patch.
core/services/request/RequestStackCoreAppInterface.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
 interface RequestStackCoreAppInterface
13 13
 {
14 14
 
15
-    /**
16
-     * gives the core app a chance to handle the response after the request stack has fully processed
17
-     *
18
-     * @param RequestInterface $request
19
-     * @param ResponseInterface      $response
20
-     */
21
-    public function handleResponse(RequestInterface $request, ResponseInterface $response);
15
+	/**
16
+	 * gives the core app a chance to handle the response after the request stack has fully processed
17
+	 *
18
+	 * @param RequestInterface $request
19
+	 * @param ResponseInterface      $response
20
+	 */
21
+	public function handleResponse(RequestInterface $request, ResponseInterface $response);
22 22
 }
Please login to merge, or discard this patch.
core/services/request/RequestDecoratorInterface.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -12,21 +12,21 @@
 block discarded – undo
12 12
 interface RequestDecoratorInterface
13 13
 {
14 14
 
15
-    /**
16
-     * converts a Request to a Response
17
-     * can perform their logic either before or after the core application has run like so:
18
-     *    public function handle_request( EE_Request $request, EE_Response $response ) {
19
-     *        $this->request = $request;
20
-     *        $this->response = $response;
21
-     *      // logic performed BEFORE core app has run
22
-     *      $this->process_request_stack( $this->request, $this->response );
23
-     *      // logic performed AFTER core app has run
24
-     *      return $response;
25
-     *    }
26
-     *
27
-     * @param RequestInterface $request
28
-     * @param ResponseInterface      $response
29
-     * @return ResponseInterface
30
-     */
31
-    public function handleRequest(RequestInterface $request, ResponseInterface $response);
15
+	/**
16
+	 * converts a Request to a Response
17
+	 * can perform their logic either before or after the core application has run like so:
18
+	 *    public function handle_request( EE_Request $request, EE_Response $response ) {
19
+	 *        $this->request = $request;
20
+	 *        $this->response = $response;
21
+	 *      // logic performed BEFORE core app has run
22
+	 *      $this->process_request_stack( $this->request, $this->response );
23
+	 *      // logic performed AFTER core app has run
24
+	 *      return $response;
25
+	 *    }
26
+	 *
27
+	 * @param RequestInterface $request
28
+	 * @param ResponseInterface      $response
29
+	 * @return ResponseInterface
30
+	 */
31
+	public function handleRequest(RequestInterface $request, ResponseInterface $response);
32 32
 }
Please login to merge, or discard this patch.
core/services/request/ResponseInterface.php 1 patch
Indentation   +55 added lines, -55 removed lines patch added patch discarded remove patch
@@ -12,67 +12,67 @@
 block discarded – undo
12 12
 interface ResponseInterface
13 13
 {
14 14
 
15
-    /**
16
-     *    set_notice
17
-     *
18
-     * @access    public
19
-     * @param $key
20
-     * @param $value
21
-     * @return    void
22
-     */
23
-    public function setNotice($key, $value);
15
+	/**
16
+	 *    set_notice
17
+	 *
18
+	 * @access    public
19
+	 * @param $key
20
+	 * @param $value
21
+	 * @return    void
22
+	 */
23
+	public function setNotice($key, $value);
24 24
 
25
-    /**
26
-     *    get_notice
27
-     *
28
-     * @access    public
29
-     * @param $key
30
-     * @return    mixed
31
-     */
32
-    public function getNotice($key);
25
+	/**
26
+	 *    get_notice
27
+	 *
28
+	 * @access    public
29
+	 * @param $key
30
+	 * @return    mixed
31
+	 */
32
+	public function getNotice($key);
33 33
 
34
-    /**
35
-     *    get_notices
36
-     *
37
-     * @access    public
38
-     * @return    array
39
-     */
40
-    public function getNotices();
34
+	/**
35
+	 *    get_notices
36
+	 *
37
+	 * @access    public
38
+	 * @return    array
39
+	 */
40
+	public function getNotices();
41 41
 
42
-    /**
43
-     *    add_output
44
-     *
45
-     * @access    public
46
-     * @param      $string
47
-     * @param bool $append
48
-     */
49
-    public function addOutput($string, $append = true);
42
+	/**
43
+	 *    add_output
44
+	 *
45
+	 * @access    public
46
+	 * @param      $string
47
+	 * @param bool $append
48
+	 */
49
+	public function addOutput($string, $append = true);
50 50
 
51
-    /**
52
-     *    get_output
53
-     *
54
-     * @access    public
55
-     * @return    string
56
-     */
57
-    public function getOutput();
51
+	/**
52
+	 *    get_output
53
+	 *
54
+	 * @access    public
55
+	 * @return    string
56
+	 */
57
+	public function getOutput();
58 58
 
59
-    /**
60
-     * @return boolean
61
-     */
62
-    public function requestTerminated();
59
+	/**
60
+	 * @return boolean
61
+	 */
62
+	public function requestTerminated();
63 63
 
64
-    /**
65
-     * @param boolean $request_terminated
66
-     */
67
-    public function terminateRequest($request_terminated = true);
64
+	/**
65
+	 * @param boolean $request_terminated
66
+	 */
67
+	public function terminateRequest($request_terminated = true);
68 68
 
69
-    /**
70
-     * @return boolean
71
-     */
72
-    public function pluginDeactivated();
69
+	/**
70
+	 * @return boolean
71
+	 */
72
+	public function pluginDeactivated();
73 73
 
74
-    /**
75
-     * sets $deactivate_plugin to true
76
-     */
77
-    public function deactivatePlugin();
74
+	/**
75
+	 * sets $deactivate_plugin to true
76
+	 */
77
+	public function deactivatePlugin();
78 78
 }
Please login to merge, or discard this patch.
core/services/commands/CommandRequiresCapCheckInterface.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 interface CommandRequiresCapCheckInterface
12 12
 {
13 13
 
14
-    /**
15
-     * @return \EventEspresso\core\domain\services\capabilities\CapCheck
16
-     */
17
-    public function getCapCheck();
14
+	/**
15
+	 * @return \EventEspresso\core\domain\services\capabilities\CapCheck
16
+	 */
17
+	public function getCapCheck();
18 18
 }
Please login to merge, or discard this patch.
core/services/commands/CommandFactoryInterface.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -9,13 +9,13 @@
 block discarded – undo
9 9
 interface CommandFactoryInterface
10 10
 {
11 11
 
12
-    /**
13
-     * @param string $command_fqcn
14
-     * @param array  $arguments
15
-     * @return mixed
16
-     * @throws InvalidArgumentException
17
-     * @throws InvalidDataTypeException
18
-     * @throws InvalidInterfaceException
19
-     */
20
-    public function getNew($command_fqcn, $arguments = array());
12
+	/**
13
+	 * @param string $command_fqcn
14
+	 * @param array  $arguments
15
+	 * @return mixed
16
+	 * @throws InvalidArgumentException
17
+	 * @throws InvalidDataTypeException
18
+	 * @throws InvalidInterfaceException
19
+	 */
20
+	public function getNew($command_fqcn, $arguments = array());
21 21
 }
Please login to merge, or discard this patch.
core/services/commands/CommandBusInterface.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -9,14 +9,14 @@
 block discarded – undo
9 9
 interface CommandBusInterface
10 10
 {
11 11
 
12
-    /**
13
-     * @return CommandHandlerManagerInterface
14
-     */
15
-    public function getCommandHandlerManager();
12
+	/**
13
+	 * @return CommandHandlerManagerInterface
14
+	 */
15
+	public function getCommandHandlerManager();
16 16
 
17
-    /**
18
-     * @param \EventEspresso\core\services\commands\CommandInterface $command
19
-     * @return mixed
20
-     */
21
-    public function execute($command);
17
+	/**
18
+	 * @param \EventEspresso\core\services\commands\CommandInterface $command
19
+	 * @return mixed
20
+	 */
21
+	public function execute($command);
22 22
 }
Please login to merge, or discard this patch.
core/services/commands/middleware/CommandBusMiddlewareInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 interface CommandBusMiddlewareInterface
13 13
 {
14 14
 
15
-    /**
16
-     * @param CommandInterface $command
17
-     * @param Closure         $next
18
-     * @return mixed
19
-     */
20
-    public function handle(CommandInterface $command, Closure $next);
15
+	/**
16
+	 * @param CommandInterface $command
17
+	 * @param Closure         $next
18
+	 * @return mixed
19
+	 */
20
+	public function handle(CommandInterface $command, Closure $next);
21 21
 }
Please login to merge, or discard this patch.