8000 CS: Ensure there is no code on the same line as the PHP open tag and … · symfony/symfony@6a16d91 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6a16d91

Browse files
committed
CS: Ensure there is no code on the same line as the PHP open tag and it is followed by a blankline
1 parent 86e9b94 commit 6a16d91

File tree

8 files changed

+13
-1
lines changed

8 files changed

+13
-1
lines changed

.php_cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
return Symfony\CS\Config\Config::create()
4+
->setUsingLinter(false)
5+
->setUsingCache(true)
6+
;

src/Symfony/Bridge/Propel1/Form/EventListener/TranslationCollectionFormListener.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
* This file is part of the Symfony package.
45
*

src/Symfony/Bridge/Propel1/Form/EventListener/TranslationFormListener.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
* This file is part of the Symfony package.
45
*

src/Symfony/Bundle/FrameworkBundle/Translation/PhpStringTokenParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public static function parse($str)
7777
if ('\'' === $str[$bLength]) {
7878
return str_replace(
7979
array('\\\\', '\\\''),
80-
array( '\\', '\''),
80+
array('\\', '\''),
8181
substr($str, $bLength + 1, -1)
8282
);
8383
} else {

src/Symfony/Component/Form/FormEvents.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
* This file is part of the Symfony package.
45
*

src/Symfony/Component/HttpKernel/Profiler/FileProfilerStorage.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
* This file is part of the Symfony package.
45
*

src/Symfony/Component/Security/Acl/Domain/Acl.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
* This file is part of the Symfony package.
45
*

src/Symfony/Component/Security/Http/RememberMe/RememberMeServicesInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
namespace Symfony\Component\Security\Http\RememberMe;
34

45
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

0 commit comments

Comments
 (0)
0