We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdd1e00 commit cf21cceCopy full SHA for cf21cce
Utils/FileUtils.php
@@ -17,6 +17,6 @@ public static function safeExists($file)
17
*/
18
public static function isPhar($file)
19
{
20
- return substr(strtolower($file), 0, 7) === 'phar://';
+ return substr(strtolower(trim($file)), 0, 7) === 'phar://';
21
}
22
0 commit comments