Skip to content

Commit 5bd9d9d

Browse files
committed
cs cleanup
1 parent 1dffd2c commit 5bd9d9d

File tree

50 files changed

+91
-121
lines changed

Some content is hidden

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

50 files changed

+91
-121
lines changed

Admin/Extension/ChildExtension.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\CoreBundle\Admin\Extension;
1413

1514
use Sonata\AdminBundle\Admin\AdminExtension;

Admin/Extension/PublishTimePeriodExtension.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\CoreBundle\Admin\Extension;
1413

1514
use Sonata\AdminBundle\Admin\AdminExtension;

Admin/Extension/PublishableExtension.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\CoreBundle\Admin\Extension;
1413

1514
use Sonata\AdminBundle\Admin\AdminExtension;

Admin/Extension/TranslatableExtension.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\CoreBundle\Admin\Extension;
1413

1514
use Sonata\AdminBundle\Admin\AdminExtension;
@@ -36,8 +35,8 @@ class TranslatableExtension extends AdminExtension
3635
protected $locales;
3736

3837
/**
39-
* @param array $locales
40-
* @param string $formGroup - group to use for form mapper
38+
* @param array $locales Available locales to select.
39+
* @param string $formGroup The group name to use for form mapper.
4140
*/
4241
public function __construct($locales, $formGroup = 'form.group_general')
4342
{

CmfCoreBundle.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\CoreBundle;
1413

1514
use Symfony\Component\HttpKernel\Bundle\Bundle;

DependencyInjection/CmfCoreExtension.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\CoreBundle\DependencyInjection;
1413

1514
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
@@ -38,7 +37,7 @@ public function prepend(ContainerBuilder $container)
3837
$config = $this->processConfiguration(new Configuration(), $configs);
3938

4039
$extensions = $container->getExtensions();
41-
if (isset($config['multilang']['locales'])){
40+
if (isset($config['multilang']['locales'])) {
4241
$prependConfig = array('multilang' => $config['multilang']);
4342
if (isset($extensions['cmf_routing'])) {
4443
$container->prependExtensionConfig('cmf_routing', array('dynamic' => $prependConfig['multilang']));

DependencyInjection/Compiler/AddPublishedVotersPass.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\CoreBundle\DependencyInjection\Compiler;
1413

1514
use Symfony\Component\DependencyInjection\Reference;

DependencyInjection/Compiler/DoctrineOrmMappingsPass.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\CoreBundle\DependencyInjection\Compiler;
1413

1514
use Symfony\Component\DependencyInjection\ContainerBuilder;
@@ -36,13 +35,14 @@ class DoctrineOrmMappingsPass implements CompilerPassInterface
3635
* Usually, you should not need to directly instantiate this class but use
3736
* one of the factory methods.
3837
*
39-
* @param Definition|Reference $driver the driver to use
40-
* @param array $namespaces list of namespaces this driver should handle.
41-
* @param string[] $managerParameters ordered list of container parameters that may
42-
* provide the name of the manager to register the mappings for. The first non-empty name
43-
* is used, the others skipped.
38+
* @param Definition|Reference $driver The driver to use.
39+
* @param array $namespaces List of namespaces this driver should handle.
40+
* @param string[] $managerParameters Ordered list of container parameters that may
41+
* provide the name of the manager to register
42+
* the mappings for. The first non-empty name
43+
* is used, the others skipped.
4444
* @param bool $enabledParameter if specified, the compiler pass only executes
45-
* if this parameter exists in the service container.
45+
* if this parameter exists in the service container.
4646
*/
4747
public function __construct($driver, $namespaces, array $managerParameters, $enabledParameter = false)
4848
{
@@ -97,14 +97,14 @@ protected function getChainDriverServiceName(ContainerBuilder $container)
9797
/**
9898
* Create a mapping with the bundle namespace aware SymfonyFileLocator.
9999
*
100-
* @param array $mappings Hashmap of directory path to namespace
101-
* @param string[] $managerParameters List of parameters that could tell which object manager name
102-
* your bundle uses. This compiler pass will automatically
103-
* append the parameter name for the default entity manager
104-
* to this list.
100+
* @param array $mappings Hashmap of directory path to namespace
101+
* @param string[] $managerParameters List of parameters that could tell which object manager name
102+
* your bundle uses. This compiler pass will automatically
103+
* append the parameter name for the default entity manager
104+
* to this list.
105105
* @param boolean|string $enabledParameter Service container parameter that must be present to
106-
* enable the mapping. Set to false to not do any check,
107-
* optional.
106+
* enable the mapping. Set to false to not do any check,
107+
* optional.
108108
*/
109109
public static function createXmlMappingDriver(array $mappings, array $managerParameters = array(), $enabledParameter = false)
110110
{

DependencyInjection/Compiler/RequestAwarePass.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\CoreBundle\DependencyInjection\Compiler;
1413

15-
use Symfony\Component\HttpKernel\Kernel;
1614
use Symfony\Component\DependencyInjection\ContainerBuilder;
1715
use Symfony\Component\DependencyInjection\Reference;
1816
use Symfony\Component\DependencyInjection\ContainerInterface;

DependencyInjection/Configuration.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
1312
namespace Symfony\Cmf\Bundle\CoreBundle\DependencyInjection;
1413

1514
use Symfony\Component\Config\Definition\Builder\TreeBuilder;

0 commit comments

Comments
 (0)