From 04bb6b2a066679677f8ffd272648b9d7729fe7f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20B=C3=B6sing?= <2189546+boesing@users.noreply.github.com> Date: Tue, 22 Mar 2022 15:26:04 +0100 Subject: [PATCH] qa: fix line-length issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com> --- src/ComponentInstaller.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ComponentInstaller.php b/src/ComponentInstaller.php index 28045ad..e2313ff 100644 --- a/src/ComponentInstaller.php +++ b/src/ComponentInstaller.php @@ -548,7 +548,11 @@ private function promptToRememberOption(InjectorInterface $injector, $packageTyp while (true) { $answer = $this->io->ask(implode($ask), 'y'); if (! is_string($answer)) { - throw new RuntimeException(sprintf('Expected `%s#ask` to return a string: "%s" returned', IOInterface::class, gettype($answer))); + throw new RuntimeException(sprintf( + 'Expected `%s#ask` to return a string: "%s" returned', + IOInterface::class, + gettype($answer) + )); } switch (strtolower($answer)) {