8000 fixed CS · renegare/symfony@62e4342 · GitHub
[go: up one dir, main page]

Skip to content

Commit 62e4342

Browse files
committed
fixed CS
1 parent 8d262bf commit 62e4342

File tree

58 files changed

+127
-75
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+127
-75
lines changed

src/Symfony/Bridge/Doctrine/Form/ChoiceList/EntityChoiceList.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,15 @@ private function loadEntities($entities, $group = null)
181181
// entity ID for performance reasons
182182
$id = current($this->getIdentifierValues($entity));
183183
}
184-
184+
185185
if (null === $group) {
186186
// Flat list of choices
187187
$this->choices[$id] = $value;
188188
} else {
189189
// Nested choices
190190
$this->choices[$group][$id] = $value;
191191
}
192-
192+
193193
$this->entities[$id] = $entity;
194194
}
195195
}
@@ -242,6 +242,7 @@ public function getEntity($key)
242242
if (count($this->identifier) > 1) {
243243
// $key is a collection index
244244
$entities = $this->getEntities();
245+
245246
return isset($entities[$key]) ? $entities[$key] : null;
246247
} else if ($this->entities) {
247248
return isset($this->entities[$key]) ? $this->entities[$key] : null;

src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function getRequiredOptions()
3333

3434
/**
3535
* The validator must be defined as a service with this name.
36-
*
36+
*
3737
* @return string
3838
*/
3939
public function validatedBy()

src/Symfony/Bundle/AsseticBundle/CacheWarmer/AssetWriterCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
/**
1919
* The AssetWriterCacheWarmer processes and writes the asset files.
20-
*
20+
*
2121
* @author Kris Wallsmith <kris@symfony.com>
2222
*/
2323
class AssetWriterCacheWarmer implements CacheWarmerInterface

src/Symfony/Bundle/AsseticBundle/DependencyInjection/AsseticExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ static protected function processConfigs(array $configs, $debug, array $bundles)
133133
{
134134
$processor = new Processor();
135135
$configuration = new Configuration($debug, $bundles);
136+
136137
return $processor->processConfiguration($configuration, $configs);
137138
}
138139

src/Symfony/Bundle/AsseticBundle/Tests/CacheWarmer/AssetManagerCacheWarmerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ public function testWarmUp()
3131
;
3232

3333
$am->expects($this->once())->method('load');
34-
34+
3535
$container = $this
3636
->getMockBuilder('Symfony\\Component\\DependencyInjection\\Container')
3737
->setConstructorArgs(array())
3838
->getMock()
3939
;
40-
40+
4141
$container
4242
->expects($this->once())
4343
->method('get')

src/Symfony/Bundle/AsseticBundle/Tests/CacheWarmer/AssetWriterCacheWarmerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected function setUp()
2525
public function testWarmUp()
2626
{
2727
$am = $this->getMock('Assetic\\AssetManager');
28-
28+
2929
$writer = $this
3030
->getMockBuilder('Assetic\\AssetWriter')
3131
->disableOriginalConstructor()
@@ -37,19 +37,19 @@ public function testWarmUp()
3737
->method('writeManagerAssets')
3838
->with($am)
3939
;
40-
40+
4141
$container = $this
4242
->getMockBuilder('Symfony\\Component\\DependencyInjection\\Container')
4343
->setConstructorArgs(array())
4444
->getMock()
4545
;
46-
46+
4747
$container
4848
->expects($this->once())
4949
->method('get')
5050
->with('assetic.asset_manager')
5151
->will($this->returnValue($am))
52-
;
52+
;
5353

5454
$warmer = new AssetWriterCacheWarmer($container, $writer);
5555
$warmer->warmUp('/path/to/cache');

src/Symfony/Bundle/DoctrineAbstractBundle/DependencyInjection/AbstractDoctrineExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ protected function getMappingDriverBundleConfigDefaults(array $bundleConfig, \Re
168168
if (!$bundleConfig['prefix']) {
169169
$bundleConfig['prefix'] = $bundle->getNamespaceName().'\\'.$this->getMappingObjectDefaultName();
170170
}
171+
171172
return $bundleConfig;
172173
}
173174

src/Symfony/Bundle/DoctrineBundle/Resources/config/orm.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<!-- form field factory guesser -->
3333
<parameter key="form.type_guesser.doctrine.class">Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser</parameter>
34-
34+
3535
<!-- validator -->
3636
<parameter key="doctrine.orm.validator.unique.class">Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator</parameter>
3737
</parameters>
@@ -60,7 +60,7 @@
6060
<service id="doctrine.orm.configuration" class="%doctrine.orm.configuration.class%" abstract="true" public="false" />
6161

6262
<service id="doctrine.orm.entity_manager.abstract" class="%doctrine.orm.entity_manager.class%" factory-class="%doctrine.orm.entity_manager.class%" factory-method="create" abstract="true" />
63-
63+
6464
<!-- validator -->
6565
<service id="doctrine.orm.validator.unique" class="%doctrine.orm.validator.unique.class%">
6666
<tag name="validator.constraint_validator" alias="doctrine.orm.validator.unique" />

src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/XMLSchemaTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ static public function dataValidateSchemaFiles()
2222
$schemaFiles[] = array($element->getPathname());
2323
}
2424
}
25+
2526
return $schemaFiles;
2627
}
2728

src/Symfony/Bundle/FrameworkBundle/Console/Shell.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ protected function getHeader()
2929
{
3030
return <<<EOF
3131
<info>
32-
_____ __ ___
33-
/ ____| / _| |__ \
32+
_____ __ ___
33+
/ ____| / _| |__ \
3434
| (___ _ _ _ __ ___ | |_ ___ _ __ _ _ ) |
35-
\___ \| | | | '_ ` _ \| _/ _ \| '_ \| | | | / /
36-
____) | |_| | | | | | | || (_) | | | | |_| |/ /_
35+
\___ \| | | | '_ ` _ \| _/ _ \| '_ \| | | | / /
36+
____) | |_| | | | | | | || (_) | | | | |_| |/ /_
3737
|_____/ \__, |_| |_| |_|_| \___/|_| |_|\__, |____|
38-
__/ | __/ |
39-
|___/ |___/
38+
__/ | __/ |
39+
|___/ |___/
4040
4141
</info>
4242
EOF

0 commit comments

Comments
 (0)
0