Passed
Pull Request — master (#258)
by
unknown
03:59
created
lib/Defaults.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         return $output;
26 26
     }
27 27
 
28
-  // this action needs to be removed by the user if they want to overwrite this functionality
28
+    // this action needs to be removed by the user if they want to overwrite this functionality
29 29
     public static function loadFunctionsFile($componentName)
30 30
     {
31 31
         $componentManager = ComponentManager::getInstance();
Please login to merge, or discard this patch.
Components/FormPasswordProtection/functions.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 add_filter('the_password_form', function ($output) {
9 9
     $context = Timber::get_context();
10 10
     $context['form'] = [
11
-      'url' => site_url('/wp-login.php?action=postpass', 'login_post')
11
+        'url' => site_url('/wp-login.php?action=postpass', 'login_post')
12 12
     ];
13 13
 
14 14
     return Timber::fetch('index.twig', $context);
Please login to merge, or discard this patch.
lib/Init.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,9 +53,9 @@
 block discarded – undo
53 53
         $pluginUrl = esc_url(admin_url('plugins.php'));
54 54
         $message = ["${pluginName} plugin not activated. Make sure you activate the plugin on the <a href=\"${pluginUrl}\">plugin page</a>."];
55 55
         $options = [
56
-          'type' => 'error',
57
-          'title' => 'Flynt is missing a required plugin',
58
-          'dismissible' => false,
56
+            'type' => 'error',
57
+            'title' => 'Flynt is missing a required plugin',
58
+            'dismissible' => false,
59 59
         ];
60 60
 
61 61
         $manager->addNotice($message, $options);
Please login to merge, or discard this patch.
inc/customizer-colors.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
             'title' => __('Colors', 'flynt'),
154 154
             'description' => 'description', // Include html tags such as <p>.
155 155
             'priority' => 160, // Mixed with top-level-section hierarchy.
156
-         ]
156
+            ]
157 157
     );
158 158
 
159 159
     $wp_customize->add_section(
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
         if ($name == 'background-light') {
243 243
             /**
244 244
             Separator 1
245
-            **/
245
+             **/
246 246
 
247 247
             $wp_customize->add_setting('separator_1', array(
248 248
                 'default'           => '',
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
 
261 261
             /**
262 262
             Section Title - Theme Light
263
-            **/
263
+             **/
264 264
             $wp_customize->add_setting('section_title_light', array(
265 265
                 'default'           => '',
266 266
                 'sanitize_callback' => 'flynt_text_sanitization',
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
 
340 340
     //Return default if no color provided
341 341
     if (empty($color)) {
342
-          return $default;
342
+            return $default;
343 343
     }
344 344
 
345 345
     //Sanitize $color if "#" is provided
@@ -447,14 +447,14 @@  discard block
 block discarded – undo
447 447
                     };
448 448
                     echo (get_theme_mod('theme_colors_accent')) ? '--color-accent-alpha: ' . hex2rgba(get_theme_mod('theme_colors_accent'), $alphaColorAmount) . ';' : null;
449 449
                     echo (get_theme_mod('theme_colors_accent')) ? '--color-accent-hover: ' . colorBrightness(get_theme_mod('theme_colors_accent'), $darkenColorAmount) . ';' : null;
450
-               } ?>
450
+                } ?>
451 451
                <?php if ($hasChangedLight) {
452 452
                     foreach ($colorsLight as $name => $color) {
453 453
                         echo (get_theme_mod('theme_colors_' . $name)) ? '--color-' . $name . ': ' . get_theme_mod('theme_colors_' . $name) . ';' : null;
454 454
                     };
455 455
                     echo (get_theme_mod('theme_colors_accent-light')) ? '--color-accent-light-alpha: ' . hex2rgba(get_theme_mod('theme_colors_accent-light'), $alphaColorAmount) . ';' : null;
456 456
                     echo (get_theme_mod('theme_colors_accent-light')) ? '--color-accent-light-hover: ' . colorBrightness(get_theme_mod('theme_colors_accent-light'), $darkenColorAmount) . ';' : null;
457
-               } ?>
457
+                } ?>
458 458
                 <?php if ($hasChangedDark) {
459 459
                     foreach ($colorsDark as $name => $color) {
460 460
                         echo (get_theme_mod('theme_colors_' . $name)) ? '--color-' . $name . ': ' . get_theme_mod('theme_colors_' . $name) . ';' : null;
Please login to merge, or discard this patch.