Using the infinitas template when baking fixtures it generates
bad indentation in the file.
Example:
{{{ <?php
class GeneoToolFixture extends CakeTestFixture {
public $name = 'GeneoTool';
public $fields = array(
'id' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 36, 'key' => 'primary', 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'name' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 45, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'short_name' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 45, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'geneo_tool_parameter_set_id' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 36, 'key' => 'index', 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'geneo_company_id' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 36, 'key' => 'index', 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'created' => array('type' => 'datetime', 'null' => true, 'default' => NULL),
'modified' => array('type' => 'datetime', 'null' => true, 'default' => NULL),
'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'geneo_company_id' => array('column' => 'geneo_company_id', 'unique' => 0), 'geneo_tool_parameter_set_id' => array('column' => 'geneo_tool_parameter_set_id', 'unique' => 0)),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
public $records = array(
array(
'id' => '4e673876-1b80-439d-bfe1-48976318cd70',
'name' => 'Lorem ipsum dolor sit amet',
'short_name' => 'Lorem ipsum dolor sit amet',
'geneo_tool_parameter_set_id' => 'Lorem ipsum dolor sit amet',
'geneo_company_id' => 'Lorem ipsum dolor sit amet',
'created' => '2011-09-07 09:25:10',
'modified' => '2011-09-07 09:25:10'
),
);
}
}}}