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

brick / geo / 14062212560

25 Mar 2025 02:26PM UTC coverage: 53.902% (+1.7%) from 52.154%
14062212560

push

github

BenMorel
Implement PgsqlDriver (pgsql extension)

0 of 52 new or added lines in 1 file covered. (0.0%)

110 existing lines in 8 files now uncovered.

1637 of 3037 relevant lines covered (53.9%)

409.17 hits per line

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

0.0
/src/Engine/MysqlEngine.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Brick\Geo\Engine;
6

7
use Brick\Geo\Curve;
8
use Brick\Geo\Engine\Database\Internal\AbstractDatabaseWkbEngine;
9
use Override;
10

11
/**
12
 * Database engine based on MySQL.
13
 */
14
final readonly class MysqlEngine extends AbstractDatabaseWkbEngine
15
{
16
    #[Override]
17
    public function isRing(Curve $curve) : bool
18
    {
19
        // MySQL does not support ST_IsRing(), but we have an easy fallback.
UNCOV
20
        return $this->isClosed($curve) && $this->isSimple($curve);
×
21
    }
22

23
    public function getMysqlVersion(): string
24
    {
UNCOV
25
        return $this->driver->executeQuery('SELECT VERSION()')->get(0)->asString();
×
26
    }
27
}
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