Completed
Branch models-cleanup/model-relations (db5ca7)
by
unknown
13:03 queued 08:35
created
core/interfaces/relations/EEI_Event_Relation.interface.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -12,23 +12,23 @@
 block discarded – undo
12 12
 {
13 13
 
14 14
 
15
-    /**
16
-     * Used to return the event object that can be derived from the EE_Base_Class object.
17
-     * @return EE_Event
18
-     */
19
-    public function get_related_event();
15
+	/**
16
+	 * Used to return the event object that can be derived from the EE_Base_Class object.
17
+	 * @return EE_Event
18
+	 */
19
+	public function get_related_event();
20 20
 
21 21
 
22
-    /**
23
-     * Used to return the name of the event that can be derived from the EE_Base_Class object.
24
-     * @return string
25
-     */
26
-    public function get_event_name();
22
+	/**
23
+	 * Used to return the name of the event that can be derived from the EE_Base_Class object.
24
+	 * @return string
25
+	 */
26
+	public function get_event_name();
27 27
 
28 28
 
29
-    /**
30
-     * Used to return the EVT_ID for the related event.
31
-     * @return string
32
-     */
33
-    public function get_event_ID();
29
+	/**
30
+	 * Used to return the EVT_ID for the related event.
31
+	 * @return string
32
+	 */
33
+	public function get_event_ID();
34 34
 }
Please login to merge, or discard this patch.
core/interfaces/EEI_Deletable.interface.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 
14 14
 
15 15
 
16
-    /**
17
-     * delete
18
-     *
19
-     * used for deleting the current object from the wherever the object is persisted ( ie: from the database, cache, session, etc )
20
-     *
21
-     * @access public
22
-     * @return bool | int
23
-     */
24
-    public function delete();
16
+	/**
17
+	 * delete
18
+	 *
19
+	 * used for deleting the current object from the wherever the object is persisted ( ie: from the database, cache, session, etc )
20
+	 *
21
+	 * @access public
22
+	 * @return bool | int
23
+	 */
24
+	public function delete();
25 25
 }
Please login to merge, or discard this patch.
core/interfaces/EEI_Request_Stack_Core_App.interface.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -6,12 +6,12 @@
 block discarded – undo
6 6
 interface EEI_Request_Stack_Core_App
7 7
 {
8 8
 
9
-    /**
10
-     * gives the core app a chance to handle the response after the request stack has fully processed
11
-     *
12
-     * @deprecated 4.9.53
13
-     * @param EE_Request $request
14
-     * @param EE_Response   $response
15
-     */
16
-    public function handle_response(EE_Request $request, EE_Response $response);
9
+	/**
10
+	 * gives the core app a chance to handle the response after the request stack has fully processed
11
+	 *
12
+	 * @deprecated 4.9.53
13
+	 * @param EE_Request $request
14
+	 * @param EE_Response   $response
15
+	 */
16
+	public function handle_response(EE_Request $request, EE_Response $response);
17 17
 }
Please login to merge, or discard this patch.
core/interfaces/EEI_Repository.interface.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -13,33 +13,33 @@
 block discarded – undo
13 13
 
14 14
 
15 15
 
16
-    /**
17
-     * persist
18
-     *
19
-     * used for persisting the current object ( ie: to the database, cache, session, etc )
20
-     * can be supplied with a "persistence callback" on a per method call basis,
21
-     * or the $persist_method property can be set in the class constructor,
22
-     * for providing how to persist an object such as session caching, etc...
23
-     * an array of arguments can also be supplied that will be passed along to the object's persistence method
24
-     *
25
-     * @access public
26
-     * @param string $persistence_callback  name of method found on object that can be used for persisting the object
27
-     * @param array  $persistence_arguments arrays of arguments that will be passed to the object's persistence method
28
-     * @return bool | int
29
-     * @throws \EE_Error
30
-     */
31
-    public function persist($persistence_callback = '', $persistence_arguments = array());
16
+	/**
17
+	 * persist
18
+	 *
19
+	 * used for persisting the current object ( ie: to the database, cache, session, etc )
20
+	 * can be supplied with a "persistence callback" on a per method call basis,
21
+	 * or the $persist_method property can be set in the class constructor,
22
+	 * for providing how to persist an object such as session caching, etc...
23
+	 * an array of arguments can also be supplied that will be passed along to the object's persistence method
24
+	 *
25
+	 * @access public
26
+	 * @param string $persistence_callback  name of method found on object that can be used for persisting the object
27
+	 * @param array  $persistence_arguments arrays of arguments that will be passed to the object's persistence method
28
+	 * @return bool | int
29
+	 * @throws \EE_Error
30
+	 */
31
+	public function persist($persistence_callback = '', $persistence_arguments = array());
32 32
 
33 33
 
34 34
 
35
-    /**
36
-     * persist_all
37
-     *
38
-     * calls \EEI_Repository::persist() on all objects within the repository
39
-     *
40
-     * @access public
41
-     * @param string $persistence_callback name of method found on object that can be used for persisting it
42
-     * @return bool | int
43
-     */
44
-    public function persist_all($persistence_callback = '');
35
+	/**
36
+	 * persist_all
37
+	 *
38
+	 * calls \EEI_Repository::persist() on all objects within the repository
39
+	 *
40
+	 * @access public
41
+	 * @param string $persistence_callback name of method found on object that can be used for persisting it
42
+	 * @return bool | int
43
+	 */
44
+	public function persist_all($persistence_callback = '');
45 45
 }
Please login to merge, or discard this patch.
core/services/progress_steps/ProgressStepsConfigInterface.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 interface ProgressStepsConfigInterface
11 11
 {
12 12
 
13
-    public function get();
13
+	public function get();
14 14
 
15
-    public function update();
15
+	public function update();
16 16
 }
Please login to merge, or discard this patch.
progress_steps/display_strategies/ProgressStepsDisplayInterface.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -11,23 +11,23 @@
 block discarded – undo
11 11
 interface ProgressStepsDisplayInterface
12 12
 {
13 13
 
14
-    /**
15
-     * used for setting up css and js required for the display strategy
16
-     * ** IMPORTANT **
17
-     * This needs to be called BEFORE the wp_enqueue_scripts hook point for the frontend
18
-     * or the admin_enqueue_scripts in the admin.
19
-     * If setting up steps for the admin, this can be done via the
20
-     * 'FHEE__EE_Admin_Page___load_page_dependencies__after_load' ACTION
21
-     * in \EE_Admin_Page::_load_page_dependencies() or the targeted hook that comes after it
22
-     *
23
-     * @return void
24
-     */
25
-    public function enqueueStylesAndScripts();
14
+	/**
15
+	 * used for setting up css and js required for the display strategy
16
+	 * ** IMPORTANT **
17
+	 * This needs to be called BEFORE the wp_enqueue_scripts hook point for the frontend
18
+	 * or the admin_enqueue_scripts in the admin.
19
+	 * If setting up steps for the admin, this can be done via the
20
+	 * 'FHEE__EE_Admin_Page___load_page_dependencies__after_load' ACTION
21
+	 * in \EE_Admin_Page::_load_page_dependencies() or the targeted hook that comes after it
22
+	 *
23
+	 * @return void
24
+	 */
25
+	public function enqueueStylesAndScripts();
26 26
 
27
-    /**
28
-     * loads and returns a full server path to the template used for the display strategy
29
-     *
30
-     * @return string
31
-     */
32
-    public function getTemplate();
27
+	/**
28
+	 * loads and returns a full server path to the template used for the display strategy
29
+	 *
30
+	 * @return string
31
+	 */
32
+	public function getTemplate();
33 33
 }
Please login to merge, or discard this patch.
display_strategies/number_bubbles/number_bubbles.template.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 if (! defined('EVENT_ESPRESSO_VERSION')) {
3
-    exit('No direct script access allowed');
3
+	exit('No direct script access allowed');
4 4
 }
5 5
 /**
6 6
  * This is the template for the "Number Bubbles" Progress Steps
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-if (! defined('EVENT_ESPRESSO_VERSION')) {
2
+if ( ! defined('EVENT_ESPRESSO_VERSION')) {
3 3
     exit('No direct script access allowed');
4 4
 }
5 5
 /**
Please login to merge, or discard this patch.
core/services/collections/iterators/FilterIteratorsHelper.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -17,18 +17,18 @@
 block discarded – undo
17 17
 {
18 18
 
19 19
 
20
-    /**
21
-     * Uses CollectionFilterCallbackIterator on a provided collection with provided Closure for filtering each object
22
-     * in the collection.
23
-     * The closure receives an instance of the object and should return false if it is not "valid" and true if it is.
24
-     *
25
-     * @param Collection $collection
26
-     * @param Closure    $acceptance_callback
27
-     * @return array
28
-     */
29
-    public static function getFilteredObjectsFromCollection(Collection $collection, Closure $acceptance_callback)
30
-    {
31
-        $collection_filter_iterator = new CollectionFilterCallbackIterator($collection, $acceptance_callback);
32
-        return $collection_filter_iterator->getFiltered();
33
-    }
20
+	/**
21
+	 * Uses CollectionFilterCallbackIterator on a provided collection with provided Closure for filtering each object
22
+	 * in the collection.
23
+	 * The closure receives an instance of the object and should return false if it is not "valid" and true if it is.
24
+	 *
25
+	 * @param Collection $collection
26
+	 * @param Closure    $acceptance_callback
27
+	 * @return array
28
+	 */
29
+	public static function getFilteredObjectsFromCollection(Collection $collection, Closure $acceptance_callback)
30
+	{
31
+		$collection_filter_iterator = new CollectionFilterCallbackIterator($collection, $acceptance_callback);
32
+		return $collection_filter_iterator->getFiltered();
33
+	}
34 34
 }
Please login to merge, or discard this patch.
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.