• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Yoast / wordpress-seo / ad4f5d1decd5ba72026241af5b5f9afbe1d92e93

04 Dec 2025 12:38PM UTC coverage: 52.391%. First build
ad4f5d1decd5ba72026241af5b5f9afbe1d92e93

push

github

thijsoo
Merge branch 'trunk' of github.com:Yoast/wordpress-seo into feature/schema_aggregator

# Conflicts:
#	admin/tracking/class-tracking-settings-data.php
#	inc/options/class-wpseo-option-wpseo.php

8706 of 16076 branches covered (54.16%)

Branch coverage included in aggregate %.

158 of 860 new or added lines in 78 files covered. (18.37%)

32437 of 62454 relevant lines covered (51.94%)

46168.94 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/task-list/infrastructure/endpoints/complete-task-endpoint.php
1
<?php
2
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
3
namespace Yoast\WP\SEO\Task_List\Infrastructure\Endpoints;
4

5
use Yoast\WP\SEO\Task_List\Domain\Endpoint\Endpoint_Interface;
6
use Yoast\WP\SEO\Task_List\User_Interface\Tasks\Complete_Task_Route;
7

8
/**
9
 * Represents the complete task endpoint.
10
 */
11
class Complete_Task_Endpoint implements Endpoint_Interface {
12

13
        /**
14
         * Gets the name.
15
         *
16
         * @return string
17
         */
NEW
18
        public function get_name(): string {
×
NEW
19
                return 'completeTask';
×
20
        }
21

22
        /**
23
         * Gets the namespace.
24
         *
25
         * @return string
26
         */
NEW
27
        public function get_namespace(): string {
×
NEW
28
                return Complete_Task_Route::ROUTE_NAMESPACE;
×
29
        }
30

31
        /**
32
         * Gets the route.
33
         *
34
         * @return string
35
         */
NEW
36
        public function get_route(): string {
×
NEW
37
                return Complete_Task_Route::ROUTE_NAME;
×
38
        }
39

40
        /**
41
         * Gets the URL.
42
         *
43
         * @return string
44
         */
NEW
45
        public function get_url(): string {
×
NEW
46
                return \rest_url( $this->get_namespace() . $this->get_route() );
×
47
        }
48
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc