Skip to content

Commit 8a56070

Browse files
committed
Use strtolower
1 parent 6507ba2 commit 8a56070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function cli_autoload( $className ) {
66
$fileName = '';
77
$namespace = '';
88
if ($lastNsPos = strrpos($className, '\\')) {
9-
$namespace = substr($className, 0, $lastNsPos);
9+
$namespace = strtolower(substr($className, 0, $lastNsPos));
1010
$className = substr($className, $lastNsPos + 1);
1111
$fileName = str_replace('\\', DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR;
1212
}

0 commit comments

Comments
 (0)