refactor: using property promotion on ResponseTraitTest #12258
Annotations
10 errors
Run 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.
|
Run 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.
|
Run 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.
|
Run 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.
|
Run 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.
|
Run 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.
|
Run 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.
|
Run 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.
|
Run 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.
|
Run 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.
|
Loading