Store metadata in objects instead of arrays #11
Annotations
7 errors
Run PHPStan
Process completed with exit code 1.
|
Run PHPStan:
src/MultiFileMetadataSourceImpl.php#L84
Property libphonenumber\MultiFileMetadataSourceImpl::$regionToMetadataMap (array<libphonenumber\PhoneMetadata>) does not accept array<object>.
|
Run PHPStan:
src/MultiFileMetadataSourceImpl.php#L82
Property libphonenumber\MultiFileMetadataSourceImpl::$countryCodeToNonGeographicalMetadataMap (array<libphonenumber\PhoneMetadata>) does not accept array<object>.
|
Run PHPStan:
build/Builders/PhoneMetadataBuilder.php#L363
Variable $value might not be defined.
|
Run PHPStan:
build/Builders/PhoneMetadataBuilder.php#L21
Cannot import type alias PhoneNumberDescArray: type alias does not exist in libphonenumber\PhoneNumberDesc.
|
Run PHPStan:
build/BuildMetadataPHPFromXml.php#L75
Only numeric types are allowed in +, int|false given on the left side.
|
Run PHPStan:
build/BuildMetadataPHPFromXml.php#L74
Parameter #3 $length of function substr expects int|null, int|false given.
|
Loading