@@ -121,8 +121,7 @@ |
||
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; |
@@ -581,7 +581,7 @@ |
||
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; |
@@ -111,11 +111,11 @@ |
||
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'; |