From e3dcde7b8a122123cfd67fc2286f21bfd8b9e04a Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sat, 21 Jan 2017 09:13:55 -0800 Subject: [PATCH] fixed CS --- .../CompilerPass/RegisterMappingsPassTest.php | 1 - src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php | 4 ++-- src/Symfony/Component/Process/Tests/ProcessTest.php | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Bridge/Doctrine/Tests/DependencyInjection/CompilerPass/RegisterMappingsPassTest.php b/src/Symfony/Bridge/Doctrine/Tests/DependencyInjection/CompilerPass/RegisterMappingsPassTest.php index c86ef11775..85e35f9b1f 100644 --- a/src/Symfony/Bridge/Doctrine/Tests/DependencyInjection/CompilerPass/RegisterMappingsPassTest.php +++ b/src/Symfony/Bridge/Doctrine/Tests/DependencyInjection/CompilerPass/RegisterMappingsPassTest.php @@ -15,7 +15,6 @@ class RegisterMappingsPassTest extends \PHPUnit_Framework_TestCase public function testNoDriverParmeterException() { $container = $this->createBuilder(array( - )); $this->process($container, array( 'manager.param.one', diff --git a/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php b/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php index e729a27526..6e2c3fab03 100755 --- a/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php +++ b/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php @@ -30,14 +30,14 @@ class CrawlerTest extends \PHPUnit_Framework_TestCase public function testGetUri() { $uri = 'http://symfony.com'; - $crawler = new Crawler(null, $uri); + $crawler = new Crawler(null, $uri); $this->assertEquals($uri, $crawler->getUri()); } public function testGetBaseHref() { $baseHref = 'http://symfony.com'; - $crawler = new Crawler(null, null, $baseHref); + $crawler = new Crawler(null, null, $baseHref); $this->assertEquals($baseHref, $crawler->getBaseHref()); } diff --git a/src/Symfony/Component/Process/Tests/ProcessTest.php b/src/Symfony/Component/Process/Tests/ProcessTest.php index f317fc7d72..223c8c9871 100644 --- a/src/Symfony/Component/Process/Tests/ProcessTest.php +++ b/src/Symfony/Component/Process/Tests/ProcessTest.php @@ -1281,7 +1281,7 @@ class ProcessTest extends \PHPUnit_Framework_TestCase { $i = 0; $input = new InputStream(); - $input->onEmpty(function () use (&$i) {++$i;}); + $input->onEmpty(function () use (&$i) { ++$i; }); $process = $this->getProcess(self::$phpBin.' -r '.escapeshellarg('echo 123; echo fread(STDIN, 1); echo 456;')); $process->setInput($input);