Completed
Push — master ( e1e0ed...abd824 )
by Zhmayev
05:42
created
conf/wordpress/environments/production.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2,15 +2,15 @@
 block discarded – undo
2 2
 
3 3
 // ** PHP error settings ** //
4 4
 error_reporting( E_ERROR | E_PARSE );
5
-ini_set( 'display_errors',       0 );
5
+ini_set( 'display_errors', 0 );
6 6
 
7 7
 // ** Wordpress debug settings ** //
8
-define( 'WP_DEBUG',              getenv( 'WP_DEBUG' ) ?: true );
9
-define( 'WP_DEBUG_DISPLAY',      getenv( 'WP_DEBUG_DISPLAY' ) ?: false );
10
-define( 'WP_DEBUG_LOG',          getenv( 'WP_DEBUG_LOG' ) ?: true );
11
-define( 'SAVEQUERIES',           getenv( 'SAVEQUERIES' ) ?: false );
12
-define( 'SCRIPT_DEBUG',          getenv( 'SCRIPT_DEBUG' ) ?: false );
8
+define( 'WP_DEBUG', getenv( 'WP_DEBUG' ) ?: true );
9
+define( 'WP_DEBUG_DISPLAY', getenv( 'WP_DEBUG_DISPLAY' ) ?: false );
10
+define( 'WP_DEBUG_LOG', getenv( 'WP_DEBUG_LOG' ) ?: true );
11
+define( 'SAVEQUERIES', getenv( 'SAVEQUERIES' ) ?: false );
12
+define( 'SCRIPT_DEBUG', getenv( 'SCRIPT_DEBUG' ) ?: false );
13 13
 
14
-define( 'FS_CHMOD_DIR', (0775 & ~ umask() ) );
15
-define( 'FS_CHMOD_FILE', (0664 & ~ umask() ) );
14
+define( 'FS_CHMOD_DIR', ( 0775 & ~ umask() ) );
15
+define( 'FS_CHMOD_FILE', ( 0664 & ~ umask() ) );
16 16
 define( 'FS_METHOD', 'direct' );
Please login to merge, or discard this patch.
conf/wordpress/environments/development.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -2,21 +2,21 @@
 block discarded – undo
2 2
 
3 3
 // ** Allow switching on onscreen error reporting ** //
4 4
 // ** by using 'DEBUG' GET/POST variable ** //
5
-$debug_mode = isset( $_REQUEST['DEBUG'] )
6
-	? ( intval( $_REQUEST['DEBUG'] ) ?: 1 )
5
+$debug_mode = isset( $_REQUEST[ 'DEBUG' ] )
6
+	? ( intval( $_REQUEST[ 'DEBUG' ] ) ?: 1 )
7 7
 	: 0;
8 8
 
9 9
 // ** PHP error settings ** //
10 10
 error_reporting( E_ERROR | E_WARNING | E_PARSE | E_NOTICE );
11
-ini_set( 'display_errors',          $debug_mode > 0 );
11
+ini_set( 'display_errors', $debug_mode > 0 );
12 12
 
13 13
 // ** Wordpress debug settings ** //
14
-define( 'WP_DEBUG',                 getenv( 'WP_DEBUG_DISPLAY' ) ?: true );
15
-define( 'WP_DEBUG_DISPLAY',         $debug_mode > 0 || getenv( 'WP_DEBUG_DISPLAY' ) );
16
-define( 'WP_DEBUG_LOG',             $debug_mode < 1 || getenv( 'WP_DEBUG_LOG' ) );
17
-define( 'SAVEQUERIES',              3 === $debug_mode || getenv( 'SAVEQUERIES' ) );
18
-define( 'SCRIPT_DEBUG',             2 === $debug_mode || getenv( 'SCRIPT_DEBUG' ) );
14
+define( 'WP_DEBUG', getenv( 'WP_DEBUG_DISPLAY' ) ?: true );
15
+define( 'WP_DEBUG_DISPLAY', $debug_mode > 0 || getenv( 'WP_DEBUG_DISPLAY' ) );
16
+define( 'WP_DEBUG_LOG', $debug_mode < 1 || getenv( 'WP_DEBUG_LOG' ) );
17
+define( 'SAVEQUERIES', 3 === $debug_mode || getenv( 'SAVEQUERIES' ) );
18
+define( 'SCRIPT_DEBUG', 2 === $debug_mode || getenv( 'SCRIPT_DEBUG' ) );
19 19
 
20
-define( 'FS_CHMOD_DIR', (0775 & ~ umask() ) );
21
-define( 'FS_CHMOD_FILE', (0664 & ~ umask() ) );
20
+define( 'FS_CHMOD_DIR', ( 0775 & ~ umask() ) );
21
+define( 'FS_CHMOD_FILE', ( 0664 & ~ umask() ) );
22 22
 define( 'FS_METHOD', 'direct' );
Please login to merge, or discard this patch.