Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed CS

  • Loading branch information...
commit 1218f723fddf66d015e6e683583979acde7e26fd 1 parent 7659064
@pborreli pborreli authored
View
2  BinaryFileResponse.php
@@ -177,7 +177,7 @@ public function prepare(Request $request)
$path = $this->file->getRealPath();
if (strtolower($type) == 'x-accel-redirect') {
// Do X-Accel-Mapping substitutions.
- foreach (explode(',', $request->headers->get('X-Accel-Mapping', '')) as $mapping) {
+ foreach (explode(',', $request->headers->get('X-Accel-Mapping', '')) as $mapping) {
$mapping = explode('=', $mapping, 2);
if (2 == count($mapping)) {
View
2  File/UploadedFile.php
@@ -299,6 +299,6 @@ public function getErrorMessage()
$maxFilesize = $errorCode === UPLOAD_ERR_INI_SIZE ? self::getMaxFilesize() / 1024 : 0;
$message = isset($errors[$errorCode]) ? $errors[$errorCode] : 'The file "%s" was not uploaded due to an unknown error.';
- return sprintf($message, $this->getClientOriginalName(), $maxFilesize);
+ return sprintf($message, $this->getClientOriginalName(), $maxFilesize);
}
}
View
2  ParameterBag.php
@@ -266,7 +266,7 @@ public function getInt($key, $default = 0, $deep = false)
*
* @return mixed
*/
- public function filter($key, $default = null, $deep = false, $filter=FILTER_DEFAULT, $options=array())
+ public function filter($key, $default = null, $deep = false, $filter = FILTER_DEFAULT, $options = array())
{
$value = $this->get($key, $default, $deep);
View
2  Request.php
@@ -906,7 +906,7 @@ public function getUserInfo()
$pass = $this->getPassword();
if ('' != $pass) {
- $userinfo .= ":$pass";
+ $userinfo .= ":$pass";
}
return $userinfo;
View
2  Session/Flash/FlashBag.php
@@ -76,7 +76,7 @@ public function add($type, $message)
/**
* {@inheritdoc}
*/
- public function peek($type, array $default =array())
+ public function peek($type, array $default = array())
{
return $this->has($type) ? $this->flashes[$type] : $default;
}
View
2  Tests/CookieTest.php
@@ -51,7 +51,7 @@ public function testInstantiationThrowsExceptionIfCookieNameContainsInvalidChara
*/
public function testInvalidExpiration()
{
- $cookie = new Cookie('MyCookie', 'foo','bar');
+ $cookie = new Cookie('MyCookie', 'foo', 'bar');
}
/**
View
2  Tests/File/UploadedFileTest.php
@@ -224,7 +224,7 @@ public function testIsValid()
null,
filesize(__DIR__.'/Fixtures/test.gif'),
UPLOAD_ERR_OK,
- true
+ true
);
$this->assertTrue($file->isValid());
View
2  Tests/Session/Storage/Proxy/AbstractProxyTest.php
@@ -22,7 +22,7 @@ class ConcreteProxy extends AbstractProxy
class ConcreteSessionHandlerInterfaceProxy extends AbstractProxy implements \SessionHandlerInterface
{
- public function open($savePath, $sessionName)
+ public function open($savePath, $sessionName)
{
}
Please sign in to comment.
Something went wrong with that request. Please try again.