Completed
Pull Request — master (#29)
by Robbie
03:55
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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             $result = preg_replace("#</?[^>]>#", '', implode(', ', $groupNames));
47 47
         } else {
48 48
             // If no groups then return a status label
49
-            $result = _t(__CLASS__ . '.NOGROUPS', 'Not in a Security Group');
49
+            $result = _t(__CLASS__.'.NOGROUPS', 'Not in a Security Group');
50 50
         }
51 51
         
52 52
         if (class_exists(Subsite::class)) {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             foreach ($permissionsSrc as $k => $v) {
77 77
                 if (isset($v[$code])) {
78 78
                     $name = empty($v[$code]['name'])
79
-                        ? _t(__CLASS__ . '.UNKNOWN', 'Unknown')
79
+                        ? _t(__CLASS__.'.UNKNOWN', 'Unknown')
80 80
                         : $v[$code]['name'];
81 81
                     $permissionNames[] = $name;
82 82
                 }
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
         $result = $permissionNames
87 87
             ? implode(', ', $permissionNames)
88
-            : _t(__CLASS__ . '.NOPERMISSIONS', 'No Permissions');
88
+            : _t(__CLASS__.'.NOPERMISSIONS', 'No Permissions');
89 89
         
90 90
         if (class_exists(Subsite::class)) {
91 91
             Subsite::disable_subsite_filter(false);
Please login to merge, or discard this patch.