Completed
Push — master ( 627e2d...409536 )
by Michael
02:53
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.
code/forms/gridfield/GridFieldSiteTreeAddNewButton.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,8 +84,8 @@  discard block
 block discarded – undo
84 84
         $forTemplate->Fields->push($pageTypes);
85 85
         $forTemplate->Fields->push($addAction);
86 86
 
87
-        Requirements::css(LUMBERJACK_DIR . "/css/lumberjack.css");
88
-        Requirements::javascript(LUMBERJACK_DIR . "/javascript/GridField.js");
87
+        Requirements::css(LUMBERJACK_DIR."/css/lumberjack.css");
88
+        Requirements::javascript(LUMBERJACK_DIR."/javascript/GridField.js");
89 89
 
90 90
         return array($this->targetFragment => $forTemplate->renderWith("GridFieldSiteTreeAddNewButton"));
91 91
     }
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
             // Get the current record
136 136
             $record = SiteTree::get()->byId($controller->currentPageID());
137 137
             if ($record) {
138
-                $response->redirect(Director::absoluteBaseURL() . $record->CMSEditLink(), 301);
138
+                $response->redirect(Director::absoluteBaseURL().$record->CMSEditLink(), 301);
139 139
             }
140 140
             return $response;
141 141
         }
Please login to merge, or discard this patch.
code/forms/gridfield/GridFieldSiteTreeState.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             if ($record->hasMethod("isPublished")) {
37 37
                 $modifiedLabel = "";
38 38
                 if ($record->isModifiedOnStage) {
39
-                    $modifiedLabel = "<span class='modified'>" . _t("GridFieldSiteTreeState.Modified", "Modified") . "</span>";
39
+                    $modifiedLabel = "<span class='modified'>"._t("GridFieldSiteTreeState.Modified", "Modified")."</span>";
40 40
                 }
41 41
 
42 42
                 $published = $record->isPublished();
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
                         array(
58 58
                             "date" => $record->dbObject("LastEdited")->Nice()
59 59
                         )
60
-                    ) . $modifiedLabel;
60
+                    ).$modifiedLabel;
61 61
                 }
62 62
             }
63 63
         }
Please login to merge, or discard this patch.