Fix typos #382
ci.yml
on: pull_request
Matrix: coverage
Matrix: Check Coding Standards
Matrix: Static Analysis
Matrix: unit-tests
Annotations
16 errors and 8 warnings
Check Coding Standards (8.2):
includes/avatar-privacy/data-storage/class-filesystem-cache.php#L98
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"The cache directory {$this->base_dir} could not be created."'.
|
Check Coding Standards (8.2):
includes/avatar-privacy/data-storage/database/class-table.php#L401
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Invalid column name '{$key}'."'.
|
Check Coding Standards (8.2):
includes/avatar-privacy/data-storage/database/class-table.php#L572
Expected 1 space after FUNCTION keyword; 0 found
|
Check Coding Standards (8.2):
includes/avatar-privacy/class-factory.php#L573
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Invalid named instance {$instance}."'.
|
Check Coding Standards (8.2):
includes/avatar-privacy/components/class-setup.php#L339
Expected 1 space after FUNCTION keyword; 0 found
|
Check Coding Standards (8.2):
includes/avatar-privacy/tools/images/class-image-file.php#L109
Expected 1 space after FUNCTION keyword; 0 found
|
Check Coding Standards (8.2):
includes/avatar-privacy/tools/images/class-image-file.php#L181
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Error copying $image_url to $temp_file."'.
|
Check Coding Standards (8.2):
includes/avatar-privacy/tools/images/class-image-file.php#L211
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$sideloaded['error']'.
|
Check Coding Standards (8.2):
includes/avatar-privacy/tools/images/class-image-stream.php#L556
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"{$url} is not a valid stream URL"'.
|
Check Coding Standards (8.2):
includes/avatar-privacy/tools/images/class-editor.php#L103
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"{$url} is not a valid stream URL"'.
|
Static Analysis (8.2):
includes/avatar-privacy/components/class-block-editor.php#L243
Offset 'align' does not exist on array{user_id: int, avatar_size: int, className: string}.
|
Static Analysis (8.2):
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.
|
Static Analysis (8.2):
includes/avatar-privacy/integrations/class-ultimate-member-integration.php#L157
Filter callback return statement is missing.
|
Static Analysis (8.2):
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.
|
Static Analysis (8.2):
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>}.
|
Static Analysis (8.2)
Process completed with exit code 1.
|
Unit tests (PHP 8.0)
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/.
|
Unit tests (PHP 8.3)
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/.
|
Unit tests (PHP 7.4)
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/.
|
Check Coding Standards (8.2)
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/.
|
Unit tests (PHP 8.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/.
|
Static Analysis (8.2)
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/.
|
Unit tests (PHP 8.2)
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/.
|
Coverage & SonarCloud (PHP 8.2)
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/.
|