Make TestShell compatible with PHP 7.4

This commit is contained in:
Martin Stuecklschwaiger 2020-10-21 17:48:23 +00:00
parent 5bc68fc9ec
commit bb58933691

View file

@ -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';