Passed
Pull Request — master (#258)
by
unknown
03:41
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   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
             'title' => __('Colors', 'flynt'),
126 126
             'description' => 'description', // Include html tags such as <p>.
127 127
             'priority' => 160, // Mixed with top-level-section hierarchy.
128
-         ]
128
+            ]
129 129
     );
130 130
 
131 131
     $wp_customize->add_section(
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
 
278 278
     // Return default if no color provided
279 279
     if (empty($color)) {
280
-          return $default;
280
+            return $default;
281 281
     }
282 282
 
283 283
     // Sanitize $color if "#" is provided
@@ -385,14 +385,14 @@  discard block
 block discarded – undo
385 385
                     };
386 386
                     echo (get_theme_mod('theme_colors_accent-default')) ? '--theme-color-accent-alpha-default: ' . hex2rgba(get_theme_mod('theme_colors_accent-default'), $alphaColorAmount) . ';' : null;
387 387
                     echo (get_theme_mod('theme_colors_accent-default')) ? '--theme-color-accent-hover-default: ' . colorBrightness(get_theme_mod('theme_colors_accent-default'), $darkenColorAmount) . ';' : null;
388
-               } ?>
388
+                } ?>
389 389
                <?php if ($hasChangedLight) {
390 390
                     foreach ($colorsLight as $name => $color) {
391 391
                         echo (get_theme_mod('theme_colors_' . $name)) ? '--theme-color-' . $name . ': ' . get_theme_mod('theme_colors_' . $name) . ';' : null;
392 392
                     };
393 393
                     echo (get_theme_mod('theme_colors_accent-light')) ? '--theme-color-accent-alpha-light: ' . hex2rgba(get_theme_mod('theme_colors_accent-light'), $alphaColorAmount) . ';' : null;
394 394
                     echo (get_theme_mod('theme_colors_accent-light')) ? '--theme-color-accent-hover-light: ' . colorBrightness(get_theme_mod('theme_colors_accent-light'), $darkenColorAmount) . ';' : null;
395
-               } ?>
395
+                } ?>
396 396
                 <?php if ($hasChangedDark) {
397 397
                     foreach ($colorsDark as $name => $color) {
398 398
                         echo (get_theme_mod('theme_colors_' . $name)) ? '--theme-color-' . $name . ': ' . get_theme_mod('theme_colors_' . $name) . ';' : null;
Please login to merge, or discard this patch.