Add fix for splitFormatString with format parameter without any split characters

Other phpstan fixes
This commit is contained in:
Clemens Schwaighofer
2025-06-05 14:37:42 +09:00
parent dbc72472f9
commit 62d9cda3d0
2 changed files with 12 additions and 2 deletions

View File

@@ -135,6 +135,11 @@ final class CoreLibsConvertStringsTest extends TestCase
public function splitFormatStringExceptionProvider(): array
{
return [
'string format with no splitter match' => [
'1234',
'22',
'12-34'
],
'invalid format string' => [
'1234',
'2あ2',