mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Make TestShell compatible with PHP 7.4
This commit is contained in:
parent
5bc68fc9ec
commit
bb58933691
1 changed files with 2 additions and 2 deletions
|
@ -291,8 +291,8 @@ class TestShell extends Shell {
|
||||||
public function available() {
|
public function available() {
|
||||||
$params = $this->_parseArgs();
|
$params = $this->_parseArgs();
|
||||||
$testCases = CakeTestLoader::generateTestList($params);
|
$testCases = CakeTestLoader::generateTestList($params);
|
||||||
$app = $params['app'];
|
$app = isset($params['app']) ? $params['app'] : null;
|
||||||
$plugin = $params['plugin'];
|
$plugin = isset($params['plugin']) ? $params['plugin'] : null;
|
||||||
|
|
||||||
$title = "Core Test Cases:";
|
$title = "Core Test Cases:";
|
||||||
$category = 'core';
|
$category = 'core';
|
||||||
|
|
Loading…
Reference in a new issue