File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ public function __construct(callable $classLoader)
205
205
if (false === $ test || false === $ i ) {
206
206
// filesystem is case sensitive
207
207
self ::$ caseCheck = 0 ;
208
- } elseif (substr ($ test , - \strlen ( $ file )) === $ file ) {
208
+ } elseif (str_ends_with ($ test , $ file )) {
209
209
// filesystem is case insensitive and realpath() normalizes the case of characters
210
210
self ::$ caseCheck = 1 ;
211
211
} elseif (false !== stripos (\PHP_OS , 'darwin ' )) {
Original file line number Diff line number Diff line change 19
19
"php" : " >=7.1.3" ,
20
20
"psr/log" : " ^1|^2|^3" ,
21
21
"symfony/debug" : " ^4.4.5" ,
22
- "symfony/polyfill-php80" : " ^1.15 " ,
22
+ "symfony/polyfill-php80" : " ^1.16 " ,
23
23
"symfony/var-dumper" : " ^4.4|^5.0"
24
24
},
25
25
"require-dev" : {
You can’t perform that action at this time.
0 commit comments