creof/doctrine2-spatial

View on GitHub
lib/CrEOF/Spatial/DBAL/Types/AbstractSpatialType.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid unused parameters such as '$platform'.
Open

    public function requiresSQLCommentHint(AbstractPlatform $platform)

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

TODO found
Open

        // TODO onSchemaColumnDefinition event listener?

Line exceeds 120 characters; contains 132 characters
Open

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

There are no issues that match your filters.

Category
Status