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

Yoast / wordpress-seo / a31c583ae9894144bd1302b094668a9a5aa45e34

27 Nov 2025 02:10PM UTC coverage: 52.628% (-0.7%) from 53.366%
a31c583ae9894144bd1302b094668a9a5aa45e34

Pull #22759

github

web-flow
Merge pull request #22746 from Yoast/846-backend-complete-todos

Improve details of backend
Pull Request #22759: Feature/task list

8318 of 15589 branches covered (53.36%)

Branch coverage included in aggregate %.

10 of 433 new or added lines in 33 files covered. (2.31%)

35 existing lines in 4 files now uncovered.

31819 of 60676 relevant lines covered (52.44%)

47521.37 hits per line

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

0.0
/src/task-list/application/tasks-repository.php
1
<?php
2

3
namespace Yoast\WP\SEO\Task_List\Application;
4

5
use Yoast\WP\SEO\Task_List\Infrastructure\Tasks_Collectors\Cached_Tasks_Collector;
6

7
/**
8
 * The tasks repository.
9
 */
10
class Tasks_Repository {
11

12
        /**
13
         * The tasks collector.
14
         *
15
         * @var Cached_Tasks_Collector
16
         */
17
        private $tasks_collector;
18

19
        /**
20
         * The constructor.
21
         *
22
         * @param Cached_Tasks_Collector $tasks_collector The tasks collector.
23
         */
NEW
24
        public function __construct( Cached_Tasks_Collector $tasks_collector ) {
×
NEW
25
                $this->tasks_collector = $tasks_collector;
×
26
        }
27

28
        /**
29
         * Returns tasks data.
30
         *
31
         * @return array<string, array<string, string|bool>> The tasks list.
32
         */
NEW
33
        public function get_tasks_data(): array {
×
NEW
34
                return $this->tasks_collector->get_tasks_data();
×
35
        }
36
}
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