creof/doctrine2-spatial

View on GitHub
tests/CrEOF/Spatial/Tests/ORM/Query/AST/Functions/MySql/AsBinaryTest.php

Summary

Maintainability
A
1 hr
Test Coverage

Method testAsBinary has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testAsBinary()
    {
        $lineString1 = array(
            new Point(0, 0),
            new Point(2, 2),

Line exceeds 120 characters; contains 144 characters
Open

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

Line exceeds 120 characters; contains 136 characters
Open

        $string1 = '010200000003000000000000000000000000000000000000000000000000000040000000000000004000000000000014400000000000001440';

Line exceeds 120 characters; contains 136 characters
Open

        $string2 = '0102000000030000000000000000000840000000000000084000000000000010400000000000002e4000000000000014400000000000003640';

There are no issues that match your filters.

Category
Status