Showing 66 of 447 total issues
Method testSTContainsWhereParameter
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSTContainsWhereParameter()
{
$lineString1 = new LineString(array(
new Point(0, 0),
new Point(10, 0),
- Create a ticketCreate a ticket
Method testSelectSTCrosses
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSelectSTCrosses()
{
$lineString1 = new LineString(array(
new Point(0, 0),
new Point(10, 10)
- Create a ticketCreate a ticket
Method testSelectSTMakeEnvelope
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSelectSTMakeEnvelope()
{
$lineString1 = new LineString(array(
new Point(0, 0),
new Point(2, 0),
- Create a ticketCreate a ticket
Method onNotSuccessfulTest
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function onNotSuccessfulTest(\Exception $e)
{
if (! $GLOBALS['opt_use_debug_stack'] || $e instanceof \PHPUnit_Framework_AssertionFailedError) {
throw $e;
}
- Create a ticketCreate a ticket
Method testSTLineCrossingDirectionWhereParameter
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSTLineCrossingDirectionWhereParameter()
{
$lineString1 = new LineString(array(
new Point(8, 15),
new Point(4, 8)
- Create a ticketCreate a ticket
Method testSelectSTContains
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSelectSTContains()
{
$lineString1 = new LineString(array(
new Point(0, 0),
new Point(10, 0),
- Create a ticketCreate a ticket
Method testSelectSTCoveredBy
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSelectSTCoveredBy()
{
$lineString1 = new LineString(array(
new Point(6, 6),
new Point(10, 6),
- Create a ticketCreate a ticket
Method testSelectContains
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSelectContains()
{
$lineString1 = new LineString(array(
new Point(0, 0),
new Point(10, 0),
- Create a ticketCreate a ticket
Method testSelectSTCovers
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSelectSTCovers()
{
$lineString1 = new LineString(array(
new Point(6, 6),
new Point(10, 6),
- Create a ticketCreate a ticket
Method testSelectSTClosestPoint
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSelectSTClosestPoint()
{
$ring1 = new LineString(array(
new Point(0, 0),
new Point(10, 0),
- Create a ticketCreate a ticket
Method testSelectMBRContains
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSelectMBRContains()
{
$lineString1 = new LineString(array(
new Point(0, 0),
new Point(10, 0),
- Create a ticketCreate a ticket
Method testSelectSTContainsProperly
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSelectSTContainsProperly()
{
$lineString1 = new LineString(array(
new Point(0, 0),
new Point(10, 0),
- Create a ticketCreate a ticket
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
Method testMultiPolygonFromObjectsGetLastPolygon
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testMultiPolygonFromObjectsGetLastPolygon()
{
$polygon1 = new Polygon(
array(
new LineString(
- Create a ticketCreate a ticket
Method testMultiPolygonFromObjectsGetSinglePolygon
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testMultiPolygonFromObjectsGetSinglePolygon()
{
$polygon1 = new Polygon(
array(
new LineString(
- Create a ticketCreate a ticket
Method testSTCoversWhereParameter
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSTCoversWhereParameter()
{
$lineString1 = new LineString(array(
new Point(6, 6),
new Point(10, 6),
- Create a ticketCreate a ticket
Method testSTCoveredByWhereParameter
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSTCoveredByWhereParameter()
{
$lineString1 = new LineString(array(
new Point(6, 6),
new Point(10, 6),
- Create a ticketCreate a ticket
Method testSTContainsProperlyWhereParameter
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testSTContainsProperlyWhereParameter()
{
$lineString1 = new LineString(array(
new Point(0, 0),
new Point(10, 0),
- Create a ticketCreate a ticket
Method testAsBinary
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testAsBinary()
{
$lineString1 = array(
new Point(0, 0),
new Point(2, 2),
- Create a ticketCreate a ticket
Method validateArguments
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function validateArguments(array $argv = null)
{
$argc = count($argv);
if (1 == $argc && is_array($argv[0])) {
- Create a ticketCreate a ticket