creof/doctrine2-spatial

View on GitHub
tests/CrEOF/Spatial/Tests/ORM/Query/AST/Functions/PostgreSql/STOverlapsTest.php

Summary

Maintainability
A
1 hr
Test Coverage

Method testSelectSTMakeEnvelope has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSelectSTMakeEnvelope()
    {
        $lineString1 = new LineString(array(
            new Point(0, 0),
            new Point(2, 0),

Line exceeds 120 characters; contains 152 characters
Open

            'SELECT p as point, ST_Overlaps(p.polygon, ST_Buffer(ST_GeomFromText(:p1), 3)) as overlap FROM CrEOF\Spatial\Tests\Fixtures\PolygonEntity p'

There are no issues that match your filters.

Category
Status