From: Jeremy Benoist Date: Sat, 3 Sep 2016 09:45:59 +0000 (+0200) Subject: CS X-Git-Tag: 2.0.8~3^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=5070644a12ad264444a812b783a04386d6581cb0;p=github%2Fwallabag%2Fwallabag.git CS --- diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php index cd816149..035eb865 100644 --- a/src/Wallabag/CoreBundle/Command/InstallCommand.php +++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php @@ -96,7 +96,7 @@ class InstallCommand extends ContainerAwareCommand try { $this->getContainer()->get('doctrine')->getManager()->getConnection()->connect(); } catch (\Exception $e) { - if (false === strpos($e->getMessage(), "Unknown database")) { + if (false === strpos($e->getMessage(), 'Unknown database')) { $fulfilled = false; $status = 'ERROR!'; $help = 'Can\'t connect to the database: '.$e->getMessage();