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

Yoast / whip / 7300735247

22 Dec 2023 02:07PM UTC coverage: 31.683% (+3.0%) from 28.713%
7300735247

push

github

web-flow
Merge pull request #157 from Yoast/move-to-namespace-v2

Move source classes to the `Yoast\WHIPv2` namespace

30 of 114 new or added lines in 18 files covered. (26.32%)

96 of 303 relevant lines covered (31.68%)

2.66 hits per line

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

0.0
/src/Exceptions/EmptyProperty.php
1
<?php
2

3
namespace Yoast\WHIPv2\Exceptions;
4

5
use Exception;
6

7
/**
8
 * Class EmptyProperty.
9
 */
10
class EmptyProperty extends Exception {
11

12
        /**
13
         * EmptyProperty constructor.
14
         *
15
         * @param string $property Property name.
16
         */
NEW
17
        public function __construct( $property ) {
×
NEW
18
                parent::__construct( \sprintf( '%s cannot be empty.', (string) $property ) );
×
19
        }
20
}
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