v9 upgrades #4
Annotations
10 errors
PHPStan:
build/GeneratePhonePrefixData.php#L316
Parameter &$mappings by-ref type of method libphonenumber\buildtools\GeneratePhonePrefixData::makeDataFallbackToEnglish() expects array<string, string>, array<int|string, string> given.
|
PHPStan:
build/GeneratePhonePrefixData.php#L334
Parameter #2 $mappings of method libphonenumber\buildtools\GeneratePhonePrefixData::hasOverlappingPrefix() expects array<string, string>, array<int|string, string> given.
|
PHPStan:
build/GeneratePhonePrefixData.php#L386
Method libphonenumber\buildtools\GeneratePhonePrefixData::splitMap() should return array<int|string, array<string, string>> but returns array<string, array<int|string, string>>.
|
PHPStan:
src/AlternateFormatsCountryCodeSet.php#L18
PHPDoc tag @param has invalid value (int[]): Unexpected token "\n ", expected variable at offset 94 on line 3
|
PHPStan:
src/AlternateFormatsCountryCodeSet.php#L20
Property libphonenumber\AlternateFormatsCountryCodeSet::$alternateFormatsCountryCodeSet type has no value type specified in iterable type array.
|
PHPStan:
src/CountryCodeToRegionCodeMap.php#L21
PHPDoc tag @param has invalid value (array<int,string[]>): Unexpected token "\n ", expected variable at offset 352 on line 6
|
PHPStan:
src/CountryCodeToRegionCodeMap.php#L24
Property libphonenumber\CountryCodeToRegionCodeMap::$countryCodeToRegionCodeMap type has no value type specified in iterable type array.
|
PHPStan:
src/CountryCodeToRegionCodeMapForTesting.php#L21
PHPDoc tag @param has invalid value (array<int,string[]>): Unexpected token "\n ", expected variable at offset 352 on line 6
|
PHPStan:
src/CountryCodeToRegionCodeMapForTesting.php#L24
Property libphonenumber\CountryCodeToRegionCodeMapForTesting::$countryCodeToRegionCodeMapForTesting type has no value type specified in iterable type array.
|
PHPStan:
src/ShortNumbersRegionCodeSet.php#L18
PHPDoc tag @param has invalid value (string[]): Unexpected token "\n ", expected variable at offset 88 on line 3
|