mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
reformatting code.
This commit is contained in:
parent
39e05bce4a
commit
9f4597effd
1 changed files with 8 additions and 9 deletions
|
@ -52,14 +52,13 @@ class CakeTestSuiteCommand extends PHPUnit_TextUI_Command {
|
|||
$this->longOptions['output='] = 'handleReporter';
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Ugly hack to get around PHPUnit having a hard coded classname for the Runner. :(
|
||||
*
|
||||
* @param array $argv
|
||||
* @param boolean $exit
|
||||
*/
|
||||
public function run(array $argv, $exit = TRUE)
|
||||
{
|
||||
public function run(array $argv, $exit = true) {
|
||||
$this->handleArguments($argv);
|
||||
|
||||
$runner = new CakeTestRunner($this->arguments['loader'], $this->_params);
|
||||
|
@ -81,7 +80,7 @@ class CakeTestSuiteCommand extends PHPUnit_TextUI_Command {
|
|||
$this->arguments['testFile']
|
||||
);
|
||||
|
||||
$result = $skeleton->generate(TRUE);
|
||||
$result = $skeleton->generate(true);
|
||||
|
||||
if (!$result['incomplete']) {
|
||||
eval(str_replace(array('<?php', '?>'), '', $result['code']));
|
||||
|
|
Loading…
Reference in a new issue