|
@@ -79,7 +79,7 @@ discard block |
|
|
block discarded – undo |
|
79
|
79
|
|
|
80
|
80
|
$cmd = escapeshellarg($this->options['executable']) . ' '; |
|
81
|
81
|
if (isset($this->options['xdebugExtensionFile'])) { |
|
82
|
|
- if(!is_file($this->options['xdebugExtensionFile'])){ // PHP is quite when extension file does not exists |
|
|
82
|
+ if (!is_file($this->options['xdebugExtensionFile'])) { // PHP is quite when extension file does not exists |
|
83
|
83
|
$this->error("Xdebug extension file '{$this->options['xdebugExtensionFile']}' does not exists."); |
|
84
|
84
|
} |
|
85
|
85
|
$cmd .= '-d zend_extension=' . escapeshellarg($this->options['xdebugExtensionFile']) . ' '; |
|
@@ -92,7 +92,7 @@ discard block |
|
|
block discarded – undo |
|
92
|
92
|
|
|
93
|
93
|
$currdir = getcwd(); |
|
94
|
94
|
$result = @chdir($this->workingDir); |
|
95
|
|
- if(!$result){ |
|
|
95
|
+ if (!$result) { |
|
96
|
96
|
$this->error("Cannot change working directory to '$this->workingDir'."); |
|
97
|
97
|
} |
|
98
|
98
|
|
|
@@ -104,7 +104,7 @@ discard block |
|
|
block discarded – undo |
|
104
|
104
|
} |
|
105
|
105
|
|
|
106
|
106
|
$result = @chdir($currdir); |
|
107
|
|
- if(!$result){ |
|
|
107
|
+ if (!$result) { |
|
108
|
108
|
$this->error("Cannot change working directory back to '$currdir'."); |
|
109
|
109
|
} |
|
110
|
110
|
} |
Please login to merge, or discard this patch.