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

martin-georgiev / postgresql-for-doctrine / 7ec5f0227b857a98734010a26842d67c337e7cfd

29 Dec 2025 02:38PM UTC coverage: 95.543% (-0.4%) from 95.937%
7ec5f0227b857a98734010a26842d67c337e7cfd

Pull #511

github

web-flow
Merge b2e314a57 into 8bd6f926e
Pull Request #511: feat(#510): add support for `UUID[]` data type

26 of 39 new or added lines in 3 files covered. (66.67%)

2765 of 2894 relevant lines covered (95.54%)

30.33 hits per line

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

75.0
/src/MartinGeorgiev/Doctrine/DBAL/Types/Exceptions/InvalidUuidArrayItemForPHPException.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace MartinGeorgiev\Doctrine\DBAL\Types\Exceptions;
6

7
use Doctrine\DBAL\Types\ConversionException;
8

9
/**
10
 * @since 4.0
11
 *
12
 * @author Martin Georgiev <martin.georgiev@gmail.com>
13
 */
14
class InvalidUuidArrayItemForPHPException extends ConversionException
15
{
16
    private static function create(string $message, mixed $value): self
16✔
17
    {
18
        return new self(\sprintf($message, \var_export($value, true)));
16✔
19
    }
20

NEW
21
    public static function forInvalidType(mixed $value): self
×
22
    {
NEW
23
        return self::create('Array values must be strings, %s given', $value);
×
24
    }
25

26
    public static function forInvalidFormat(mixed $value): self
15✔
27
    {
28
        return self::create('Invalid UUID format in array: %s', $value);
15✔
29
    }
30

31
    public static function forInvalidArrayType(mixed $value): self
1✔
32
    {
33
        return self::create('Value must be an array, %s given', $value);
1✔
34
    }
35
}
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