Skip to content

Commit

Permalink
[Phing] Removed php compat condition (#1307)
Browse files Browse the repository at this point in the history
  • Loading branch information
siad007 authored Apr 10, 2020
1 parent 916631e commit 844995a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions classes/phing/Phing.php
Original file line number Diff line number Diff line change
Expand Up @@ -1583,11 +1583,7 @@ private static function setSystemConstants()
break;
}

if (defined('PHP_BINARY')) {
self::setProperty(self::PHP_INTERPRETER, PHP_BINARY);
} else {
self::setProperty(self::PHP_INTERPRETER, getenv('PHP_COMMAND'));
}
self::setProperty(self::PHP_INTERPRETER, PHP_BINARY);
self::setProperty('file.separator', FileUtils::$separator);
self::setProperty('line.separator', PHP_EOL);
self::setProperty('path.separator', FileUtils::$pathSeparator);
Expand Down

0 comments on commit 844995a

Please sign in to comment.