Passed
Push — master ( 391a55...501b52 )
by Alexey
08:40 queued 11s
created
src/ZipFile.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,11 +111,11 @@
 block discarded – undo
111 111
     public function openFile($filename, array $options = [])
112 112
     {
113 113
         if (!file_exists($filename)) {
114
-            throw new ZipException("File {$filename} does not exist.");
114
+            throw new ZipException("file {$filename} does not exist.");
115 115
         }
116 116
 
117 117
         if (!($handle = @fopen($filename, 'rb'))) {
118
-            throw new ZipException("File {$filename} can't open.");
118
+            throw new ZipException("file {$filename} can't open.");
119 119
         }
120 120
 
121 121
         return $this->openFromStream($handle, $options);
Please login to merge, or discard this patch.
src/Util/FilesUtil.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@
 block discarded – undo
276 276
             \DIRECTORY_SEPARATOR,
277 277
             array_filter(
278 278
                 explode('/', (string) $path),
279
-                static function ($part) {
279
+                static function($part) {
280 280
                     return $part !== '.' && $part !== '..';
281 281
                 }
282 282
             )
Please login to merge, or discard this patch.