tests/CrEOF/Spatial/Tests/ORM/Query/AST/Functions/PostgreSql/STCentroidTest.php
Method testSelectSTCentroid
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSelectSTCentroid()
{
$lineString1 = new LineString(array(
new Point(6, 6),
new Point(10, 6),
- Create a ticketCreate a ticket
Line exceeds 120 characters; contains 154 characters Open
Open
$query = $this->getEntityManager()->createQuery('SELECT p, ST_AsText(ST_Centroid(p.polygon)) FROM CrEOF\Spatial\Tests\Fixtures\PolygonEntity p');
- Create a ticketCreate a ticket
- Exclude checks