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

Yoast / wordpress-seo / a8bd51c9c67efd390ef74e947ca420e24bc0ceed

02 Dec 2025 03:40PM UTC coverage: 52.295% (-0.008%) from 52.303%
a8bd51c9c67efd390ef74e947ca420e24bc0ceed

push

github

web-flow
Merge pull request #22771 from Yoast/646-differentiate-pagination-strategy-for-products

Make the max amount per page based on the post type.

8307 of 15554 branches covered (53.41%)

Branch coverage included in aggregate %.

0 of 26 new or added lines in 7 files covered. (0.0%)

4 existing lines in 3 files now uncovered.

31815 of 61169 relevant lines covered (52.01%)

47138.37 hits per line

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

0.0
/src/schema-aggregator/application/aggregate-site-schema-map-command.php
1
<?php
2
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
3
namespace Yoast\WP\SEO\Schema_Aggregator\Application;
4

5
/**
6
 * Class that represents the command to aggregate site schema map.
7
 */
8
class Aggregate_Site_Schema_Map_Command {
9

10
        /**
11
         * The post types to include in the schema map.
12
         *
13
         * @var array<string>
14
         */
15
        private $post_types;
16

17
        /**
18
         * The constructor.
19
         *
20
         * @param array<string> $post_types The post types to include in the schema map.
21
         */
NEW
22
        public function __construct( array $post_types ) {
×
NEW
23
                $this->post_types = $post_types;
×
24
        }
25

26
        /**
27
         * Gets the post types to include in the schema map.
28
         *
29
         * @return array<string> The post types.
30
         */
31
        public function get_post_types(): array {
×
32
                return $this->post_types;
×
33
        }
34
}
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