diff --git a/composer.json b/composer.json index d0f396d6..d34272f1 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,6 @@ "oscarotero/env": "^2.1", "php-parallel-lint/php-console-highlighter": "^1.0", "php-parallel-lint/php-parallel-lint": "^1.3.2", - "phploc/phploc": "^7.0.2", "phpmd/phpmd": "^2.13", "symfony/config": "^6.2.7", "symfony/console": "^5.4.22", @@ -113,6 +112,10 @@ "phpcodesniffer-search-depth": 4 }, "scripts": { + "post-install-cmd": [ + "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": [ "@composer normalize" ],