fixes incompatibilities without phar and composer version