mirror of
https://github.com/pestphp/pest.git
synced 2026-04-24 07:57:29 +02:00
fix: replace substr with mb_substr in Str::beforeLast to ensure multibyte string compatibility and correct TeamCity test names for datasets in "describe" blocks
This commit is contained in:
@ -79,7 +79,7 @@ final class Str
|
||||
return $subject;
|
||||
}
|
||||
|
||||
return substr($subject, 0, $pos);
|
||||
return mb_substr($subject, 0, $pos);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user