Completed
Push — master ( 634ff1...3eb856 )
by Svilen
08:24 queued 05:16
created
phpunit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
 |
13 13
 */
14 14
 
15
-require __DIR__.'/vendor/autoload.php';
15
+require __DIR__ . '/vendor/autoload.php';
16 16
 
Please login to merge, or discard this patch.
src/Checks/File/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
      */
14 14
     protected function isValid($file)
15 15
     {
16
-        return ! is_null(json_decode(@file_get_contents($file)));
16
+        return !is_null(json_decode(@file_get_contents($file)));
17 17
     }
18 18
 }
Please login to merge, or discard this patch.
src/Checks/File/Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $errors = [];
37 37
 
38 38
         foreach ($this->files as $file) {
39
-            if (! is_file($file) || ! $this->isValid($file)) {
39
+            if (!is_file($file) || !$this->isValid($file)) {
40 40
                 $errors[] = $file;
41 41
             }
42 42
         }
Please login to merge, or discard this patch.
src/Checks/File/Xml.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     {
16 16
         $doc = new \DOMDocument();
17 17
 
18
-        if (! @$doc->load($file)) {
18
+        if (!@$doc->load($file)) {
19 19
             return false;
20 20
         }
21 21
 
Please login to merge, or discard this patch.
src/Checks/Storage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
                 $builder->down()->withData('error', 'Contents mismatch');
31 31
             }
32 32
 
33
-            if (! StorageFacade::disk($name)->delete($file)) {
33
+            if (!StorageFacade::disk($name)->delete($file)) {
34 34
                 $builder->down()->withData('error', 'Could not delete file');
35 35
             }
36 36
         } catch (\Exception $exception) {
Please login to merge, or discard this patch.
src/Checks/Filesystem/DirectoryIsReadable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $paths = $this->getParam('paths', []);
20 20
 
21 21
         foreach ($paths as $path) {
22
-            if (! is_dir($path) || ! is_readable($path)) {
22
+            if (!is_dir($path) || !is_readable($path)) {
23 23
                 $builder->down()->withData('path', $path);
24 24
             }
25 25
         }
Please login to merge, or discard this patch.
src/Checks/Filesystem/FileIsWritable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $files = $this->getParam('files', []);
20 20
 
21 21
         foreach ($files as $file) {
22
-            if (! is_file($file) || ! is_writeable($file)) {
22
+            if (!is_file($file) || !is_writeable($file)) {
23 23
                 $builder->down()->withData('file', $file);
24 24
             }
25 25
         }
Please login to merge, or discard this patch.
src/Checks/Filesystem/DirectoryIsWritable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $paths = $this->getParam('paths', []);
20 20
 
21 21
         foreach ($paths as $path) {
22
-            if (! is_dir($path) || ! is_writeable($path)) {
22
+            if (!is_dir($path) || !is_writeable($path)) {
23 23
                 $builder->down()->withData('path', $path);
24 24
             }
25 25
         }
Please login to merge, or discard this patch.
src/Checks/Filesystem/FileIsReadable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $files = $this->getParam('files', []);
20 20
 
21 21
         foreach ($files as $file) {
22
-            if (! is_file($file) || ! is_readable($file)) {
22
+            if (!is_file($file) || !is_readable($file)) {
23 23
                 $builder->down()->withData('file', $file);
24 24
             }
25 25
         }
Please login to merge, or discard this patch.