Test Setup Failed
Branch dev (5f92be)
by Michael
01:08
created
factory/admin_page/_model/format/AdminPageFramework_Format_InPageTabs.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     public function get() {
53 53
 
54
-         // Apply filters to modify the in-page tab array.
54
+            // Apply filters to modify the in-page tab array.
55 55
         $_aInPageTabs = $this->addAndApplyFilter(
56 56
             $this->oFactory,  // caller object
57 57
             "tabs_{$this->oFactory->oProp->sClassName}_{$this->sPageSlug}", // filter name
Please login to merge, or discard this patch.
uninstall.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
  */
31 31
 $_sMaingPluginFileName  = 'admin-page-framework-loader.php';
32 32
 if ( file_exists( dirname( __FILE__ ). '/' . $_sMaingPluginFileName ) ) {
33
-   include( $_sMaingPluginFileName );
33
+    include( $_sMaingPluginFileName );
34 34
 }
35 35
 
36 36
 if ( class_exists( 'AdminPageFrameworkLoader_Registry' ) ) :
Please login to merge, or discard this patch.
help/AdminPageFrameworkLoader_AdminPage_Help_Report_Report.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
      */
164 164
     public function validate( $aInput, $aOldInput, $oFactory, $aSubmit ) {
165 165
     
166
-       // Local variables
166
+        // Local variables
167 167
         $_bIsValid = true;
168 168
         $_aErrors  = array();
169 169
       
Please login to merge, or discard this patch.
include/class/admin/demo/AdminPageFrameworkLoader_Demo.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,12 +9,12 @@
 block discarded – undo
9 9
  * @since        3.5.0
10 10
  */
11 11
 
12
- /**
13
-  * 
14
-  * 
15
-  * @action     do      admin_page_framework_loader_action_before_loading_demo
16
-  * @action     do      admin_page_framework_loader_action_after_loading_demo
17
-  */
12
+    /**
13
+     * 
14
+     * 
15
+     * @action     do      admin_page_framework_loader_action_before_loading_demo
16
+     * @action     do      admin_page_framework_loader_action_after_loading_demo
17
+     */
18 18
 class AdminPageFrameworkLoader_Demo {
19 19
     
20 20
     public function __construct() {
Please login to merge, or discard this patch.
development/factory/admin_page/AdminPageFramework_Controller_Menu.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -250,20 +250,20 @@
 block discarded – undo
250 250
     }
251 251
 
252 252
     /**
253
-    * Adds the given link into the menu on the left sidebar of the administration panel.
254
-    * 
255
-    * @since        2.0.0
256
-    * @since        3.0.0       Changed the scope to public from protected.
257
-    * @since        3.5.0       Changed the scope to public as it was still protected.
258
-    * @param        string      the menu title.
259
-    * @param        string      the URL linked to the menu.
260
-    * @param        string      (optional) the <a href="http://codex.wordpress.org/Roles_and_Capabilities" target="_blank">access level</a>.
261
-    * @param        string      (optional) the order number. The larger it is, the lower the position it gets.
262
-    * @param        string      (optional) if set to false, the menu title will not be listed in the tab navigation menu at the top of the page.
263
-    * @access       public
264
-    * @return       void
265
-    * @internal
266
-    */    
253
+     * Adds the given link into the menu on the left sidebar of the administration panel.
254
+     * 
255
+     * @since        2.0.0
256
+     * @since        3.0.0       Changed the scope to public from protected.
257
+     * @since        3.5.0       Changed the scope to public as it was still protected.
258
+     * @param        string      the menu title.
259
+     * @param        string      the URL linked to the menu.
260
+     * @param        string      (optional) the <a href="http://codex.wordpress.org/Roles_and_Capabilities" target="_blank">access level</a>.
261
+     * @param        string      (optional) the order number. The larger it is, the lower the position it gets.
262
+     * @param        string      (optional) if set to false, the menu title will not be listed in the tab navigation menu at the top of the page.
263
+     * @access       public
264
+     * @return       void
265
+     * @internal
266
+     */    
267 267
     public function addSubMenuLink( array $aSubMenuLink ) {
268 268
         
269 269
         // If required keys are not set, return.
Please login to merge, or discard this patch.
factory/admin_page/_controller/AdminPageFramework_Link_admin_page.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
             $this->oProp->aPluginTitleLinks = array_merge( 
91 91
                 $this->oProp->aPluginTitleLinks, 
92 92
                 $asLinks 
93
-           );
93
+            );
94 94
         }
95 95
                 
96 96
         $this->_addFilterHook_PluginTitleActionLink();
Please login to merge, or discard this patch.
development/factory/widget/AdminPageFramework_Widget_Router.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,9 +68,9 @@
 block discarded – undo
68 68
     }
69 69
 
70 70
     /**
71
-      * Responds to a request to an undefined property.
72
-      * @since      3.8.17
73
-      */
71
+     * Responds to a request to an undefined property.
72
+     * @since      3.8.17
73
+     */
74 74
     public function __get( $sPropertyName ) {
75 75
         if ( $this->oProp->bAssumedAsWPWidget ) {
76 76
             if ( isset( $this->oProp->aWPWidgetProperties[ $sPropertyName ] ) ) {
Please login to merge, or discard this patch.
development/factory/widget/AdminPageFramework_Widget_Factory.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      * @since       3.2.0
27 27
      * @return      void
28 28
      */
29
-	public function __construct( $oCaller, $sWidgetTitle, array $aArguments=array() ) {
29
+    public function __construct( $oCaller, $sWidgetTitle, array $aArguments=array() ) {
30 30
 		
31 31
         $aArguments = $aArguments 
32 32
             + array( 
@@ -34,14 +34,14 @@  discard block
 block discarded – undo
34 34
                 'description'   => '',  
35 35
             );
36 36
             
37
-		parent::__construct( 
37
+        parent::__construct( 
38 38
             $oCaller->oProp->sClassName,  // base id 
39 39
             $sWidgetTitle,      // widget title
40 40
             $aArguments         // widget arguments
41 41
         );
42 42
         $this->oCaller = $oCaller;
43 43
      
44
-	}
44
+    }
45 45
     
46 46
     /**
47 47
      * Displays the widget contents in the front end.
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      * whether the title should be visible or not depending on the content.
52 52
      * @return      void
53 53
      */
54
-	public function widget( $aArguments, $aFormData ) {
54
+    public function widget( $aArguments, $aFormData ) {
55 55
            
56 56
         echo $aArguments[ 'before_widget' ];
57 57
         
@@ -74,9 +74,9 @@  discard block
 block discarded – undo
74 74
 
75 75
         echo $_sContent;
76 76
         
77
-		echo $aArguments[ 'after_widget' ];
77
+        echo $aArguments[ 'after_widget' ];
78 78
 		
79
-	}
79
+    }
80 80
         /**
81 81
          * Returns the widget title.
82 82
          * 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             if ( ! $_sTitle ) {
106 106
                 return '';
107 107
             }
108
-           return $aArguments['before_title'] 
108
+            return $aArguments['before_title'] 
109 109
                 . $_sTitle 
110 110
             . $aArguments['after_title'];           
111 111
             
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      * @since       3.2.0
118 118
      * @return      mixed       The validated form data. The type should be an array but it is dealt by the framework user it will be unknown.
119 119
      */
120
-	public function update( $aSubmittedFormData, $aSavedFormData ) {
120
+    public function update( $aSubmittedFormData, $aSavedFormData ) {
121 121
                 
122 122
         $aSubmittedFormData = $this->oCaller->oUtil->addAndApplyFilters(
123 123
             $this->oCaller, 
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         );
132 132
         return $this->oCaller->oForm->getInputsUnset( $aSubmittedFormData, $this->oCaller->oForm->sStructureType ); // 3.8.17+
133 133
 
134
-	}
134
+    }
135 135
     
136 136
     /**
137 137
      * Constructs the widget form with the given saved form data.
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      * 
143 143
      * @return      void
144 144
      */
145
-	public function form( $aSavedFormData ) {
145
+    public function form( $aSavedFormData ) {
146 146
         
147 147
         $this->oCaller->oForm->aCallbacks = $this->_getFormCallbacks() + $this->oCaller->oForm->aCallbacks;
148 148
 
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
         $this->oCaller->oForm->aSectionsets          = $_aSectionsets;
182 182
         $this->oCaller->oForm->aFieldsets            = $_aFieldsets;
183 183
         
184
-	}
184
+    }
185 185
         /**
186 186
          * Calls the load() method of the caller factory object.
187 187
          * 
Please login to merge, or discard this patch.
development/factory/_common/form/AdminPageFramework_Form_Utility.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
             // For form sections, a dummy key is set
59 59
             if ( '__dummy_option_key' === $_aDimensionalKeys[ 0 ] ) {
60
-                 array_shift( $_aDimensionalKeys );
60
+                    array_shift( $_aDimensionalKeys );
61 61
             }
62 62
 
63 63
             // The first element is the option key for the `admin_page` field type and section or field dimensional keys follow.
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         }
130 130
         
131 131
         // If the first element is a string, it is an inline mixed field definition.
132
-       return is_array( self::getElement( $aFieldset[ 'content' ], 0 ) );
132
+        return is_array( self::getElement( $aFieldset[ 'content' ], 0 ) );
133 133
        
134 134
     }  
135 135
 
Please login to merge, or discard this patch.