lib/CrEOF/Spatial/DBAL/Types/AbstractSpatialType.php
Avoid unused parameters such as '$platform'. Open
Open
public function requiresSQLCommentHint(AbstractPlatform $platform)
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
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
Open
// TODO onSchemaColumnDefinition event listener?
- Create a ticketCreate a ticket
- Exclude checks
Line exceeds 120 characters; contains 132 characters Open
Open
throw new UnsupportedPlatformException(sprintf('DBAL platform "%s" is not currently supported.', $platform->getName()));
- Create a ticketCreate a ticket
- Exclude checks