Completed
Branch master (7d0370)
by Askupa
02:31
created
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
     // Load required classes if not using composer
18 18
 }
19 19
\ No newline at end of file
Please login to merge, or discard this patch.
functions.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@
 block discarded – undo
11 11
  */
12 12
 
13 13
 // Prevent direct file access
14
-defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
14
+defined('ABSPATH') or die('No script kiddies please!');
15 15
 
16 16
 /**
17 17
  * Prevent loading the library more than once
18 18
  */
19
-if( defined( 'AMARKAL_VALIDATION' ) ) return false;
20
-define( 'AMARKAL_VALIDATION', true );
21 19
\ No newline at end of file
20
+if (defined('AMARKAL_VALIDATION')) return false;
21
+define('AMARKAL_VALIDATION', true);
22 22
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,5 +16,7 @@
 block discarded – undo
16 16
 /**
17 17
  * Prevent loading the library more than once
18 18
  */
19
-if( defined( 'AMARKAL_VALIDATION' ) ) return false;
19
+if( defined( 'AMARKAL_VALIDATION' ) ) {
20
+    return false;
21
+}
20 22
 define( 'AMARKAL_VALIDATION', true );
21 23
\ No newline at end of file
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.