CS: Ensure there is no code on the same line as the PHP open tag and it is followed by a blankline

This commit is contained in:
Dariusz Ruminski 2015-03-24 17:36:00 +01:00
parent 86e9b9409c
commit 6a16d917fe
8 changed files with 13 additions and 1 deletions

6
.php_cs Normal file
View File

@ -0,0 +1,6 @@
<?php
return Symfony\CS\Config\Config::create()
->setUsingLinter(false)
->setUsingCache(true)
;

View File

@ -1,4 +1,5 @@
<?php
/*
* This file is part of the Symfony package.
*

View File

@ -1,4 +1,5 @@
<?php
/*
* This file is part of the Symfony package.
*

View File

@ -77,7 +77,7 @@ class PhpStringTokenParser
if ('\'' === $str[$bLength]) {
return str_replace(
array('\\\\', '\\\''),
array( '\\', '\''),
array('\\', '\''),
substr($str, $bLength + 1, -1)
);
} else {

View File

@ -1,4 +1,5 @@
<?php
/*
* This file is part of the Symfony package.
*

View File

@ -1,4 +1,5 @@
<?php
/*
* This file is part of the Symfony package.
*

View File

@ -1,4 +1,5 @@
<?php
/*
* This file is part of the Symfony package.
*

View File

@ -1,4 +1,5 @@
<?php
namespace Symfony\Component\Security\Http\RememberMe;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;