[HttpKernel] fixed CS

This commit is contained in:
Fabien Potencier 2011-03-16 15:16:21 +01:00
parent f9d2f69ca8
commit 8cc37eaa23
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@ -28,7 +28,7 @@ class MysqlProfilerStorage extends PdoProfilerStorage
throw new \RuntimeException('Please check your configuration. You are trying to use Mysql with a wrong dsn. "' . $this->dsn . '"');
}
if ( ! class_exists('PDO') || ! in_array('mysql', \PDO::getAvailableDrivers(), true)) {
if (!class_exists('PDO') || !in_array('mysql', \PDO::getAvailableDrivers(), true)) {
throw new \RuntimeException('You need to enable PDO_Mysql extension for the profiler to run properly.');
}

View File

@ -30,7 +30,7 @@ class ProfilerTest extends \PHPUnit_Framework_TestCase
if (file_exists($tmp)) {
@unlink($tmp);
}
$storage = new SqliteProfilerStorage('sqlite:' . $tmp);
$storage = new SqliteProfilerStorage('sqlite:'.$tmp);
$storage->purge();
$profiler = new Profiler($storage);

View File

@ -24,7 +24,7 @@ class SqliteProfilerStorageTest extends \PHPUnit_Framework_TestCase
if (file_exists(self::$dbFile)) {
@unlink(self::$dbFile);
}
self::$storage = new SqliteProfilerStorage('sqlite:' . self::$dbFile);
self::$storage = new SqliteProfilerStorage('sqlite:'.self::$dbFile);
}
public static function tearDownAfterClass()