Completed
Push — master ( 24a71d...4147fa )
by Robbie
9s
created
src/Forms/GridFieldExportReportButton.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                 }
54 54
             }
55 55
 
56
-            $fileData .= "\"" . implode("\"{$separator}\"", array_values($headers)) . "\"";
56
+            $fileData .= "\"".implode("\"{$separator}\"", array_values($headers))."\"";
57 57
             $fileData .= "\n";
58 58
         }
59 59
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                 }
85 85
 
86 86
                 $value = str_replace(array("\r", "\n"), "\n", $value);
87
-                $columnData[] = '"' . str_replace('"', '\"', $value) . '"';
87
+                $columnData[] = '"'.str_replace('"', '\"', $value).'"';
88 88
             }
89 89
             $fileData .= implode($separator, $columnData);
90 90
             $fileData .= "\n";
Please login to merge, or discard this patch.
src/UserSecurityReport.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function title()
48 48
     {
49
-        return _t(__CLASS__ . '.REPORTTITLE', 'Users, Groups and Permissions');
49
+        return _t(__CLASS__.'.REPORTTITLE', 'Users, Groups and Permissions');
50 50
     }
51 51
 
52 52
     /**
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         return str_replace(
60 60
             array('http', 'https', '://'),
61 61
             '',
62
-            Director::protocolAndHost() . ' - ' . date('d/m/Y H:i:s')
62
+            Director::protocolAndHost().' - '.date('d/m/Y H:i:s')
63 63
         );
64 64
     }
65 65
 
Please login to merge, or discard this patch.
src/MemberReportExtension.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             ->sort('Created', 'DESC')
51 51
             ->first();
52 52
 
53
-        return $lastTime ? $lastTime->dbObject('Created') : _t(__CLASS__ . '.NEVER', 'Never');
53
+        return $lastTime ? $lastTime->dbObject('Created') : _t(__CLASS__.'.NEVER', 'Never');
54 54
     }
55 55
 
56 56
     /**
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             $result = preg_replace("#</?[^>]>#", '', implode(', ', $groupNames));
77 77
         } else {
78 78
             // If no groups then return a status label
79
-            $result = _t(__CLASS__ . '.NOGROUPS', 'Not in a Security Group');
79
+            $result = _t(__CLASS__.'.NOGROUPS', 'Not in a Security Group');
80 80
         }
81 81
         
82 82
         if (class_exists(Subsite::class)) {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             foreach ($permissionsSrc as $k => $v) {
107 107
                 if (isset($v[$code])) {
108 108
                     $name = empty($v[$code]['name'])
109
-                        ? _t(__CLASS__ . '.UNKNOWN', 'Unknown')
109
+                        ? _t(__CLASS__.'.UNKNOWN', 'Unknown')
110 110
                         : $v[$code]['name'];
111 111
                     $permissionNames[] = $name;
112 112
                 }
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
         $result = $permissionNames
117 117
             ? implode(', ', $permissionNames)
118
-            : _t(__CLASS__ . '.NOPERMISSIONS', 'No Permissions');
118
+            : _t(__CLASS__.'.NOPERMISSIONS', 'No Permissions');
119 119
         
120 120
         if (class_exists(Subsite::class)) {
121 121
             Subsite::disable_subsite_filter(false);
Please login to merge, or discard this patch.