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:
parent
86e9b9409c
commit
6a16d917fe
6
.php_cs
Normal file
6
.php_cs
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return Symfony\CS\Config\Config::create()
|
||||||
|
->setUsingLinter(false)
|
||||||
|
->setUsingCache(true)
|
||||||
|
;
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony package.
|
* This file is part of the Symfony package.
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony package.
|
* This file is part of the Symfony package.
|
||||||
*
|
*
|
||||||
|
@ -77,7 +77,7 @@ class PhpStringTokenParser
|
|||||||
if ('\'' === $str[$bLength]) {
|
if ('\'' === $str[$bLength]) {
|
||||||
return str_replace(
|
return str_replace(
|
||||||
array('\\\\', '\\\''),
|
array('\\\\', '\\\''),
|
||||||
array( '\\', '\''),
|
array('\\', '\''),
|
||||||
substr($str, $bLength + 1, -1)
|
substr($str, $bLength + 1, -1)
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony package.
|
* This file is part of the Symfony package.
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony package.
|
* This file is part of the Symfony package.
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony package.
|
* This file is part of the Symfony package.
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Symfony\Component\Security\Http\RememberMe;
|
namespace Symfony\Component\Security\Http\RememberMe;
|
||||||
|
|
||||||
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
||||||
|
Reference in New Issue
Block a user