The easiest way to enhance code readability is to standardize its organization. For example, you can specify methods to be ordered after fields or keep dependent methods together.
The good news is that starting with version 6, you can have your code rearranged automatically! All code generated by PhpStorm will follow these rules, so you don't have to worry about it at every turn.
(more…)
Arrange your code automatically with PhpStorm (re)arranger
by