Completed
Branch dev (71673f)
by
unknown
05:17
created
form/_model/formatter/AdminPageFramework_Form_Model___Format_Fieldset.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
         $_aFieldset[ 'class' ] = $this->getAsArray( $_aFieldset[ 'class' ] );
196 196
 
197 197
         // 3.8.0+ Support nested fields and inline_mized field type.
198
-        if ( $this->hasFieldDefinitionsInContent( $_aFieldset ) ) {        
198
+        if ( $this->hasFieldDefinitionsInContent( $_aFieldset ) ) {
199 199
             $_aFieldset[ 'content' ] = $this->_getChildFieldsetsFormatted( $_aFieldset[ 'content' ], $_aFieldset );
200 200
         }        
201 201
         
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
          * @since       3.8.8
223 223
          * @return      boolean
224 224
          */
225
-        private function _getShowDebugInfo( $aFieldset ) {   
225
+        private function _getShowDebugInfo( $aFieldset ) {
226 226
 
227 227
             // If the user sets a value. use it.
228 228
             if ( isset( $aFieldset[ 'show_debug_info' ] ) ) {
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
             foreach( $aNestedFieldsets as $_isIndex => &$_aNestedFieldset ) {
299 299
                 
300 300
                 // The inline-mixed type has a string element.
301
-                if ( is_scalar( $_aNestedFieldset ) ) {                    
301
+                if ( is_scalar( $_aNestedFieldset ) ) {
302 302
                     $_aNestedFieldset = array( 
303 303
                         'field_id'              => $aParentFieldset[ 'field_id' ] . '_' . uniqid(),
304 304
                         'content'               => $_aNestedFieldset,
Please login to merge, or discard this patch.
_common/utility/base_utility/AdminPageFramework_Utility_Deprecated.php 1 patch
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -50,27 +50,27 @@
 block discarded – undo
50 50
      * @since       3.5.3           Moved from `AdminPageFramework_Utility_Array`.
51 51
      * @deprecated  3.5.3           Use `getElement()`. 
52 52
      */
53
-    public static function getCorrespondingArrayValue( $vSubject, $sKey, $sDefault='', $bBlankToDefault=false ) {    
53
+    public static function getCorrespondingArrayValue( $vSubject, $sKey, $sDefault='', $bBlankToDefault=false ) {
54 54
                 
55 55
         AdminPageFramework_Utility::showDeprecationNotice( __FUNCTION__, 'getElement()' );
56 56
                 
57 57
         // If $vSubject is null,
58
-        if ( ! isset( $vSubject ) ) { 
58
+        if ( ! isset( $vSubject ) ) {
59 59
             return $sDefault; 
60 60
         }
61 61
             
62 62
         // If the $bBlankToDefault flag is set and the subject value is a blank string, return the default value.
63
-        if ( $bBlankToDefault && $vSubject == '' ) { 
63
+        if ( $bBlankToDefault && $vSubject == '' ) {
64 64
             return  $sDefault; 
65 65
         }
66 66
             
67 67
         // If $vSubject is not an array, 
68
-        if ( ! is_array( $vSubject ) ) { 
68
+        if ( ! is_array( $vSubject ) ) {
69 69
             return ( string ) $vSubject; 
70 70
         } // consider it as string.
71 71
         
72 72
         // Consider $vSubject as array.
73
-        if ( isset( $vSubject[ $sKey ] ) ) { 
73
+        if ( isset( $vSubject[ $sKey ] ) ) {
74 74
             return $vSubject[ $sKey ]; 
75 75
         }
76 76
         
Please login to merge, or discard this patch.
development/factory/admin_page/AdminPageFramework_Router.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      * @since       3.3.1       Moved from `AdminPageFramework_Base`.
94 94
      * @internal
95 95
      */
96
-    public function __call( $sMethodName, $aArgs=null ) {     
96
+    public function __call( $sMethodName, $aArgs=null ) {
97 97
 
98 98
         $_sPageSlug             = $this->oProp->getCurrentPageSlug();
99 99
         $_sTabSlug              = $this->oProp->getCurrentTabSlug( $_sPageSlug );
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
             // Note that the if the tab is the first item, and the user arrives the page by clicking on the sidebar menu, the tab slug will be empty unless an in-page tab is added.
183 183
             $sTabSlug = $this->oProp->getCurrentTabSlug( $sPageSlug );
184 184
             
185
-            if ( strlen( $sTabSlug ) ) { 
185
+            if ( strlen( $sTabSlug ) ) {
186 186
                 $this->_setShowDebugInfoProperty( $sPageSlug, $sTabSlug );  // 3.8.8+
187 187
                 $this->oUtil->addAndDoActions( 
188 188
                     $this, // the caller object
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
             return true;
306 306
         }    
307 307
 
308
-        if ( ! isset( $_GET[ 'page' ] ) ) { 
308
+        if ( ! isset( $_GET[ 'page' ] ) ) {
309 309
             return false; 
310 310
         }        
311 311
         
Please login to merge, or discard this patch.
development/factory/admin_page/AdminPageFramework_Controller_Menu.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -267,12 +267,12 @@  discard block
 block discarded – undo
267 267
     public function addSubMenuLink( array $aSubMenuLink ) {
268 268
         
269 269
         // If required keys are not set, return.
270
-        if ( ! isset( $aSubMenuLink[ 'href' ], $aSubMenuLink[ 'title' ] ) ) { 
270
+        if ( ! isset( $aSubMenuLink[ 'href' ], $aSubMenuLink[ 'title' ] ) ) {
271 271
             return; 
272 272
         }
273 273
         
274 274
         // If the set URL is not valid, return.
275
-        if ( ! filter_var( $aSubMenuLink[ 'href' ], FILTER_VALIDATE_URL ) ) { 
275
+        if ( ! filter_var( $aSubMenuLink[ 'href' ], FILTER_VALIDATE_URL ) ) {
276 276
             return; 
277 277
         }
278 278
 
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
      */ 
335 335
     public function addSubMenuPage( array $aSubMenuPage ) {
336 336
 
337
-        if ( ! isset( $aSubMenuPage[ 'page_slug' ] ) ) { 
337
+        if ( ! isset( $aSubMenuPage[ 'page_slug' ] ) ) {
338 338
             return; 
339 339
         }
340 340
             
Please login to merge, or discard this patch.
factory/admin_page/_view/AdminPageFramework_PageLoadInfo_admin_page.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public static function instantiate( $oProp, $oMsg ) {
30 30
         
31
-        if ( in_array( $oProp->sClassName, self::$aClassNames ) ) {            
31
+        if ( in_array( $oProp->sClassName, self::$aClassNames ) ) {
32 32
             return self::$_oInstance;
33 33
         }
34 34
         
Please login to merge, or discard this patch.
_view/AdminPageFramework_PageLoadInfo_network_admin_page.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,11 +42,11 @@
 block discarded – undo
42 42
      */
43 43
     public static function instantiate( $oProp, $oMsg ) {
44 44
 
45
-        if ( ! is_network_admin() ) { 
45
+        if ( ! is_network_admin() ) {
46 46
             return;
47 47
         }     
48 48
         
49
-        if ( in_array( $oProp->sClassName, self::$aClassNames ) ) {            
49
+        if ( in_array( $oProp->sClassName, self::$aClassNames ) ) {
50 50
             return self::$_oInstance;
51 51
         }
52 52
         
Please login to merge, or discard this patch.