mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing deprecation error due to changes in API
This commit is contained in:
parent
4ec75c6052
commit
c49662e2ca
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ class CodeCoverageManager {
|
|||
|
||||
$folder =& new Folder();
|
||||
$folder->cd(ROOT . DS . CAKE_TESTS_LIB);
|
||||
$contents = $folder->ls();
|
||||
$contents = $folder->read();
|
||||
|
||||
if (in_array(basename($testFile), $contents[1])) {
|
||||
$testFile = basename($testFile);
|
||||
|
|
Loading…
Reference in a new issue