Skip to content

Add unit tests for got_url_rewrite() in src/wp-admin/includes/misc.php #56769

Add unit tests for got_url_rewrite() in src/wp-admin/includes/misc.php

Add unit tests for got_url_rewrite() in src/wp-admin/includes/misc.php #56769

Triggered via pull request April 29, 2026 12:22
Status Failure
Total duration 3m 21s
Artifacts

coding-standards.yml

on: pull_request
Coding standards  /  PHP checks
20s
Coding standards / PHP checks
Coding standards  /  JavaScript checks
1m 44s
Coding standards / JavaScript checks
Slack Notifications  /  Prepare notifications
Slack Notifications / Prepare notifications
Slack Notifications  /  Cancelled notifications
Slack Notifications / Cancelled notifications
Slack Notifications  /  Failure notifications
Slack Notifications / Failure notifications
Slack Notifications  /  Fixed notifications
Slack Notifications / Fixed notifications
Slack Notifications  /  Success notifications
Slack Notifications / Success notifications
Failed workflow tasks
0s
Failed workflow tasks
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Coding standards / PHP checks: tests/phpunit/tests/admin/includes/misc/gotUrlRewrite.php#L74
Line indented incorrectly; expected 1 tabs, found 2
Coding standards / PHP checks: tests/phpunit/tests/admin/includes/misc/gotUrlRewrite.php#L68
Line indented incorrectly; expected 1 tabs, found 2
Coding standards / PHP checks: tests/phpunit/tests/admin/includes/misc/gotUrlRewrite.php#L66
Line indented incorrectly; expected 1 tabs, found 2
Coding standards / PHP checks: tests/phpunit/tests/admin/includes/misc/gotUrlRewrite.php#L51
Line indented incorrectly; expected 0 tabs, found 1
Coding standards / PHP checks: tests/phpunit/tests/admin/includes/misc/gotUrlRewrite.php#L35
Line indented incorrectly; expected 0 tabs, found 1
Coding standards / PHP checks: tests/phpunit/tests/admin/includes/misc/gotUrlRewrite.php#L30
Line indented incorrectly; expected 0 tabs, found 1
Coding standards / PHP checks: tests/phpunit/tests/admin/includes/misc/gotUrlRewrite.php#L28
Line indented incorrectly; expected 0 tabs, found 1
Coding standards / PHP checks: tests/phpunit/tests/admin/includes/misc/gotUrlRewrite.php#L23
Line indented incorrectly; expected 0 tabs, found 1
Coding standards / PHP checks: tests/phpunit/tests/admin/includes/misc/gotUrlRewrite.php#L21
Line indented incorrectly; expected 0 tabs, found 1
Coding standards / PHP checks: tests/phpunit/tests/admin/includes/misc/gotUrlRewrite.php#L16
Line indented incorrectly; expected 0 tabs, found 1
Coding standards / PHP checks
Process completed with exit code 2.