Passed
Push — master ( 0be41b...766fcd )
by Leo
02:55
created
code/ExtendedBlocks/TriColumnBlock.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 class TriColumnBlock extends Block {
4
-	private static $singular_name = 'Triple-column Block';
5
-	private static $db = array (
6
-		'LeftColumn'		=>	'HTMLText',
7
-		'MiddleColumn'	=>	'HTMLText',
8
-		'RightColumn'	=>	'HTMLText'
9
-	);
4
+    private static $singular_name = 'Triple-column Block';
5
+    private static $db = array (
6
+        'LeftColumn'		=>	'HTMLText',
7
+        'MiddleColumn'	=>	'HTMLText',
8
+        'RightColumn'	=>	'HTMLText'
9
+    );
10 10
 }
11 11
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 class TriColumnBlock extends Block {
4 4
 	private static $singular_name = 'Triple-column Block';
5
-	private static $db = array (
5
+	private static $db = array(
6 6
 		'LeftColumn'		=>	'HTMLText',
7 7
 		'MiddleColumn'	=>	'HTMLText',
8 8
 		'RightColumn'	=>	'HTMLText'
Please login to merge, or discard this patch.
_config.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-define('BLOCK_DIR',basename(dirname(__FILE__)));
4
-LeftAndMain::require_javascript( BLOCK_DIR. '/js/silverstripe-block.script.js' );
5
-$url        =   ltrim($_REQUEST['url'], '/');
6
-$segments   =   explode('/', $url);
3
+define('BLOCK_DIR', basename(dirname(__FILE__)));
4
+LeftAndMain::require_javascript(BLOCK_DIR.'/js/silverstripe-block.script.js');
5
+$url        = ltrim($_REQUEST['url'], '/');
6
+$segments   = explode('/', $url);
7 7
 if (count($segments) > 0) {
8 8
     if ($segments[0] == 'admin') {
9 9
         Requirements::css(BLOCK_DIR.'/css/blocks.css');
Please login to merge, or discard this patch.