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() {
|
||||
$params = $this->_parseArgs();
|
||||
$testCases = CakeTestLoader::generateTestList($params);
|
||||
$app = $params['app'];
|
||||
$plugin = $params['plugin'];
|
||||
$app = isset($params['app']) ? $params['app'] : null;
|
||||
$plugin = isset($params['plugin']) ? $params['plugin'] : null;
|
||||
|
||||
$title = "Core Test Cases:";
|
||||
$category = 'core';
|
||||
|
|
Loading…
Reference in a new issue