From ec03be128080bf3e20b4fab19458e242cf6f8bec Mon Sep 17 00:00:00 2001 From: danielbannert Date: Fri, 10 Aug 2018 10:30:38 +0200 Subject: [PATCH] removed the dot git from the url in the question --- src/Automatic/QuestionFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Automatic/QuestionFactory.php b/src/Automatic/QuestionFactory.php index 2756747d..4e3c2957 100644 --- a/src/Automatic/QuestionFactory.php +++ b/src/Automatic/QuestionFactory.php @@ -29,7 +29,7 @@ public static function getPackageQuestion(string $name, ?string $url): string return \sprintf($message, $name); } - return \sprintf(" Review the package from %s.\n" . $message, $url, $name); + return \sprintf(" Review the package from %s.\n" . $message, \str_replace('.git', '', $url), $name); } /**