Skip to content

Update phpunit/phpunit requirement from ^8.3 || ^9 to ^11.2.6 #36

Update phpunit/phpunit requirement from ^8.3 || ^9 to ^11.2.6

Update phpunit/phpunit requirement from ^8.3 || ^9 to ^11.2.6 #36

Triggered via pull request July 9, 2024 22:07
Status Failure
Total duration 27s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpstan: src/Containers/ParsedInput.php#L154
Return type of Firehed\Input\Containers\ParsedInput::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
phpstan: src/Containers/ParsedInput.php#L166
Return type of Firehed\Input\Containers\ParsedInput::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
phpstan: src/Containers/ParsedInput.php#L185
Return type of Firehed\Input\Containers\ParsedInput::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
phpstan: src/Containers/ParsedInput.php#L193
Return type of Firehed\Input\Containers\ParsedInput::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
phpstan: tests/Containers/ParsedInputTest.php#L1
Ignored error pattern #^Method Firehed\\Input\\Containers\\ParsedInputTest\:\:nestedValidationExceptions\(\) has no return typehint specified\.$# in path /home/runner/work/input/input/tests/Containers/ParsedInputTest.php was not matched in reported errors.
phpstan: tests/Containers/ParsedInputTest.php#L1
Ignored error pattern #^Method Firehed\\Input\\Containers\\ParsedInputTest\:\:testValidateHandlesInputExceptions\(\) has parameter \$invalid with no value type specified in iterable type array\.$# in path /home/runner/work/input/input/tests/Containers/ParsedInputTest.php was not matched in reported errors.
phpstan: tests/Containers/ParsedInputTest.php#L1
Ignored error pattern #^Method Firehed\\Input\\Containers\\ParsedInputTest\:\:testValidateHandlesInputExceptions\(\) has parameter \$missing with no value type specified in iterable type array\.$# in path /home/runner/work/input/input/tests/Containers/ParsedInputTest.php was not matched in reported errors.
phpstan: tests/Containers/ParsedInputTest.php#L1
Ignored error pattern #^Method Firehed\\Input\\Containers\\ParsedInputTest\:\:testValidateHandlesInputExceptions\(\) has parameter \$unexpected with no value type specified in iterable type array\.$# in path /home/runner/work/input/input/tests/Containers/ParsedInputTest.php was not matched in reported errors.
phpstan: vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/Exception.php#L18
Syntax error, unexpected T_READONLY, expecting T_CLASS on line 18
phpstan: vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/ReturnStub.php#L17
Syntax error, unexpected T_READONLY, expecting T_CLASS on line 17
phpstan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpstan
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/