mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +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 =& new Folder();
|
||||||
$folder->cd(ROOT . DS . CAKE_TESTS_LIB);
|
$folder->cd(ROOT . DS . CAKE_TESTS_LIB);
|
||||||
$contents = $folder->ls();
|
$contents = $folder->read();
|
||||||
|
|
||||||
if (in_array(basename($testFile), $contents[1])) {
|
if (in_array(basename($testFile), $contents[1])) {
|
||||||
$testFile = basename($testFile);
|
$testFile = basename($testFile);
|
||||||
|
|
Loading…
Reference in a new issue