diff --git a/.gitignore b/.gitignore index 3c6765a1..3ddf5699 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ /cghooks.lock /phpcs.xml /phpunit.xml +/.phpunit.cache .idea/codeStyles/codeStyleConfig.xml diff --git a/composer.json b/composer.json index 3f5a9626..58f9dc76 100644 --- a/composer.json +++ b/composer.json @@ -113,7 +113,7 @@ }, "scripts": { "post-install-cmd": [ - "php -r \"copy('https://phar.phpunit.de/phploc.phar', 'vendor/bin/phploc');\"", + "php -r \"file_put_contents('vendor/bin/phploc', file_get_contents('https://phar.phpunit.de/phploc.phar'));\"", "chmod u+x vendor/bin/phploc" ], "post-update-cmd": [