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

Yoast / wordpress-seo / 373ae7587652eeeac74f61d1f748f941d76a7191

12 Feb 2026 12:54PM UTC coverage: 53.038% (-0.6%) from 53.589%
373ae7587652eeeac74f61d1f748f941d76a7191

Pull #22966

github

web-flow
Merge 3faeb4dd5 into 70b457eae
Pull Request #22966: Complete @TODOs

8467 of 15964 branches covered (53.04%)

Branch coverage included in aggregate %.

22 of 36 new or added lines in 5 files covered. (61.11%)

32725 of 61701 relevant lines covered (53.04%)

46734.9 hits per line

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

0.0
/src/task-list/domain/exceptions/incorrect-child-trait-usage-exception.php
1
<?php
2

3
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
4
namespace Yoast\WP\SEO\Task_List\Domain\Exceptions;
5

6
use Exception;
7

8
/**
9
 * Exception for incorrect child task trait usage.
10
 */
11
class Incorrect_Child_Trait_Usage_Exception extends Exception {
12

13
        /**
14
         * Constructor of the exception.
15
         */
NEW
16
        public function __construct() {
×
NEW
17
                parent::__construct( 'Content_Score_Child_Task_Trait can only be used in classes extending Abstract_Child_Task.', 400 );
×
18
        }
19
}
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