mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing typos.
Removing useless constant. Fixing constructor
This commit is contained in:
parent
a8f289349e
commit
081509a09c
2 changed files with 3 additions and 7 deletions
|
@ -237,7 +237,7 @@ class TestSuiteShell extends Shell {
|
|||
$this->err(sprintf(__('%s is invalid. Should be case, group or all', true), $this->type));
|
||||
return false;
|
||||
}
|
||||
$ext = $this->Manager->getExtensino($this->type);
|
||||
$ext = $this->Manager->getExtension($this->type);
|
||||
|
||||
switch ($this->type) {
|
||||
case 'all':
|
||||
|
|
|
@ -17,10 +17,6 @@
|
|||
* @since CakePHP(tm) v 1.2.0.4433
|
||||
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
|
||||
*/
|
||||
if (! defined('ST_FAILDETAIL_SEPARATOR')) {
|
||||
define('ST_FAILDETAIL_SEPARATOR', "->");
|
||||
}
|
||||
|
||||
if (version_compare(PHP_VERSION, '4.4.4', '<=') ||
|
||||
PHP_SAPI == 'cgi') {
|
||||
define('STDOUT', fopen('php://stdout', 'w'));
|
||||
|
@ -37,9 +33,9 @@
|
|||
*/
|
||||
class CakeCliReporter extends TextReporter {
|
||||
|
||||
var $faildetail_separator = ST_FAILDETAIL_SEPARATOR;
|
||||
var $faildetail_separator = '->';
|
||||
|
||||
function CLIReporter($faildetail_separator = NULL) {
|
||||
function CakeCLIReporter($faildetail_separator = NULL) {
|
||||
$this->SimpleReporter();
|
||||
if (! is_null($faildetail_separator)) {
|
||||
$this->setFailDetailSeparator($faildetail_separator);
|
||||
|
|
Loading…
Reference in a new issue