Skip to content

WIP: Implement client side rendering #701

WIP: Implement client side rendering

WIP: Implement client side rendering #701

Triggered via pull request October 17, 2023 20:34
Status Failure
Total duration 2m 14s
Artifacts

coding-standards.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

40 errors
PHP / PHP 8.1 / PHP / PHP 8.1: classes/Util.php#L428
Method QM_Util::populate_callback() should return array{accepted_args: int, name?: string, file?: string|false, line?: int|false, error?: WP_Error, component?: QM_Component} but returns array<string, mixed>.
PHP / PHP 8.1 / PHP / PHP 8.1: collectors/db_queries.php#L230
Property QM_Data_DB_Queries::$rows (array<int, array{caller: string, caller_name: string|null, stack?: array<int, string>, sql: string, ltime: float, result: bool|int|WP_Error, type: string, component: QM_Component|null, ...}>) does not accept non-empty-array<int, array{caller: mixed, caller_name: mixed, stack?: array<int, string>, sql: string, ltime: float, result: bool|int|WP_Error|null, type: string, component: QM_Component|null, ...}>.
PHP / PHP 8.1 / PHP / PHP 8.1: collectors/languages.php#L176
Property QM_Data_Languages::$languages (array<string, array<string, array{caller: array<string, mixed>, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>) does not accept non-empty-array<string, array<string, array{caller: array|false, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>.
PHP / PHP 8.1 / PHP / PHP 8.1: collectors/languages.php#L208
Property QM_Data_Languages::$languages (array<string, array<string, array{caller: array<string, mixed>, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>) does not accept non-empty-array<string, array<string, array{caller: array|false, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>.
PHP / PHP 8.1 / PHP / PHP 8.1: output/html/db_queries.php#L320
Offset 'result' on array{caller: string, caller_name: string|null, stack?: array<int, string>, sql: string, ltime: float, result: bool|int|WP_Error, type: string, component: QM_Component|null, ...} in isset() always exists and is not nullable.
PHP / PHP 8.1 / PHP / PHP 8.1: output/html/db_queries.php#L340
Cannot access offset 'calling_file' on array|false.
PHP / PHP 8.1 / PHP / PHP 8.1: output/html/db_queries.php#L340
Cannot access offset 'calling_line' on array|false.
PHP / PHP 8.1 / PHP / PHP 8.1: output/html/db_queries.php#L346
Offset 'calling_file' does not exist on array{file: string, line: int, display: string}.
PHP / PHP 8.1 / PHP / PHP 8.1: output/html/db_queries.php#L346
Offset 'calling_line' does not exist on array{file: string, line: int, display: string}.
PHP / PHP 8.1 / PHP / PHP 8.1: output/html/db_queries.php#L396
Parameter #1 $text of function esc_attr expects string, float|string given.
PHP / PHP 7.4 / PHP / PHP 7.4: classes/Util.php#L428
Method QM_Util::populate_callback() should return array{accepted_args: int, name?: string, file?: string|false, line?: int|false, error?: WP_Error, component?: QM_Component} but returns array<string, mixed>.
PHP / PHP 7.4 / PHP / PHP 7.4: collectors/db_queries.php#L230
Property QM_Data_DB_Queries::$rows (array<int, array{caller: string, caller_name: string|null, stack?: array<int, string>, sql: string, ltime: float, result: bool|int|WP_Error, type: string, component: QM_Component|null, ...}>) does not accept non-empty-array<int, array{caller: mixed, caller_name: mixed, stack?: array<int, string>, sql: string, ltime: float, result: bool|int|WP_Error|null, type: string, component: QM_Component|null, ...}>.
PHP / PHP 7.4 / PHP / PHP 7.4: collectors/languages.php#L176
Property QM_Data_Languages::$languages (array<string, array<string, array{caller: array<string, mixed>, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>) does not accept non-empty-array<string, array<string, array{caller: array|false, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>.
PHP / PHP 7.4 / PHP / PHP 7.4: collectors/languages.php#L208
Property QM_Data_Languages::$languages (array<string, array<string, array{caller: array<string, mixed>, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>) does not accept non-empty-array<string, array<string, array{caller: array|false, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>.
PHP / PHP 7.4 / PHP / PHP 7.4: output/html/db_queries.php#L320
Offset 'result' on array{caller: string, caller_name: string|null, stack?: array<int, string>, sql: string, ltime: float, result: bool|int|WP_Error, type: string, component: QM_Component|null, ...} in isset() always exists and is not nullable.
PHP / PHP 7.4 / PHP / PHP 7.4: output/html/db_queries.php#L340
Cannot access offset 'calling_file' on array|false.
PHP / PHP 7.4 / PHP / PHP 7.4: output/html/db_queries.php#L340
Cannot access offset 'calling_line' on array|false.
PHP / PHP 7.4 / PHP / PHP 7.4: output/html/db_queries.php#L346
Offset 'calling_file' does not exist on array{file: string, line: int, display: string}.
PHP / PHP 7.4 / PHP / PHP 7.4: output/html/db_queries.php#L346
Offset 'calling_line' does not exist on array{file: string, line: int, display: string}.
PHP / PHP 7.4 / PHP / PHP 7.4: output/html/db_queries.php#L396
Parameter #1 $text of function esc_attr expects string, float|string given.
PHP / PHP 8.2 / PHP / PHP 8.2: classes/Util.php#L428
Method QM_Util::populate_callback() should return array{accepted_args: int, name?: string, file?: string|false, line?: int|false, error?: WP_Error, component?: QM_Component} but returns array<string, mixed>.
PHP / PHP 8.2 / PHP / PHP 8.2: collectors/db_queries.php#L230
Property QM_Data_DB_Queries::$rows (array<int, array{caller: string, caller_name: string|null, stack?: array<int, string>, sql: string, ltime: float, result: bool|int|WP_Error, type: string, component: QM_Component|null, ...}>) does not accept non-empty-array<int, array{caller: mixed, caller_name: mixed, stack?: array<int, string>, sql: string, ltime: float, result: bool|int|WP_Error|null, type: string, component: QM_Component|null, ...}>.
PHP / PHP 8.2 / PHP / PHP 8.2: collectors/languages.php#L176
Property QM_Data_Languages::$languages (array<string, array<string, array{caller: array<string, mixed>, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>) does not accept non-empty-array<string, array<string, array{caller: array|false, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>.
PHP / PHP 8.2 / PHP / PHP 8.2: collectors/languages.php#L208
Property QM_Data_Languages::$languages (array<string, array<string, array{caller: array<string, mixed>, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>) does not accept non-empty-array<string, array<string, array{caller: array|false, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>.
PHP / PHP 8.2 / PHP / PHP 8.2: output/html/db_queries.php#L320
Offset 'result' on array{caller: string, caller_name: string|null, stack?: array<int, string>, sql: string, ltime: float, result: bool|int|WP_Error, type: string, component: QM_Component|null, ...} in isset() always exists and is not nullable.
PHP / PHP 8.2 / PHP / PHP 8.2: output/html/db_queries.php#L340
Cannot access offset 'calling_file' on array|false.
PHP / PHP 8.2 / PHP / PHP 8.2: output/html/db_queries.php#L340
Cannot access offset 'calling_line' on array|false.
PHP / PHP 8.2 / PHP / PHP 8.2: output/html/db_queries.php#L346
Offset 'calling_file' does not exist on array{file: string, line: int, display: string}.
PHP / PHP 8.2 / PHP / PHP 8.2: output/html/db_queries.php#L346
Offset 'calling_line' does not exist on array{file: string, line: int, display: string}.
PHP / PHP 8.2 / PHP / PHP 8.2: output/html/db_queries.php#L396
Parameter #1 $text of function esc_attr expects string, float|string given.
PHP / PHP 8.0 / PHP / PHP 8.0: classes/Util.php#L428
Method QM_Util::populate_callback() should return array{accepted_args: int, name?: string, file?: string|false, line?: int|false, error?: WP_Error, component?: QM_Component} but returns array<string, mixed>.
PHP / PHP 8.0 / PHP / PHP 8.0: collectors/db_queries.php#L230
Property QM_Data_DB_Queries::$rows (array<int, array{caller: string, caller_name: string|null, stack?: array<int, string>, sql: string, ltime: float, result: bool|int|WP_Error, type: string, component: QM_Component|null, ...}>) does not accept non-empty-array<int, array{caller: mixed, caller_name: mixed, stack?: array<int, string>, sql: string, ltime: float, result: bool|int|WP_Error|null, type: string, component: QM_Component|null, ...}>.
PHP / PHP 8.0 / PHP / PHP 8.0: collectors/languages.php#L176
Property QM_Data_Languages::$languages (array<string, array<string, array{caller: array<string, mixed>, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>) does not accept non-empty-array<string, array<string, array{caller: array|false, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>.
PHP / PHP 8.0 / PHP / PHP 8.0: collectors/languages.php#L208
Property QM_Data_Languages::$languages (array<string, array<string, array{caller: array<string, mixed>, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>) does not accept non-empty-array<string, array<string, array{caller: array|false, domain: string, file: string|false, found: int|false, handle: string|null, type: 'gettext'|'jed'}>>.
PHP / PHP 8.0 / PHP / PHP 8.0: output/html/db_queries.php#L320
Offset 'result' on array{caller: string, caller_name: string|null, stack?: array<int, string>, sql: string, ltime: float, result: bool|int|WP_Error, type: string, component: QM_Component|null, ...} in isset() always exists and is not nullable.
PHP / PHP 8.0 / PHP / PHP 8.0: output/html/db_queries.php#L340
Cannot access offset 'calling_file' on array|false.
PHP / PHP 8.0 / PHP / PHP 8.0: output/html/db_queries.php#L340
Cannot access offset 'calling_line' on array|false.
PHP / PHP 8.0 / PHP / PHP 8.0: output/html/db_queries.php#L346
Offset 'calling_file' does not exist on array{file: string, line: int, display: string}.
PHP / PHP 8.0 / PHP / PHP 8.0: output/html/db_queries.php#L346
Offset 'calling_line' does not exist on array{file: string, line: int, display: string}.
PHP / PHP 8.0 / PHP / PHP 8.0: output/html/db_queries.php#L396
Parameter #1 $text of function esc_attr expects string, float|string given.