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

brick / geo / 13655507172

04 Mar 2025 02:07PM UTC coverage: 84.44% (+0.04%) from 84.402%
13655507172

push

github

BenMorel
Restrict CompoundCurve to contain LineString|CircularString

It looks like nested CompoundCurves are, in fact, forbidden.

3 of 5 new or added lines in 3 files covered. (60.0%)

88 existing lines in 4 files now uncovered.

1552 of 1838 relevant lines covered (84.44%)

1985.26 hits per line

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

100.0
/src/Exception/GeometryEngineException.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Brick\Geo\Exception;
6

7
/**
8
 * Exception thrown by geometry engines.
9
 *
10
 * This exception is notably thrown when a specific method is not implemented by a geometry engine.
11
 */
12
final class GeometryEngineException extends GeometryException
13
{
14
    public static function unimplementedMethod(string $methodName) : GeometryEngineException
15
    {
UNCOV
16
        $message = sprintf('%s() is currently not implemented.', $methodName);
15✔
17

UNCOV
18
        return new self($message);
15✔
19
    }
20

21
    public static function operationNotSupportedByEngine(\Exception $e) : GeometryEngineException
22
    {
UNCOV
23
        return new self('This operation is not supported by the geometry engine.', 0, $e);
241✔
24
    }
25

26
    public static function operationYieldedNoResult() : GeometryEngineException
27
    {
28
        return new self('This operation yielded no result on the target database.');
137✔
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