Passed
Push — master ( 601cfd...7bcbf1 )
by Michiel
22:46
created
src/Phing/Task/System/FailTask.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,8 +121,7 @@
 block discarded – undo
121 121
      */
122 122
     public function main()
123 123
     {
124
-        $fail = $this->nestedConditionPresent() ? $this->testNestedCondition() :
125
-            $this->testIfCondition() && $this->testUnlessCondition();
124
+        $fail = $this->nestedConditionPresent() ? $this->testNestedCondition() : $this->testIfCondition() && $this->testUnlessCondition();
126 125
 
127 126
         if ($fail) {
128 127
             $text = null;
Please login to merge, or discard this patch.
src/Phing/Task/System/PhingTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -581,7 +581,7 @@
 block discarded – undo
581 581
                 }
582 582
 
583 583
                 $subprojRefKeys[] = $refid;
584
-                unset($this->references[$i]);//thisReferences.remove(refid);
584
+                unset($this->references[$i]); //thisReferences.remove(refid);
585 585
                 $toRefid = $ref->getToRefid();
586 586
                 if ($toRefid === null) {
587 587
                     $toRefid = $refid;
Please login to merge, or discard this patch.
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.