Passed
Push — master ( 601cfd...7bcbf1 )
by Michiel
22:46
created
src/Phing/Task/System/FileHashTask.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,11 +111,11 @@
 block discarded – undo
111 111
         if ($this->algorithm !== '' && in_array($this->algorithm, hash_algos())) {
112 112
             $this->log("Calculating $this->algorithm hash from: " . $this->file);
113 113
             $hashValue = hash_file($this->algorithm, $this->file);
114
-        } elseif ((int)$this->hashtype === 0) {
114
+        } elseif ((int) $this->hashtype === 0) {
115 115
             $this->log("Calculating MD5 hash from: " . $this->file);
116 116
             $hashValue = md5_file($this->file, false);
117 117
             $this->algorithm = 'md5';
118
-        } elseif ((int)$this->hashtype === 1) {
118
+        } elseif ((int) $this->hashtype === 1) {
119 119
             $this->log("Calculating SHA1 hash from: " . $this->file);
120 120
             $hashValue = sha1_file($this->file, false);
121 121
             $this->algorithm = 'sha1';
Please login to merge, or discard this patch.