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

martin-georgiev / postgresql-for-doctrine / 53c8e2cae8662e1fa05778f31b1ae14c43721b5d

29 Dec 2025 02:26PM UTC coverage: 95.543% (-0.4%) from 95.937%
53c8e2cae8662e1fa05778f31b1ae14c43721b5d

Pull #511

github

web-flow
Merge 03b3a7883 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

0.0
/src/MartinGeorgiev/Doctrine/DBAL/Types/Exceptions/InvalidUuidArrayItemForDatabaseException.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 InvalidUuidArrayItemForDatabaseException extends ConversionException
15
{
NEW
16
    private static function create(string $message, mixed $value): self
×
17
    {
NEW
18
        return new self(\sprintf($message, \var_export($value, true)));
×
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

NEW
26
    public static function forInvalidFormat(mixed $value): self
×
27
    {
NEW
28
        return self::create('Invalid UUID format in array: %s', $value);
×
29
    }
30
}
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