mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #15087 from martinstuecklschwaiger/2.x
Make TestShell compatible with PHP 7.4
This commit is contained in:
commit
89e23927cd
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