Skip to content

Improve type inference for FormElementManager::get() #632

Improve type inference for FormElementManager::get()

Improve type inference for FormElementManager::get() #632

Re-run triggered January 9, 2024 12:42
Status Failure
Total duration 57s
Artifacts

continuous-integration.yml

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

Annotations

6 errors and 4 warnings
PossiblyInvalidArgument: src/View/Helper/AbstractHelper.php#L570
src/View/Helper/AbstractHelper.php:570:51: PossiblyInvalidArgument: Argument 1 of Laminas\I18n\Translator\TranslatorInterface::translate expects string, but possibly different type int|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/View/Helper/FormButton.php#L92
src/View/Helper/FormButton.php:92:55: PossiblyInvalidArgument: Argument 2 of Laminas\Form\View\Helper\FormButton::escapeLabel expects string, but possibly different type int|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/View/Helper/FormCollection.php#L148
src/View/Helper/FormCollection.php:148:55: PossiblyInvalidArgument: Argument 2 of Laminas\Form\View\Helper\FormCollection::escapeLabel expects string, but possibly different type int|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/View/Helper/FormLabel.php#L65
src/View/Helper/FormLabel.php:65:51: PossiblyInvalidArgument: Argument 2 of Laminas\Form\View\Helper\FormLabel::escapeLabel expects string, but possibly different type int|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/View/Helper/FormMultiCheckbox.php#L215
src/View/Helper/FormMultiCheckbox.php:215:51: PossiblyInvalidArgument: Argument 2 of Laminas\Form\View\Helper\FormMultiCheckbox::escapeLabel expects string, but possibly different type int|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/View/Helper/FormRow.php#L170
src/View/Helper/FormRow.php:170:51: PossiblyInvalidArgument: Argument 2 of Laminas\Form\View\Helper\FormRow::escapeLabel expects string, but possibly different type int|non-empty-string provided (see https://psalm.dev/092)
ci / QA Checks (PHPUnit [8.1, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Failed to download action 'https://api.github.com/repos/laminas/laminas-continuous-integration-action/tarball/d5c9077e578c3764aad410acd14245a1e62c1fca'. Error: Response status code does not indicate success: 500 (Internal Server Error).
ci / QA Checks (PHPUnit [8.1, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Failed to download action 'https://api.github.com/repos/laminas/laminas-continuous-integration-action/tarball/d5c9077e578c3764aad410acd14245a1e62c1fca'. Error: Response status code does not indicate success: 500 (Internal Server Error).