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
|
@ -58,8 +58,7 @@ class CakeTestSuiteCommand extends PHPUnit_TextUI_Command {
|
||||||
* @param array $argv
|
* @param array $argv
|
||||||
* @param boolean $exit
|
* @param boolean $exit
|
||||||
*/
|
*/
|
||||||
public function run(array $argv, $exit = TRUE)
|
public function run(array $argv, $exit = true) {
|
||||||
{
|
|
||||||
$this->handleArguments($argv);
|
$this->handleArguments($argv);
|
||||||
|
|
||||||
$runner = new CakeTestRunner($this->arguments['loader'], $this->_params);
|
$runner = new CakeTestRunner($this->arguments['loader'], $this->_params);
|
||||||
|
@ -81,7 +80,7 @@ class CakeTestSuiteCommand extends PHPUnit_TextUI_Command {
|
||||||
$this->arguments['testFile']
|
$this->arguments['testFile']
|
||||||
);
|
);
|
||||||
|
|
||||||
$result = $skeleton->generate(TRUE);
|
$result = $skeleton->generate(true);
|
||||||
|
|
||||||
if (!$result['incomplete']) {
|
if (!$result['incomplete']) {
|
||||||
eval(str_replace(array('<?php', '?>'), '', $result['code']));
|
eval(str_replace(array('<?php', '?>'), '', $result['code']));
|
||||||
|
|
Loading…
Reference in a new issue