Fix some PHPStan issues. #35
ci.yaml
on: push
phpcs
/
phpcs
25s
phpstan
/
phpstan
35s
Matrix: phplint / phplint
Annotations
10 errors
phpstan / phpstan:
src/Extension.php#L158
Cannot cast mixed to int.
|
phpstan / phpstan:
src/Extension.php#L171
Parameter #1 $string of function urldecode expects string, mixed given.
|
phpstan / phpstan:
src/Extension.php#L184
Constant WP_SESSION_COOKIE not found.
|
phpstan / phpstan:
src/Extension.php#L207
Parameter #1 ...$arrays of function array_merge expects array, mixed given.
|
phpstan / phpstan:
src/Extension.php#L208
Parameter #2 ...$arrays of function array_merge expects array, mixed given.
|
phpstan / phpstan:
src/Extension.php#L259
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::submission_actions() has parameter $actions with no value type specified in iterable type array.
|
phpstan / phpstan:
src/Extension.php#L259
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::submission_actions() has parameter $form_cache with no value type specified in iterable type array.
|
phpstan / phpstan:
src/Extension.php#L259
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::submission_actions() has parameter $form_data with no value type specified in iterable type array.
|
phpstan / phpstan:
src/Extension.php#L259
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::submission_actions() return type has no value type specified in iterable type array.
|
phpstan / phpstan:
src/Extension.php#L334
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::maybe_update_session_before_response() has parameter $data with no value type specified in iterable type array.
|