Without this code, trying to execute "php-sqllint" without the ".phar"
extension would result in a fatal error
> PHP Warning: require(..)
> failed to open stream: phar error: invalid url or non-existent phar
* @license http://www.gnu.org/licenses/agpl.html GNU AGPL v3
* @link http://cweiske.de/php-sqllint.htm
*/
* @license http://www.gnu.org/licenses/agpl.html GNU AGPL v3
* @link http://cweiske.de/php-sqllint.htm
*/
-require 'phar://' . __FILE__ . '/bin/phar-php-sqllint.php';
+Phar::mapPhar('php-sqllint.phar');
+require 'phar://php-sqllint.phar/bin/phar-php-sqllint.php';