Hi
I am looking for a php code formatter that has to has two features:
formatting arrays, so an array like this:
array ('key_of_first_value' => 'value','another_key' => 'value1', 'test_key' => 'value2');
to this (note that the sign => is aligned among all array elements):
array (
'key_of_first_value' => 'value',
'another_key' => 'value1',
'test_key' => 'value2'
);
the second feature is aligning variables and their values when they are consecutive, so this code:
$var = 'test';
$another_var = 'another test';
$variable = 'test also';
$test_variable = 'for test only';
will look like this:
$var = 'test';
$another_var = 'another test';
$variable = 'test also';
$test_variable = 'for test only';
I have been googling about this for hours but with no luck.