Merge branch '3.1' into 3.2
* 3.1: fixed CS
This commit is contained in:
commit
16d8fa669a
@ -15,7 +15,6 @@ class RegisterMappingsPassTest extends \PHPUnit_Framework_TestCase
|
||||
public function testNoDriverParmeterException()
|
||||
{
|
||||
$container = $this->createBuilder(array(
|
||||
|
||||
));
|
||||
$this->process($container, array(
|
||||
'manager.param.one',
|
||||
|
@ -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());
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user