Completed
Branch master (bf4987)
by Michael
03:55
created
form/_view/attribute/AdminPageFramework_Form_View___Attribute_Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      * 
25 25
      * @since       3.6.0
26 26
      */
27
-    public $sContext    = '';
27
+    public $sContext = '';
28 28
  
29 29
     /**
30 30
      * 
Please login to merge, or discard this patch.
_view/attribute/AdminPageFramework_Form_View___Attribute_SectionTable.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
  */
18 18
 class AdminPageFramework_Form_View___Attribute_SectionTable extends AdminPageFramework_Form_View___Attribute_Base {
19 19
 
20
-    public $sContext    = 'section_table';
20
+    public $sContext = 'section_table';
21 21
                    
22 22
     /**
23 23
      * Returns an attribute array.
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     protected function _getAttributes() {    
29 29
         return array( 
30
-            'id'    => 'section_table-' . $this->aArguments[ '_tag_id' ], // 'section-' . $sSectionID . '__' . $iSectionIndex
30
+            'id'    => 'section_table-'.$this->aArguments[ '_tag_id' ], // 'section-' . $sSectionID . '__' . $iSectionIndex
31 31
             'class' =>  $this->getClassAttribute(
32 32
                 'form-table',
33 33
                 'admin-page-framework-section-table'   // referred by the collapsible section script
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * @since       3.6.0
26 26
      * @return      array
27 27
      */
28
-    protected function _getAttributes() {    
28
+    protected function _getAttributes() {
29 29
         return array( 
30 30
             'id'    => 'section_table-' . $this->aArguments[ '_tag_id' ], // 'section-' . $sSectionID . '__' . $iSectionIndex
31 31
             'class' =>  $this->getClassAttribute(
Please login to merge, or discard this patch.
factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_Form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     protected function _get() {
25 25
 
26
-        $_sSpinnerURL  = esc_url( admin_url( '/images/wpspin_light-2x.gif' ) );
26
+        $_sSpinnerURL = esc_url( admin_url( '/images/wpspin_light-2x.gif' ) );
27 27
         return <<<CSSRULES
28 28
 .admin-page-framework-form-warning {
29 29
     font-weight: bold;
Please login to merge, or discard this patch.
_common/form/_view/css/AdminPageFramework_Form_View___CSS_Loading.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,11 +23,11 @@
 block discarded – undo
23 23
      */
24 24
     protected function _get() {
25 25
 
26
-        $_sSpinnerPath = $this->getWPAdminDirPath() . '/images/wpspin_light-2x.gif';
27
-        if ( ! file_exists( $_sSpinnerPath ) ) {
26
+        $_sSpinnerPath = $this->getWPAdminDirPath().'/images/wpspin_light-2x.gif';
27
+        if ( !file_exists( $_sSpinnerPath ) ) {
28 28
             return '';
29 29
         }
30
-        $_sSpinnerURL  = esc_url( admin_url( '/images/wpspin_light-2x.gif' ) );
30
+        $_sSpinnerURL = esc_url( admin_url( '/images/wpspin_light-2x.gif' ) );
31 31
         return <<<CSSRULES
32 32
 .admin-page-framework-form-loading {
33 33
     position: absolute;
Please login to merge, or discard this patch.
_common/form/_view/css/AdminPageFramework_Form_View___CSS_Section.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -24,13 +24,13 @@
 block discarded – undo
24 24
     protected function _get() {
25 25
         return $this->_getFormSectionRules();
26 26
     }
27
-         /**
28
-         * Returns the CSS rules for form fields.
29
-         * 
30
-         * @since       3.4.0
31
-         * @since       3.7.0      Moved from `AdminPageFramework_CSS`.
32
-         * @internal
33
-         */    
27
+            /**
28
+             * Returns the CSS rules for form fields.
29
+             * 
30
+             * @since       3.4.0
31
+             * @since       3.7.0      Moved from `AdminPageFramework_CSS`.
32
+             * @internal
33
+             */    
34 34
         private function _getFormSectionRules() {
35 35
             
36 36
             return <<<CSSRULES
Please login to merge, or discard this patch.
factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_Base.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * @since   DEVVER
30 30
      */
31 31
     public function add( $sCSSRules ) {
32
-        $this->aAdded[] = $sCSSRules;
32
+        $this->aAdded[ ] = $sCSSRules;
33 33
     }
34 34
     
35 35
     /**
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function get() {
40 40
         
41
-        $_sCSSRules  = $this->_get() . PHP_EOL;
41
+        $_sCSSRules  = $this->_get().PHP_EOL;
42 42
         $_sCSSRules .= $this->_getVersionSpecific();
43 43
         $_sCSSRules .= implode( PHP_EOL, $this->aAdded );
44 44
         return $this->isDebugMode()
Please login to merge, or discard this patch.
_common/form/_view/css/AdminPageFramework_Form_View___CSS_FieldError.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      * @since       DEVVER
22 22
      * @return      string
23 23
      */
24
-    protected function _get() {        
24
+    protected function _get() {
25 25
         return $this->_getRules();
26 26
     }
27 27
         /**
Please login to merge, or discard this patch.
factory/_common/form/_view/AdminPageFramework_Form_View___Description.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 block discarded – undo
50 50
         }
51 51
         
52 52
         $_aOutput = array();
53
-        foreach( $this->aDescriptions as $_sDescription ) {
54
-            $_aOutput[] = "<p class='" . esc_attr( $this->sClassAttribute ) . "'>"
53
+        foreach ( $this->aDescriptions as $_sDescription ) {
54
+            $_aOutput[ ] = "<p class='".esc_attr( $this->sClassAttribute )."'>"
55 55
                     . "<span class='description'>"
56 56
                         . $_sDescription
57 57
                     . "</span>"
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  * @internal
17 17
  * @extends     AdminPageFramework_FrameworkUtility
18 18
  */
19
-class AdminPageFramework_Form_View___Description extends AdminPageFramework_FrameworkUtility {            
19
+class AdminPageFramework_Form_View___Description extends AdminPageFramework_FrameworkUtility {
20 20
 
21 21
     public $aDescriptions   = array();
22 22
     
Please login to merge, or discard this patch.
_view/script/AdminPageFramework_Form_View___Script_CollapsibleSection.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         
43 43
         $_aParams               = func_get_args() + array( null );
44 44
         $_oMsg                  = $_aParams[ 0 ];        
45
-        $_sToggleAllButtonHTML  = '"' . self::_getToggleAllButtonHTML( $_oMsg ) . '"';                
45
+        $_sToggleAllButtonHTML  = '"'.self::_getToggleAllButtonHTML( $_oMsg ).'"';                
46 46
            
47 47
         return <<<JAVASCRIPTS
48 48
 ( function( $ ) {
@@ -192,18 +192,18 @@  discard block
 block discarded – undo
192 192
             $_sLabelToggleAll           = $oMsg->get( 'toggle_all' );
193 193
             $_sLabelToggleAllSections   = $oMsg->get( 'toggle_all_collapsible_sections' );
194 194
             $_sDashIconSort             = self::getAOrB( 
195
-                version_compare( $GLOBALS['wp_version'], '3.8', '<' ),  // evaluate
195
+                version_compare( $GLOBALS[ 'wp_version' ], '3.8', '<' ), // evaluate
196 196
                 '', // true
197 197
                 'dashicons dashicons-sort' // false
198 198
             );         
199
-            $_sText                     = self::getAOrB( 
199
+            $_sText = self::getAOrB( 
200 200
                 $_sDashIconSort, // evaluate
201 201
                 '', // true
202 202
                 $_sLabelToggleAll // false
203 203
             );
204 204
             return "<div class='admin-page-framework-collapsible-toggle-all-button-container'>"
205
-                    . "<span class='admin-page-framework-collapsible-toggle-all-button button " . $_sDashIconSort . "'"
206
-                        . " title='" . esc_attr( $_sLabelToggleAllSections ) 
205
+                    . "<span class='admin-page-framework-collapsible-toggle-all-button button ".$_sDashIconSort."'"
206
+                        . " title='".esc_attr( $_sLabelToggleAllSections ) 
207 207
                     . "'>"
208 208
                         . $_sText
209 209
                     . "</span>"
Please login to merge, or discard this patch.