PSR-2 compliant phar folder.
Fixing most PHPCS warnings in examples/ folder (except class related ones, see PR for comment).