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

Yoast / wordpress-seo / ba1f2864c041ce4782a55c777b22d310f3ac2682

21 Nov 2025 02:00PM UTC coverage: 52.663% (-0.006%) from 52.669%
ba1f2864c041ce4782a55c777b22d310f3ac2682

Pull #22742

github

web-flow
Merge 917efcf8e into 532baabfb
Pull Request #22742: Throw exception when failing to enable the llms.txt option

8307 of 15569 branches covered (53.36%)

Branch coverage included in aggregate %.

0 of 11 new or added lines in 5 files covered. (0.0%)

21 existing lines in 2 files now uncovered.

31811 of 60609 relevant lines covered (52.49%)

47573.9 hits per line

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

0.0
/src/task-list/domain/exceptions/complete-llms-task-exception.php
1
<?php
2
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
3
namespace Yoast\WP\SEO\Task_List\Domain\Exceptions;
4

5
use Exception;
6

7
/**
8
 * Exception for when we can't complete the llms.txt task.
9
 */
10
class Complete_LLMS_Task_Exception extends Exception {
11

12
        /**
13
         * Constructor of the exception.
14
         */
NEW
15
        public function __construct() {
×
NEW
16
                parent::__construct( \esc_html__( 'Failed to enable llms.txt option.', 'wordpress-seo' ), 400 );
×
17
        }
18
}
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