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() { 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';