Skip to content

fix: do not escape HTML entities in URL merge tags #1125

fix: do not escape HTML entities in URL merge tags

fix: do not escape HTML entities in URL merge tags #1125

Triggered via push October 22, 2024 10:19
Status Failure
Total duration 5m 8s
Artifacts

test.yml

on: push
Matrix: PHP Coding Standards
Matrix: PHP Lint
Matrix: PHPStan
Matrix: PHPUnit
Fit to window
Zoom out
Zoom in

Annotations

54 errors and 36 warnings
PHPStan (8.3): src/Admin/Wizard.php#L350
Parameter #4 $autoload of function add_option expects bool|null, string given.
PHPStan (8.3): src/Repository/MergeTag/UrlTag.php#L1
Ignored error pattern #^Parameter \#1 \$url of function esc_url expects string, mixed given\.$# in path /home/runner/work/Notification/Notification/src/Repository/MergeTag/UrlTag.php was not matched in reported errors.
PHPStan (8.3): src/Repository/MergeTag/UrlTag.php#L44
Parameter #1 $url of function esc_url_raw expects string, mixed given.
PHPStan (8.3): src/Repository/Trigger/Post/PostTrigger.php#L608
Parameter #1 $function_name of function wp_trigger_error expects callable-string, class-string<static(BracketSpace\Notification\Repository\Trigger\Post\PostTrigger)> given.
PHPStan (8.3): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'host' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (8.3): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'path' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (8.3): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'scheme' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (8.3): src/Utils/Settings.php#L362
Cannot access offset 'path' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (8.3): src/Utils/Settings.php#L366
Cannot access offset 'path' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (8.3): src/Utils/Settings.php#L370
Cannot access offset 'host' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (8.0)
The job was canceled because "_8_3" failed.
PHPStan (8.0): src/Admin/Wizard.php#L350
Parameter #4 $autoload of function add_option expects bool|null, string given.
PHPStan (8.0): src/Repository/MergeTag/UrlTag.php#L1
Ignored error pattern #^Parameter \#1 \$url of function esc_url expects string, mixed given\.$# in path /home/runner/work/Notification/Notification/src/Repository/MergeTag/UrlTag.php was not matched in reported errors.
PHPStan (8.0): src/Repository/MergeTag/UrlTag.php#L44
Parameter #1 $url of function esc_url_raw expects string, mixed given.
PHPStan (8.0): src/Repository/Trigger/Post/PostTrigger.php#L608
Parameter #1 $function_name of function wp_trigger_error expects callable-string, class-string<static(BracketSpace\Notification\Repository\Trigger\Post\PostTrigger)> given.
PHPStan (8.0): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'host' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (8.0): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'path' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (8.0): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'scheme' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (8.0): src/Utils/Settings.php#L362
Cannot access offset 'path' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (8.0): src/Utils/Settings.php#L366
Cannot access offset 'path' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (8.0): src/Utils/Settings.php#L370
Cannot access offset 'host' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (8.1)
The job was canceled because "_8_3" failed.
PHPStan (8.1): src/Admin/Wizard.php#L350
Parameter #4 $autoload of function add_option expects bool|null, string given.
PHPStan (8.1): src/Repository/MergeTag/UrlTag.php#L1
Ignored error pattern #^Parameter \#1 \$url of function esc_url expects string, mixed given\.$# in path /home/runner/work/Notification/Notification/src/Repository/MergeTag/UrlTag.php was not matched in reported errors.
PHPStan (8.1): src/Repository/MergeTag/UrlTag.php#L44
Parameter #1 $url of function esc_url_raw expects string, mixed given.
PHPStan (8.1): src/Repository/Trigger/Post/PostTrigger.php#L608
Parameter #1 $function_name of function wp_trigger_error expects callable-string, class-string<static(BracketSpace\Notification\Repository\Trigger\Post\PostTrigger)> given.
PHPStan (8.1): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'host' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (8.1): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'path' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (8.1): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'scheme' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (8.1): src/Utils/Settings.php#L362
Cannot access offset 'path' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (8.1): src/Utils/Settings.php#L366
Cannot access offset 'path' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (8.1): src/Utils/Settings.php#L370
Cannot access offset 'host' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (7.4)
The job was canceled because "_8_3" failed.
PHPStan (7.4): src/Admin/Wizard.php#L350
Parameter #4 $autoload of function add_option expects bool|null, string given.
PHPStan (7.4): src/Repository/MergeTag/UrlTag.php#L1
Ignored error pattern #^Parameter \#1 \$url of function esc_url expects string, mixed given\.$# in path /home/runner/work/Notification/Notification/src/Repository/MergeTag/UrlTag.php was not matched in reported errors.
PHPStan (7.4): src/Repository/MergeTag/UrlTag.php#L44
Parameter #1 $url of function esc_url_raw expects string, mixed given.
PHPStan (7.4): src/Repository/Trigger/Post/PostTrigger.php#L608
Parameter #1 $function_name of function wp_trigger_error expects callable-string, class-string<static(BracketSpace\Notification\Repository\Trigger\Post\PostTrigger)> given.
PHPStan (7.4): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'host' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (7.4): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'path' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (7.4): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'scheme' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (7.4): src/Utils/Settings.php#L362
Cannot access offset 'path' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (7.4): src/Utils/Settings.php#L366
Cannot access offset 'path' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (7.4): src/Utils/Settings.php#L370
Cannot access offset 'host' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (8.2)
The job was canceled because "_8_3" failed.
PHPStan (8.2): src/Admin/Wizard.php#L350
Parameter #4 $autoload of function add_option expects bool|null, string given.
PHPStan (8.2): src/Repository/MergeTag/UrlTag.php#L1
Ignored error pattern #^Parameter \#1 \$url of function esc_url expects string, mixed given\.$# in path /home/runner/work/Notification/Notification/src/Repository/MergeTag/UrlTag.php was not matched in reported errors.
PHPStan (8.2): src/Repository/MergeTag/UrlTag.php#L44
Parameter #1 $url of function esc_url_raw expects string, mixed given.
PHPStan (8.2): src/Repository/Trigger/Post/PostTrigger.php#L608
Parameter #1 $function_name of function wp_trigger_error expects callable-string, class-string<static(BracketSpace\Notification\Repository\Trigger\Post\PostTrigger)> given.
PHPStan (8.2): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'host' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (8.2): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'path' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (8.2): src/Utils/Settings.php#L1
Ignored error pattern #^Cannot access offset 'scheme' on array\{scheme\?\: string, host\?\: string, port\?\: int, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$# in path /home/runner/work/Notification/Notification/src/Utils/Settings.php was not matched in reported errors.
PHPStan (8.2): src/Utils/Settings.php#L362
Cannot access offset 'path' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (8.2): src/Utils/Settings.php#L366
Cannot access offset 'path' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
PHPStan (8.2): src/Utils/Settings.php#L370
Cannot access offset 'host' on array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}|false.
CSS Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
CSS Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
JS Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
JS Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP Lint (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Lint (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP Lint (8.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Lint (8.0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP Coding Standards (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Coding Standards (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP Lint (7.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Lint (7.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP Lint (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Lint (8.1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP Lint (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Lint (8.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP Coding Standards (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Coding Standards (8.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP Coding Standards (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Coding Standards (8.1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPStan (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP Coding Standards (8.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Coding Standards (8.0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP Coding Standards (7.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Coding Standards (7.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPUnit (8.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit (8.0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPUnit (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit (8.1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPUnit (7.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit (7.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPUnit (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit (8.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPUnit (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/