Removed versions and other obsolete text in comments
php-cs-fixer

Convert all code to follow PSR-1/2 coding styles
removed wrong license and author in all files

Updated readme with rotate/autorotate functions
Minor code styles fixes