Added support for out-of-the-box phar creation.
Fixed coding style.