Security update for Core, with self-updated composer
[yaffs-website] / vendor / psy / psysh / test / Psy / Test / ConsoleColorFactoryTest.php
index 9e9ced7e5ff25b1417eb241629e550d0d2b47832..3da13c7b7c9238f81a13877fc2fbfb66a79426fd 100644 (file)
@@ -14,14 +14,14 @@ namespace Psy\Test;
 use Psy\Configuration;
 use Psy\ConsoleColorFactory;
 
-class ConsoleColorFactoryTest extends \PHPUnit_Framework_TestCase
+class ConsoleColorFactoryTest extends \PHPUnit\Framework\TestCase
 {
     public function testGetConsoleColorAuto()
     {
         $colorMode = Configuration::COLOR_MODE_AUTO;
-        $factory = new ConsoleColorFactory($colorMode);
-        $colors = $factory->getConsoleColor();
-        $themes = $colors->getThemes();
+        $factory   = new ConsoleColorFactory($colorMode);
+        $colors    = $factory->getConsoleColor();
+        $themes    = $colors->getThemes();
 
         $this->assertFalse($colors->isStyleForced());
         $this->assertEquals(array('blue'), $themes['line_number']);
@@ -30,9 +30,9 @@ class ConsoleColorFactoryTest extends \PHPUnit_Framework_TestCase
     public function testGetConsoleColorForced()
     {
         $colorMode = Configuration::COLOR_MODE_FORCED;
-        $factory = new ConsoleColorFactory($colorMode);
-        $colors = $factory->getConsoleColor();
-        $themes = $colors->getThemes();
+        $factory   = new ConsoleColorFactory($colorMode);
+        $colors    = $factory->getConsoleColor();
+        $themes    = $colors->getThemes();
 
         $this->assertTrue($colors->isStyleForced());
         $this->assertEquals(array('blue'), $themes['line_number']);
@@ -41,9 +41,9 @@ class ConsoleColorFactoryTest extends \PHPUnit_Framework_TestCase
     public function testGetConsoleColorDisabled()
     {
         $colorMode = Configuration::COLOR_MODE_DISABLED;
-        $factory = new ConsoleColorFactory($colorMode);
-        $colors = $factory->getConsoleColor();
-        $themes = $colors->getThemes();
+        $factory   = new ConsoleColorFactory($colorMode);
+        $colors    = $factory->getConsoleColor();
+        $themes    = $colors->getThemes();
 
         $this->assertFalse($colors->isStyleForced());
         $this->assertEquals(array('none'), $themes['line_number']);