creof/doctrine2-spatial

View on GitHub

Showing 444 of 444 total issues

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

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

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

     * @expectedExceptionMessage [Syntax Error] line 0, col 9: Error: Expected CrEOF\Geo\String\Lexer::T_INTEGER or CrEOF\Geo\String\Lexer::T_FLOAT, got "P" in value "100:56:55P"

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

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

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

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

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 StartPoint(l.lineString) = StartPoint(GeomFromText(:p1))');

Spaces must be used to indent lines; tabs are not allowed
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

     protected $platforms = array('mysql');

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

                throw new InvalidValueException(sprintf('Invalid %s Point value of type "%s"', $this->getType(), (is_object($point) ? get_class($point) : gettype($point))));

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

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

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

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

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

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

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 130 characters
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

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

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

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

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

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

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

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

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

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

Spaces must be used to indent lines; tabs are not allowed
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

    protected $platforms = array('mysql');

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

        $result = $this->getEntityManager()->getRepository(self::MULTIPOLYGON_ENTITY)->findByMultiPolygon(new MultiPolygon($polygons));

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

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

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

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

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

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

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

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

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

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

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

        $string2 = '0102000000030000000000000000000840000000000000084000000000000010400000000000002e4000000000000014400000000000003640';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            throw new InvalidValueException(sprintf('Invalid polygon, ring "(%s)" is not closed', $this->toStringLineString($ring)));

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

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

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

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

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

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

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

            if ((is_numeric($argv[0]) || is_string($argv[0])) && (is_numeric($argv[1]) || is_string($argv[1])) && (is_numeric($argv[2]) || is_null($argv[2]) || is_string($argv[2]))) {

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

        throw new InvalidValueException(sprintf('Invalid parameters passed to %s::%s: %s', get_class($this), '__construct', implode(', ', $argv)));

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

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

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

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

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

            $this->markTestSkipped(sprintf('No support for platform %s in test class %s.', $this->getPlatform()->getName(), get_class($this)));

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

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

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

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

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

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

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

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

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

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

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

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

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

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