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

Yoast / wordpress-seo / d5c0395617268a4e44627c6847bf3faa0a6cc695

15 Apr 2025 07:12AM UTC coverage: 52.454% (-2.1%) from 54.595%
d5c0395617268a4e44627c6847bf3faa0a6cc695

push

github

web-flow
Merge pull request #22077 from Yoast/feature/drop-php-7.2-7.3

Drop compatibility with PHP 7.2 and 7.3

7826 of 13877 branches covered (56.4%)

Branch coverage included in aggregate %.

29028 of 56382 relevant lines covered (51.48%)

42273.52 hits per line

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

0.0
/src/exceptions/indexable/not-built-exception.php
1
<?php
2

3
namespace Yoast\WP\SEO\Exceptions\Indexable;
4

5
/**
6
 * Class Not_Built_Exception
7
 */
8
class Not_Built_Exception extends Indexable_Exception {
9

10
        /**
11
         * Creates an exception that should be thrown when an indexable
12
         * was not built because of an invalid object id.
13
         *
14
         * @param int $object_id The invalid object id.
15
         *
16
         * @return Not_Built_Exception The exception.
17
         */
18
        public static function invalid_object_id( $object_id ) {
×
19
                return new self(
×
20
                        "Indexable was not built because it had an invalid object id of $object_id."
×
21
                );
×
22
        }
23
}
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