diff options
author | krakjoe <joe.watkins@live.co.uk> | 2014-06-13 07:35:11 +0100 |
---|---|---|
committer | krakjoe <joe.watkins@live.co.uk> | 2014-06-13 07:35:11 +0100 |
commit | ab353c0a555313765dc43fd85771e6c53485bd35 (patch) | |
tree | bdabf4b9222498b12f67d665d6c772d1654a3eff | |
parent | d337fb0b62cd8abbe74931d9bc22d4ae50509719 (diff) | |
download | php-git-ab353c0a555313765dc43fd85771e6c53485bd35.tar.gz |
remove all references
-rw-r--r-- | tests/run-tests.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/run-tests.php b/tests/run-tests.php index 4ee0e1c59b..1cc31d815e 100644 --- a/tests/run-tests.php +++ b/tests/run-tests.php @@ -135,8 +135,8 @@ namespace phpdbg\testing { * @param array basic configuration * @param array command line */ - public function __construct(TestsConfiguration &$config) { - $this->config = &$config; + public function __construct(TestsConfiguration $config) { + $this->config = $config; if ($this->config->hasFlag('help') || $this->config->hasFlag('h')) { @@ -153,7 +153,7 @@ namespace phpdbg\testing { $paths = array(); $where = ($in != null) ? array($in) : $this->config['path']; - foreach ($where as &$path) { + foreach ($where as $path) { if ($path) { if (is_dir($path)) { $paths[] = $path; @@ -357,7 +357,7 @@ namespace phpdbg\testing { * @param array configuration * @param string file */ - public function __construct(TestsConfiguration &$config, &$file) { + public function __construct(TestsConfiguration $config, $file) { if (($handle = fopen($file, 'r'))) { while (($line = fgets($handle))) { $trim = trim($line); @@ -420,8 +420,8 @@ namespace phpdbg\testing { } fclose($handle); - $this->config = &$config; - $this->file = &$file; + $this->config = $config; + $this->file = $file; } } @@ -528,7 +528,7 @@ namespace phpdbg\testing { * Write log to disk if configuration allows it * */ - protected function writeLog(&$result = null) { + protected function writeLog($result = null) { $log = sprintf( '%s/%s.log', dirname($this->file), basename($this->file)); |