From 4c2da5714057c7de446b0dad03264cae2c11973c Mon Sep 17 00:00:00 2001 From: till Date: Fri, 9 Mar 2012 14:34:02 +0100 Subject: [PATCH] make static --- src/Composer/Repository/Vcs/SvnDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Repository/Vcs/SvnDriver.php b/src/Composer/Repository/Vcs/SvnDriver.php index f0b399789..a8bbaf4b6 100644 --- a/src/Composer/Repository/Vcs/SvnDriver.php +++ b/src/Composer/Repository/Vcs/SvnDriver.php @@ -96,7 +96,7 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface $this->svnPassword = $this->io->ask("Password"); $this->useAuth = true; - $cacheTrueAnswers = array('yes', 'y', 'true', 'ja', 'si', 'da'); + static $cacheTrueAnswers = array('yes', 'y', 'true', 'ja', 'si', 'da'); $cacheAnswer = strtolower($this->io->ask("Should we Subversion cache these credentials?", 'no')); if (in_array($cacheAnswer, $cacheTrueAnswers)) {