fixed CS
This commit is contained in:
parent
851eb73778
commit
68b7662400
@ -45,6 +45,7 @@ class FirePHPHandler extends BaseFirePHPHandler
|
||||
if (!preg_match('{\bFirePHP/\d+\.\d+\b}', $event->getRequest()->headers->get('User-Agent'))) {
|
||||
$this->sendHeaders = false;
|
||||
$this->headers = array();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -64,7 +64,7 @@ class ChainUserProvider implements UserProviderInterface
|
||||
// try next one
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ($supportedUserFound) {
|
||||
throw new UsernameNotFoundException(sprintf('There is no user with name "%s".', $user->getUsername()));
|
||||
} else {
|
||||
|
@ -31,4 +31,4 @@ class AssociationEntity
|
||||
* @var \Symfony\Tests\Bridge\Doctrine\Form\Fixtures\CompositeIdentEntity
|
||||
*/
|
||||
public $composite;
|
||||
}
|
||||
}
|
||||
|
@ -204,13 +204,13 @@ class SessionTest extends \PHPUnit_Framework_TestCase
|
||||
$this->assertSame(array(), $this->session->getFlashes());
|
||||
$this->assertSame(array(), $this->session->all());
|
||||
}
|
||||
|
||||
|
||||
public function testSavedOnDestruct()
|
||||
{
|
||||
$this->session->set('foo', 'bar');
|
||||
|
||||
|
||||
$this->session->__destruct();
|
||||
|
||||
|
||||
$expected = array(
|
||||
'attributes'=>array('foo'=>'bar'),
|
||||
'flashes'=>array(),
|
||||
@ -219,15 +219,15 @@ class SessionTest extends \PHPUnit_Framework_TestCase
|
||||
$saved = $this->storage->read('_symfony2');
|
||||
$this->assertSame($expected, $saved);
|
||||
}
|
||||
|
||||
|
||||
public function testSavedOnDestructAfterManualSave()
|
||||
{
|
||||
$this->session->set('foo', 'nothing');
|
||||
$this->session->save();
|
||||
$this->session->set('foo', 'bar');
|
||||
|
||||
|
||||
$this->session->__destruct();
|
||||
|
||||
|
||||
$expected = array(
|
||||
'attributes'=>array('foo'=>'bar'),
|
||||
'flashes'=>array(),
|
||||
|
@ -160,7 +160,7 @@ class UrlMatcherTest extends \PHPUnit_Framework_TestCase
|
||||
$this->assertEquals(array('_route' => 'foo', 'foo' => $chars), $matcher->match('/'.urlencode($chars).'/bar'));
|
||||
$this->assertEquals(array('_route' => 'foo', 'foo' => $chars), $matcher->match('/'.strtr($chars, array('%' => '%25', '+' => '%2B')).'/bar'));
|
||||
}
|
||||
|
||||
|
||||
public function testMatchWithDotMetacharacterInRequirements()
|
||||
{
|
||||
$collection = new RouteCollection();
|
||||
|
@ -98,4 +98,4 @@ class RouteCompilerTest extends \PHPUnit_Framework_TestCase
|
||||
)),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user