Completed
Pull Request — master (#42)
by
unknown
01:19
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
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         if ($lastTime) {
44 44
             return $lastTime->dbObject('Created')->format(DBDatetime::ISO_DATETIME);
45 45
         }
46
-        return _t(__CLASS__ . '.NEVER', 'Never');
46
+        return _t(__CLASS__.'.NEVER', 'Never');
47 47
     }
48 48
 
49 49
     /**
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             $result = preg_replace("#</?[^>]>#", '', implode(', ', $groupNames));
71 71
         } else {
72 72
             // If no groups then return a status label
73
-            $result = _t(__CLASS__ . '.NOGROUPS', 'Not in a Security Group');
73
+            $result = _t(__CLASS__.'.NOGROUPS', 'Not in a Security Group');
74 74
         }
75 75
 
76 76
         if (class_exists(Subsite::class)) {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
             foreach ($permissionsSrc as $k => $v) {
101 101
                 if (isset($v[$code])) {
102 102
                     $name = empty($v[$code]['name'])
103
-                        ? _t(__CLASS__ . '.UNKNOWN', 'Unknown')
103
+                        ? _t(__CLASS__.'.UNKNOWN', 'Unknown')
104 104
                         : $v[$code]['name'];
105 105
                     $permissionNames[] = $name;
106 106
                 }
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 
110 110
         $result = $permissionNames
111 111
             ? implode(', ', $permissionNames)
112
-            : _t(__CLASS__ . '.NOPERMISSIONS', 'No Permissions');
112
+            : _t(__CLASS__.'.NOPERMISSIONS', 'No Permissions');
113 113
 
114 114
         if (class_exists(Subsite::class)) {
115 115
             Subsite::disable_subsite_filter(false);
Please login to merge, or discard this patch.