creof/doctrine2-spatial

View on GitHub

Showing 444 of 444 total issues

Line exceeds 120 characters; contains 127 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            $configuration->addCustomNumericFunction('st_length', 'CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STLength');

Line exceeds 120 characters; contains 124 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            $configuration->addCustomStringFunction('startpoint', 'CrEOF\Spatial\ORM\Query\AST\Functions\MySql\StartPoint');

Line exceeds 120 characters; contains 161 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

                throw new UnsupportedPlatformException(sprintf('DBAL platform "%s" is not currently supported.', $connection->getDatabasePlatform()->getName()));

Line exceeds 120 characters; contains 133 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

     * @expectedExceptionMessage Invalid parameters passed to CrEOF\Spatial\PHP\Types\Geometry\Point::__construct: "5", "5", "5", "5"

Line exceeds 120 characters; contains 139 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $queryString = sprintf('SELECT %s(%s(l.lineString)) FROM CrEOF\Spatial\Tests\Fixtures\LineStringEntity l', $asBinary, $startPoint);

Line exceeds 120 characters; contains 122 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $config->setMetadataDriverImpl($config->newDefaultAnnotationDriver(array(realpath(__DIR__ . '/Fixtures')), true));

Line exceeds 120 characters; contains 125 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            $configuration->addCustomStringFunction('geometry', 'CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\Geometry');

Line exceeds 120 characters; contains 131 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            $configuration->addCustomNumericFunction('st_disjoint', 'CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STDisjoint');

Line exceeds 120 characters; contains 177 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

     * @expectedExceptionMessage [Syntax Error] line 0, col 8: Error: Expected CrEOF\Geo\String\Lexer::T_INTEGER or CrEOF\Geo\String\Lexer::T_FLOAT, got "Q" in value "84:26:46Q"

Line exceeds 120 characters; contains 177 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

     * @expectedExceptionMessage [Syntax Error] line 0, col 8: Error: Expected CrEOF\Geo\String\Lexer::T_INTEGER or CrEOF\Geo\String\Lexer::T_FLOAT, got "Q" in value "84:26:46Q"

End of line character is invalid; expected "\n" but found "\r\n"
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

<?php

Line exceeds 120 characters; contains 121 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $result = $this->getEntityManager()->getRepository(self::GEO_POLYGON_ENTITY)->findByPolygon(new Polygon($rings));

Line exceeds 120 characters; contains 144 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query   = $this->getEntityManager()->createQuery('SELECT AsBinary(l.lineString) FROM CrEOF\Spatial\Tests\Fixtures\LineStringEntity l');

Line exceeds 120 characters; contains 179 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT l FROM CrEOF\Spatial\Tests\Fixtures\LineStringEntity l WHERE GLength(GeomFromText(:p1)) > GLength(l.lineString)');

Line exceeds 120 characters; contains 152 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

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

Line exceeds 120 characters; contains 163 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query = $this->getEntityManager()->createQuery('SELECT ST_AsText(ST_SnapToGrid(geometry(p.point), 0.5)) FROM CrEOF\Spatial\Tests\Fixtures\PointEntity p');

Line exceeds 120 characters; contains 135 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $queryString = sprintf('SELECT %s(%s(l.lineString)) FROM CrEOF\Spatial\Tests\Fixtures\LineStringEntity l', $asText, $envelope);

Line exceeds 120 characters; contains 122 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $config->setMetadataDriverImpl($config->newDefaultAnnotationDriver(array(realpath(__DIR__ . '/Fixtures')), true));

Line exceeds 120 characters; contains 127 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            $configuration->addCustomNumericFunction('st_buffer', 'CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STBuffer');

Line exceeds 120 characters; contains 138 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            $configuration->addCustomStringFunction('st_closestpoint', 'CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STClosestPoint');

Line exceeds 120 characters; contains 127 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            $configuration->addCustomNumericFunction('mbrdisjoint', 'CrEOF\Spatial\ORM\Query\AST\Functions\MySql\MBRDisjoint');

Line exceeds 120 characters; contains 134 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

     * @expectedExceptionMessage Invalid parameters passed to CrEOF\Spatial\PHP\Types\Geography\Point::__construct: "5", "5", "5", "5"

Line exceeds 120 characters; contains 136 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $string1 = '010200000003000000000000000000000000000000000000000000000000000040000000000000004000000000000014400000000000001440';

Line exceeds 120 characters; contains 171 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT p FROM CrEOF\Spatial\Tests\Fixtures\PolygonEntity p WHERE MBRContains(p.polygon, GeomFromText(:p1)) = 1');

Line exceeds 120 characters; contains 166 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query = $this->getEntityManager()->createQuery('SELECT ST_AsText(ST_SnapToGrid(geometry(p.point), 0.5, 1)) FROM CrEOF\Spatial\Tests\Fixtures\PointEntity p');

Line exceeds 120 characters; contains 146 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT g, ST_Summary(g.geography) FROM CrEOF\Spatial\Tests\Fixtures\GeographyEntity g');

Line exceeds 120 characters; contains 127 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            $configuration->addCustomNumericFunction('st_covers', 'CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STCovers');

Line exceeds 120 characters; contains 148 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            $configuration->addCustomStringFunction('st_geographyfromtext', 'CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STGeographyFromText');

Line exceeds 120 characters; contains 128 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            $configuration->addCustomStringFunction('geomfromtext', 'CrEOF\Spatial\ORM\Query\AST\Functions\MySql\GeomFromText');

Line exceeds 120 characters; contains 146 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT p FROM CrEOF\Spatial\Tests\Fixtures\PolygonEntity p WHERE Area(p.polygon) < 50');

Line exceeds 120 characters; contains 171 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT p FROM CrEOF\Spatial\Tests\Fixtures\PolygonEntity p WHERE MBRContains(p.polygon, GeomFromText(:p1)) = 1');

Line exceeds 120 characters; contains 171 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT p FROM CrEOF\Spatial\Tests\Fixtures\PolygonEntity p WHERE MBRDisjoint(p.polygon, GeomFromText(:p1)) = 1');

Line exceeds 120 characters; contains 180 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query = $this->getEntityManager()->createQuery('SELECT ST_AsText(ST_SnapToGrid(geometry(p.point), 5.55, 6.25, 0.5, 0.5)) FROM CrEOF\Spatial\Tests\Fixtures\PointEntity p');

Line exceeds 120 characters; contains 147 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

                throw new UnsupportedPlatformException(sprintf('DBAL platform "%s" is not currently supported.', $this->getPlatform()->getName()));

Line exceeds 120 characters; contains 148 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query = $this->getEntityManager()->createQuery('SELECT g FROM CrEOF\Spatial\Tests\Fixtures\GeometryEntity g WHERE g.geometry = :geometry');

Line exceeds 120 characters; contains 130 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            $configuration->addCustomStringFunction('st_centroid', 'CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STCentroid');

Line exceeds 120 characters; contains 130 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            $configuration->addCustomStringFunction('st_overlaps', 'CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STOverlaps');

Line exceeds 120 characters; contains 134 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $expected = '{"type":"MultiPolygon","coordinates":[[[[0,0],[10,0],[10,10],[0,10],[0,0]]],[[[5,5],[7,5],[7,7],[5,7],[5,5]]]]}';

Line exceeds 120 characters; contains 136 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT ST_Area(p.polygon) FROM CrEOF\Spatial\Tests\Fixtures\PolygonEntity p');

Line exceeds 120 characters; contains 161 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT p, ST_Distance(p.point, ST_GeomFromText(:p1)) FROM CrEOF\Spatial\Tests\Fixtures\PointEntity p');

Line exceeds 120 characters; contains 146 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT ST_AsBinary(l.lineString) FROM CrEOF\Spatial\Tests\Fixtures\LineStringEntity l');

Line exceeds 120 characters; contains 144 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT ST_AsText(l.lineString) FROM CrEOF\Spatial\Tests\Fixtures\LineStringEntity l');

Line exceeds 120 characters; contains 147 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT l, ST_Length(l.lineString) FROM CrEOF\Spatial\Tests\Fixtures\LineStringEntity l');

Line exceeds 120 characters; contains 185 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query = $this->getEntityManager()->createQuery('SELECT l FROM CrEOF\Spatial\Tests\Fixtures\LineStringEntity l WHERE ST_Length(ST_GeomFromText(:p1)) > ST_Length(l.lineString)');

Line exceeds 120 characters; contains 191 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $this->assertEquals('0102000000030000000000000000000840000000000000084000000000000010400000000000002e4000000000000014400000000000003640', bin2hex(stream_get_contents($result[1][1])));

Line exceeds 120 characters; contains 177 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT p FROM CrEOF\Spatial\Tests\Fixtures\PolygonEntity p WHERE ST_Contains(p.polygon, ST_GeomFromText(:p1)) = true');

Line exceeds 120 characters; contains 182 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT l FROM CrEOF\Spatial\Tests\Fixtures\LineStringEntity l WHERE ST_Crosses(l.lineString, ST_GeomFromText(:p1)) = true');

Line exceeds 120 characters; contains 165 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT p, ST_Contains(p.polygon, ST_GeomFromText(:p1)) FROM CrEOF\Spatial\Tests\Fixtures\PolygonEntity p');

Line exceeds 120 characters; contains 165 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query = $this->getEntityManager()->createQuery('SELECT g FROM CrEOF\Spatial\Tests\Fixtures\GeometryEntity g WHERE g.geometry = ST_GeomFromText(:geometry)');

Line exceeds 120 characters; contains 178 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        $query  = $this->getEntityManager()->createQuery('SELECT p FROM CrEOF\Spatial\Tests\Fixtures\PolygonEntity p WHERE ST_CoveredBy(p.polygon, ST_GeomFromText(:p1)) = true');
Severity
Category