Completed
Push — master ( 1a65d0...469b54 )
by Michael
11s
created
tests/LumberjackTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     protected function filteredClassNames($classNames, $explicitClassNames)
41 41
     {
42
-        $classNames = array_filter($classNames, function ($value) use ($explicitClassNames) {
42
+        $classNames = array_filter($classNames, function($value) use ($explicitClassNames) {
43 43
             return in_array($value, $explicitClassNames);
44 44
         });
45 45
         return $classNames;
Please login to merge, or discard this patch.
src/Forms/GridFieldSiteTreeState.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             if ($record->hasMethod('isPublished')) {
40 40
                 $modifiedLabel = '';
41 41
                 if ($record->isModifiedOnStage) {
42
-                    $modifiedLabel = "<span class='modified'>" . _t('GridFieldSiteTreeState.Modified', 'Modified') . '</span>';
42
+                    $modifiedLabel = "<span class='modified'>"._t('GridFieldSiteTreeState.Modified', 'Modified').'</span>';
43 43
                 }
44 44
 
45 45
                 $published = $record->isPublished();
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
                     array(
61 61
                         'date' => $record->dbObject('LastEdited')->Nice()
62 62
                     )
63
-                ) . $modifiedLabel;
63
+                ).$modifiedLabel;
64 64
             }
65 65
         }
66 66
     }
Please login to merge, or discard this patch.
src/Forms/GridFieldSiteTreeAddNewButton.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,8 +116,8 @@
 block discarded – undo
116 116
         $forTemplate->Fields->push($pageTypes);
117 117
         $forTemplate->Fields->push($addAction);
118 118
 
119
-        Requirements::css(LUMBERJACK_DIR . '/css/lumberjack.css');
120
-        Requirements::javascript(LUMBERJACK_DIR . '/javascript/GridField.js');
119
+        Requirements::css(LUMBERJACK_DIR.'/css/lumberjack.css');
120
+        Requirements::javascript(LUMBERJACK_DIR.'/javascript/GridField.js');
121 121
 
122 122
         return [$this->targetFragment => $forTemplate->renderWith(__CLASS__)];
123 123
     }
Please login to merge, or discard this patch.