Skip to content

Commit bd0c634

Browse files
Merge pull request #413 from tsmgeek/patch-4
Fix deprecation message in php8 with null param with realpath()
2 parents 5ca64ea + 22800df commit bd0c634

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/classmap_generator.php

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
exit(2);
9393
}
9494
$libraryPath = $opts->l;
95+
} else {
96+
$libraryPath = '.';
9597
}
9698
$libraryPath = str_replace(DIRECTORY_SEPARATOR, '/', realpath($libraryPath));
9799

0 commit comments

Comments
 (0)