diff --git a/.gitignore b/.gitignore index 3b2c25f7f..638ad6a42 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,6 @@ composer.phar .phpunit.result.cache phpbench.phar -phpbench.phar.pubkey +phpbench.phar.* /.phpbench_storage php-cs-fixer.phar diff --git a/composer.json b/composer.json index 85bfac307..5070fba04 100644 --- a/composer.json +++ b/composer.json @@ -75,8 +75,8 @@ "phpstan analyse --ansi", "@composer rem --ansi --dev phpstan/phpstan phpstan/phpstan-phpunit" ], - "bench": [ - "test -f phpbench.phar || wget https://phpbench.github.io/phpbench/phpbench.phar https://phpbench.github.io/phpbench/phpbench.phar.pubkey", + "bench": [ + "test -f phpbench.phar || wget https://github.com/phpbench/phpbench/releases/download/1.0.0-alpha7/phpbench.phar -O phpbench.phar", "@php phpbench.phar run -l dots --ansi -vvv --report='generator: \"table\", cols: [\"benchmark\", \"subject\", \"params\", \"best\", \"mean\", \"mode\", \"worst\", \"diff\"], break: [\"benchmark\"], sort: {mean: \"asc\"}'" ], "install-cs": "test -f php-cs-fixer.phar || wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.15.3/php-cs-fixer.phar -O php-cs-fixer.phar",