Passed
Pull Request — master (#69)
by Stephan
01:59
created
src/Hook/Condition/FileChanged/Any.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     private function didAnyFileChange(array $changedFiles): bool
66 66
     {
67 67
         foreach ($this->filesToWatch as $filePattern) {
68
-            foreach($changedFiles as $changedFile) {
68
+            foreach ($changedFiles as $changedFile) {
69 69
                 if (fnmatch($filePattern, $changedFile)) {
70 70
                     return true;
71 71
                 }
Please login to merge, or discard this patch.
src/Hook/Condition/FileChanged/All.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,14 +52,14 @@
 block discarded – undo
52 52
     {
53 53
         foreach ($this->filesToWatch as $filePattern) {
54 54
             $foundPattern = false;
55
-            foreach($changedFiles as $changedFile) {
55
+            foreach ($changedFiles as $changedFile) {
56 56
                 if (fnmatch($filePattern, $changedFile)) {
57 57
                     $foundPattern = true;
58 58
                     break;
59 59
                 }
60 60
             }
61 61
 
62
-            if(!$foundPattern) {
62
+            if (!$foundPattern) {
63 63
                 return false;
64 64
             }
65 65
         }
Please login to merge, or discard this patch.