Skip to content

Dont set the locale implicitly #434

Dont set the locale implicitly

Dont set the locale implicitly #434

Triggered via pull request December 8, 2023 12:22
Status Failure
Total duration 1m 5s
Artifacts

continuous-integration.yml

on: pull_request
ci  /  Generate job matrix
8s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

22 errors
PropertyNotSetInConstructor: src/Validator/PhoneNumber.php#L53
src/Validator/PhoneNumber.php:53:15: PropertyNotSetInConstructor: Property Laminas\I18n\Validator\PhoneNumber::$country is not defined in constructor of Laminas\I18n\Validator\PhoneNumber or in any methods called in the constructor (see https://psalm.dev/074)
DocblockTypeContradiction: src/Validator/PhoneNumber.php#L149
src/Validator/PhoneNumber.php:149:13: DocblockTypeContradiction: string does not contain null (see https://psalm.dev/155)
MixedAssignment: src/View/Helper/Container/CountryCodeDataListFactory.php#L31
src/View/Helper/Container/CountryCodeDataListFactory.php:31:9: MixedAssignment: Unable to determine the type that $locale is being assigned to (see https://psalm.dev/032)
MixedArgument: src/View/Helper/Container/CountryCodeDataListFactory.php#L40
src/View/Helper/Container/CountryCodeDataListFactory.php:40:13: MixedArgument: Argument 3 of Laminas\I18n\View\Helper\CountryCodeDataList::__construct cannot be mixed|null, expecting null|string (see https://psalm.dev/030)
UnusedBaselineEntry: src/Filter/AbstractLocale.php#L1
src/Filter/AbstractLocale.php:0:0: UnusedBaselineEntry: Baseline for issue "InvalidPropertyAssignmentValue" has 1 extra entry. (see https://psalm.dev/316)
UnusedBaselineEntry: src/Filter/AbstractLocale.php#L1
src/Filter/AbstractLocale.php:0:0: UnusedBaselineEntry: Baseline for issue "MixedReturnStatement" has 1 extra entry. (see https://psalm.dev/316)