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

Yoast / wordpress-seo / 690a94f3a2f5b90a5eaa9513ba5e3190f1c0d4af

21 May 2025 09:32AM UTC coverage: 52.795% (-0.2%) from 53.032%
690a94f3a2f5b90a5eaa9513ba5e3190f1c0d4af

push

github

web-flow
Merge pull request #22291 from Yoast/feature/llms-txt

Introduce the llms.txt feature

8175 of 14237 branches covered (57.42%)

Branch coverage included in aggregate %.

52 of 406 new or added lines in 31 files covered. (12.81%)

2 existing lines in 2 files now uncovered.

29656 of 57419 relevant lines covered (51.65%)

41580.34 hits per line

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

0.0
/src/llms-txt/application/markdown-builders/description-builder.php
1
<?php
2
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong
3
namespace Yoast\WP\SEO\Llms_Txt\Application\Markdown_Builders;
4

5
use Yoast\WP\SEO\Llms_Txt\Domain\Markdown\Sections\Description;
6
use Yoast\WP\SEO\Llms_Txt\Infrastructure\Markdown_Services\Description_Adapter;
7

8
/**
9
 * The builder of the description section.
10
 */
11
class Description_Builder {
12

13
        /**
14
         * The description adapter.
15
         *
16
         * @var Description_Adapter
17
         */
18
        protected $description_adapter;
19

20
        /**
21
         * Class constructor.
22
         *
23
         * @param Description_Adapter $description_adapter The description adapter.
24
         */
NEW
25
        public function __construct(
×
26
                Description_Adapter $description_adapter
27
        ) {
NEW
28
                $this->description_adapter = $description_adapter;
×
29
        }
30

31
        /**
32
         * Builds the description section.
33
         *
34
         * @return Description The description section.
35
         */
NEW
36
        public function build_description(): Description {
×
NEW
37
                return $this->description_adapter->get_description();
×
38
        }
39
}
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