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

martin-georgiev / postgresql-for-doctrine / 89d4495e19877e5b4284fa0e42b9932c5b034bf5

05 Dec 2025 06:23PM UTC coverage: 95.687%. First build
89d4495e19877e5b4284fa0e42b9932c5b034bf5

Pull #490

github

web-flow
Merge 3bef69eab into 266820d37
Pull Request #490: chore: Update shivammathur/setup-php digest to 44454db

0 of 4 new or added lines in 2 files covered. (0.0%)

2640 of 2759 relevant lines covered (95.69%)

30.13 hits per line

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

33.33
/src/MartinGeorgiev/Doctrine/DBAL/Types/GeometryArray.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace MartinGeorgiev\Doctrine\DBAL\Types;
6

7
use MartinGeorgiev\Doctrine\DBAL\Types\Exceptions\InvalidGeometryForPHPException;
8

9
/**
10
 * Implementation of PostgreSQL array for PostGIS GEOMETRY data type.
11
 *
12
 * @since 3.5
13
 */
14
final class GeometryArray extends SpatialDataArray
15
{
16
    protected const TYPE_NAME = 'geometry[]';
17

18
    protected function transformArrayItemForPostgres(mixed $item): string
21✔
19
    {
20
        return (string) $this->getValidatedArrayItem($item);
21✔
21
    }
22

NEW
23
    protected function createInvalidTypeExceptionForPHP(mixed $item): InvalidGeometryForPHPException
×
24
    {
25
        return InvalidGeometryForPHPException::forInvalidType($item);
×
26
    }
27

NEW
28
    protected function createInvalidFormatExceptionForPHP(mixed $item): InvalidGeometryForPHPException
×
29
    {
30
        return InvalidGeometryForPHPException::forInvalidFormat($item);
×
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