I'm a beginner PHP coder, recently I've been told I indent my code not correctly. They say this is wrong:
if($something) {
do_something();
}
else {
something_more();
and_more();
}
While this is right?
if($something) {
do_something();
} else {
something_more();
and_more();
}
Really? I am willing to become opensource coder in nearest future so that's why I'm asking how to write code in a good way.