Skip to content

Commit

Permalink
Merge 43f6826 into 065686e
Browse files Browse the repository at this point in the history
  • Loading branch information
dragosprotung committed Dec 15, 2016
2 parents 065686e + 43f6826 commit 8e5c814
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ php:
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm

env:
Expand Down
8 changes: 6 additions & 2 deletions tests/CrEOF/Spatial/Tests/DBAL/Types/GeographyTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

namespace CrEOF\Spatial\Tests\DBAL\Types;

use Doctrine\ORM\Query;
use CrEOF\Spatial\PHP\Types\Geography\LineString;
use CrEOF\Spatial\PHP\Types\Geography\Point;
use CrEOF\Spatial\PHP\Types\Geography\Polygon;
Expand Down Expand Up @@ -138,7 +137,12 @@ public function testBadGeographyValue()
try {
$entity->setGeography('POINT(0 0)');
} catch (\TypeError $exception) {
throw new \PHPUnit_Framework_Error($exception->getMessage(), $exception->getCode());
throw new \PHPUnit_Framework_Error(
$exception->getMessage(),
$exception->getCode(),
$exception->getFile(),
$exception->getLine()
);
}
}
}

0 comments on commit 8e5c814

Please sign in to comment.