[Scrutinizer] Fix Major issues

This commit is contained in:
Andrés Montañez
2017-01-24 17:28:37 -03:00
parent 881cf7a3a9
commit aa47edbc1b
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -59,11 +59,11 @@ abstract class AbstractFileTask extends AbstractTask
'%environment%' => $this->runtime->getEnvironment(),
];
if ($this->runtime->getWorkingHost()) {
if ($this->runtime->getWorkingHost() !== null) {
$mapping['%host%'] = $this->runtime->getWorkingHost();
}
if ($this->runtime->getReleaseId()) {
if ($this->runtime->getReleaseId() !== null) {
$mapping['%release%'] = $this->runtime->getReleaseId();
}