Fix typos #289
Open
Fix typos #289
Annotations
6 errors and 1 warning
Run PHPStan:
includes/avatar-privacy/components/class-block-editor.php#L243
Offset 'align' does not exist on array{user_id: int, avatar_size: int, className: string}.
|
Run PHPStan:
includes/avatar-privacy/components/class-settings-page.php#L220
Parameter #2 $option_value of method Avatar_Privacy\Upload_Handlers\Custom_Default_Icon_Upload_Handler::save_uploaded_default_icon() expects array<string>|string, mixed given.
|
Run PHPStan:
includes/avatar-privacy/integrations/class-ultimate-member-integration.php#L157
Filter callback return statement is missing.
|
Run PHPStan:
includes/avatar-privacy/tools/images/class-image-file.php#L135
Parameter #1 $file of function wp_handle_upload expects array{name?: string, type?: string, tmp_name?: string, size?: int, error?: int}, array{name: string, type: string, tmp_name: string, error: int|string, size: int} given.
|
Run PHPStan:
includes/avatar-privacy/tools/images/class-image-file.php#L195
Offset 'filename' does not exist on array{upload_dir: string, upload_error_handler?: callable(): mixed, unique_filename_callback?: callable(): mixed, upload_error_strings?: array<string>, test_form?: bool, test_size?: bool, test_type?: bool, mimes?: array<string>}.
|
Run PHPStan
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading