Pārlūkot izejas kodu

renamed SQLiteProfilerStorage to SqliteProfilerStorage

Pablo Godel 14 gadi atpakaļ
vecāks
revīzija
f6a1c2d195

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Resources/config/profiling.xml

@@ -6,7 +6,7 @@
 
 
     <parameters>
     <parameters>
         <parameter key="profiler.class">Symfony\Component\HttpKernel\Profiler\Profiler</parameter>
         <parameter key="profiler.class">Symfony\Component\HttpKernel\Profiler\Profiler</parameter>
-        <parameter key="profiler.storage.class">Symfony\Component\HttpKernel\Profiler\SQLiteProfilerStorage</parameter>
+        <parameter key="profiler.storage.class">Symfony\Component\HttpKernel\Profiler\SqliteProfilerStorage</parameter>
         <parameter key="profiler.storage.file">%kernel.cache_dir%/profiler.db</parameter>
         <parameter key="profiler.storage.file">%kernel.cache_dir%/profiler.db</parameter>
         <parameter key="profiler.storage.lifetime">86400</parameter>
         <parameter key="profiler.storage.lifetime">86400</parameter>
         <parameter key="profiler_listener.class">Symfony\Component\HttpKernel\Profiler\ProfilerListener</parameter>
         <parameter key="profiler_listener.class">Symfony\Component\HttpKernel\Profiler\ProfilerListener</parameter>

+ 2 - 2
tests/Symfony/Tests/Component/HttpKernel/Profiler/ProfilerTest.php

@@ -12,7 +12,7 @@
 namespace Symfony\Tests\Component\HttpKernel\Profiler;
 namespace Symfony\Tests\Component\HttpKernel\Profiler;
 
 
 use Symfony\Component\HttpKernel\DataCollector\RequestDataCollector;
 use Symfony\Component\HttpKernel\DataCollector\RequestDataCollector;
-use Symfony\Component\HttpKernel\Profiler\SQLiteProfilerStorage;
+use Symfony\Component\HttpKernel\Profiler\SqliteProfilerStorage;
 use Symfony\Component\HttpKernel\Profiler\Profiler;
 use Symfony\Component\HttpKernel\Profiler\Profiler;
 use Symfony\Component\HttpFoundation\Request;
 use Symfony\Component\HttpFoundation\Request;
 use Symfony\Component\HttpFoundation\Response;
 use Symfony\Component\HttpFoundation\Response;
@@ -30,7 +30,7 @@ class ProfilerTest extends \PHPUnit_Framework_TestCase
         if (file_exists($tmp)) {
         if (file_exists($tmp)) {
             @unlink($tmp);
             @unlink($tmp);
         }
         }
-        $storage = new SQLiteProfilerStorage($tmp);
+        $storage = new SqliteProfilerStorage($tmp);
         $storage->purge();
         $storage->purge();
 
 
         $profiler = new Profiler($storage);
         $profiler = new Profiler($storage);

+ 3 - 3
tests/Symfony/Tests/Component/HttpKernel/Profiler/SQLiteProfilerStorageTest.php

@@ -11,9 +11,9 @@
 
 
 namespace Symfony\Tests\Component\HttpKernel\Profiler;
 namespace Symfony\Tests\Component\HttpKernel\Profiler;
 
 
-use Symfony\Component\HttpKernel\Profiler\SQLiteProfilerStorage;
+use Symfony\Component\HttpKernel\Profiler\SqliteProfilerStorage;
 
 
-class SQLiteProfilerStorageTest extends \PHPUnit_Framework_TestCase
+class SqliteProfilerStorageTest extends \PHPUnit_Framework_TestCase
 {
 {
     protected static $dbFile;
     protected static $dbFile;
     protected static $storage;
     protected static $storage;
@@ -24,7 +24,7 @@ class SQLiteProfilerStorageTest extends \PHPUnit_Framework_TestCase
         if (file_exists(self::$dbFile)) {
         if (file_exists(self::$dbFile)) {
             @unlink(self::$dbFile);
             @unlink(self::$dbFile);
         }
         }
-        self::$storage = new SQLiteProfilerStorage(self::$dbFile);
+        self::$storage = new SqliteProfilerStorage(self::$dbFile);
     }
     }
 
 
     public static function tearDownAfterClass()
     public static function tearDownAfterClass()