Completed
Push — master ( c48475...3a1116 )
by Askupa
02:12
created
functions.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,15 +13,15 @@  discard block
 block discarded – undo
13 13
  */
14 14
 
15 15
 // Prevent direct file access
16
-defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
16
+defined('ABSPATH') or die('No script kiddies please!');
17 17
 
18 18
 /**
19 19
  * Prevent loading the library more than once
20 20
  */
21
-if( defined( 'AMARKAL_WIDGET' ) ) return false;
22
-define( 'AMARKAL_WIDGET', true );
21
+if (defined('AMARKAL_WIDGET')) return false;
22
+define('AMARKAL_WIDGET', true);
23 23
 
24
-if(!function_exists('amarkal_widget_style'))
24
+if (!function_exists('amarkal_widget_style'))
25 25
 {
26 26
     /**
27 27
      * Print widget styles
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     function amarkal_widget_style() 
30 30
     {
31 31
         $cs = get_current_screen();
32
-        if( 'widgets' === $cs->base )
32
+        if ('widgets' === $cs->base)
33 33
         {
34 34
             echo '<style>';
35 35
             include 'widget.css';
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,9 @@
 block discarded – undo
18 18
 /**
19 19
  * Prevent loading the library more than once
20 20
  */
21
-if( defined( 'AMARKAL_WIDGET' ) ) return false;
21
+if( defined( 'AMARKAL_WIDGET' ) ) {
22
+    return false;
23
+}
22 24
 define( 'AMARKAL_WIDGET', true );
23 25
 
24 26
 if(!function_exists('amarkal_widget_style'))
Please login to merge, or discard this patch.
bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
  */
7 7
 
8 8
 // Prevent direct file access
9
-defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
9
+defined('ABSPATH') or die('No script kiddies please!');
10 10
 
11 11
 /**
12 12
  * Load module functions. If this amarkal module has not been loaded, 
13 13
  * functions.php will not return false.
14 14
  */
15
-if(false !== require_once 'functions.php')
15
+if (false !== require_once 'functions.php')
16 16
 {
17 17
     require_once 'AbstractWidget.php';
18 18
     require_once 'FormField.php';
Please login to merge, or discard this patch.
composer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  */
7 7
 
8 8
 // Prevent direct file access
9
-defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
9
+defined('ABSPATH') or die('No script kiddies please!');
10 10
 
11 11
 // Load module functions
12 12
 require_once 'functions.php';
Please login to merge, or discard this patch.