Skip to content

refactor: using property promotion on ResponseTraitTest #12258

refactor: using property promotion on ResponseTraitTest

refactor: using property promotion on ResponseTraitTest #12258

Triggered via pull request January 10, 2025 12:47
Status Failure
Total duration 32s
Artifacts

test-phpstan.yml

on: pull_request
PHP Static Analysis
23s
PHP Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHP Static Analysis: system/API/ResponseTrait.php (in context of class@anonymous/tests/system/API/ResponseTraitTest.php:173)#L82
Property class@anonymous/tests/system/API/ResponseTraitTest.php:173::$formatter has no type specified.
PHP Static Analysis: system/API/ResponseTrait.php (in context of class@anonymous/tests/system/API/ResponseTraitTest.php:173)#L92
Method class@anonymous/tests/system/API/ResponseTraitTest.php:173::respond() has parameter $data with no value type specified in iterable type array.
PHP Static Analysis: system/API/ResponseTrait.php (in context of class@anonymous/tests/system/API/ResponseTraitTest.php:173)#L128
Method class@anonymous/tests/system/API/ResponseTraitTest.php:173::fail() has parameter $messages with no value type specified in iterable type array.
PHP Static Analysis: system/API/ResponseTrait.php (in context of class@anonymous/tests/system/API/ResponseTraitTest.php:173)#L154
Method class@anonymous/tests/system/API/ResponseTraitTest.php:173::respondCreated() has parameter $data with no value type specified in iterable type array.
PHP Static Analysis: system/API/ResponseTrait.php (in context of class@anonymous/tests/system/API/ResponseTraitTest.php:173)#L166
Method class@anonymous/tests/system/API/ResponseTraitTest.php:173::respondDeleted() has parameter $data with no value type specified in iterable type array.
PHP Static Analysis: system/API/ResponseTrait.php (in context of class@anonymous/tests/system/API/ResponseTraitTest.php:173)#L178
Method class@anonymous/tests/system/API/ResponseTraitTest.php:173::respondUpdated() has parameter $data with no value type specified in iterable type array.
PHP Static Analysis: system/API/ResponseTrait.php (in context of class@anonymous/tests/system/API/ResponseTraitTest.php:173)#L307
Method class@anonymous/tests/system/API/ResponseTraitTest.php:173::format() has parameter $data with no value type specified in iterable type array.
PHP Static Analysis: system/API/ResponseTrait.php (in context of class@anonymous/tests/system/API/ResponseTraitTest.php:291)#L82
Property class@anonymous/tests/system/API/ResponseTraitTest.php:291::$formatter has no type specified.
PHP Static Analysis: system/API/ResponseTrait.php (in context of class@anonymous/tests/system/API/ResponseTraitTest.php:291)#L92
Method class@anonymous/tests/system/API/ResponseTraitTest.php:291::respond() has parameter $data with no value type specified in iterable type array.
PHP Static Analysis: system/API/ResponseTrait.php (in context of class@anonymous/tests/system/API/ResponseTraitTest.php:291)#L128
Method class@anonymous/tests/system/API/ResponseTraitTest.php:291::fail() has parameter $messages with no value type specified in iterable type array.