CS: unalign =>
This commit is contained in:
parent
db243627e5
commit
1233baa669
|
@ -51,7 +51,7 @@ class PhpStringTokenParser
|
||||||
{
|
{
|
||||||
protected static $replacements = array(
|
protected static $replacements = array(
|
||||||
'\\' => '\\',
|
'\\' => '\\',
|
||||||
'$' => '$',
|
'$' => '$',
|
||||||
'n' => "\n",
|
'n' => "\n",
|
||||||
'r' => "\r",
|
'r' => "\r",
|
||||||
't' => "\t",
|
't' => "\t",
|
||||||
|
|
|
@ -22,7 +22,7 @@ class FirewallEntryPointTest extends WebTestCase
|
||||||
|
|
||||||
$client->request('GET', '/secure/resource', array(), array(), array(
|
$client->request('GET', '/secure/resource', array(), array(), array(
|
||||||
'PHP_AUTH_USER' => 'unknown',
|
'PHP_AUTH_USER' => 'unknown',
|
||||||
'PHP_AUTH_PW' => 'credentials',
|
'PHP_AUTH_PW' => 'credentials',
|
||||||
));
|
));
|
||||||
|
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
|
|
|
@ -155,7 +155,7 @@ class MongoDbSessionHandler implements \SessionHandlerInterface
|
||||||
public function read($sessionId)
|
public function read($sessionId)
|
||||||
{
|
{
|
||||||
$dbData = $this->getCollection()->findOne(array(
|
$dbData = $this->getCollection()->findOne(array(
|
||||||
$this->options['id_field'] => $sessionId,
|
$this->options['id_field'] => $sessionId,
|
||||||
$this->options['expiry_field'] => array('$gte' => new \MongoDate()),
|
$this->options['expiry_field'] => array('$gte' => new \MongoDate()),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ EOF;
|
||||||
'42 cannot be used here',
|
'42 cannot be used here',
|
||||||
'this is the message template',
|
'this is the message template',
|
||||||
array(),
|
array(),
|
||||||
array('some_value' => 42),
|
array('some_value' => 42),
|
||||||
'some_value',
|
'some_value',
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
|
Reference in New Issue