for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class OSMPointOfInterestExtension extends DataExtension
{
private static $db = array(
// No Big Int support yet so use big decimal
'OpenStreetMapID' => 'Decimal(20,0)',
);
// given millions of possible POIs an index is handy
private static $indexes = array(
$indexes
This check marks private properties in classes that are never used. Those properties can be removed.
'OpenStreetMapID' => true,
/* The openstreetmap id is only for scripting purposes */
public function updateCMSFields(FieldList $fields)
$fields->removeByName('OpenStreetMapID');
}
This check marks private properties in classes that are never used. Those properties can be removed.