From 24bc1e019ddd92a81b9557780411a720737ea299 Mon Sep 17 00:00:00 2001 From: Nikita Date: Wed, 21 Feb 2018 15:06:04 +0300 Subject: [PATCH] Add a random string to skip packagist json cache --- src/Strategy/GithubStrategy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Strategy/GithubStrategy.php b/src/Strategy/GithubStrategy.php index cfbc403..a5796b1 100644 --- a/src/Strategy/GithubStrategy.php +++ b/src/Strategy/GithubStrategy.php @@ -209,7 +209,7 @@ public function getStability() protected function getApiUrl() { - return sprintf(self::API_URL, $this->getPackageName()); + return sprintf(self::API_URL, $this->getPackageName()).'?'.rand(); } protected function getDownloadUrl(array $package)