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

SwiftlyPHP / dependency / 9f19d694-3d1e-4241-856b-df465a2dcdb5

07 Apr 2024 09:26PM UTC coverage: 95.745% (-3.5%) from 99.202%
9f19d694-3d1e-4241-856b-df465a2dcdb5

push

circleci

clvarley
Downgrade CI to lowest supported version

360 of 376 relevant lines covered (95.74%)

5.78 hits per line

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

0.0
/src/Exception/DocblockParseException.php
1
<?php declare(strict_types=1);
2

3
namespace Swiftly\Dependency\Exception;
4

5
use Swiftly\Dependency\ParameterException;
6

7
use function sprintf;
8

9
/**
10
 * Exception used to indicate the parsing of a docblock param failed
11
 *
12
 * @internal
13
 */
14
final class DocblockParseException extends ParameterException
15
{
16
    /**
17
     * Indicate that a parsing error occurred while inspecting a parameter
18
     *
19
     * @param non-empty-string $parameter Parameter name
20
     */
21
    public function __construct(string $parameter)
22
    {
23
        $this->parameter = $parameter;
×
24

25
        parent::__construct(
×
26
            sprintf(
×
27
                'Could not parse docblock comment for parameter $%s',
×
28
                $parameter
×
29
            )
×
30
        );
×
31
    }
32
}
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