Skip to content

Commit c74446b

Browse files
committed
Merge branch '2.5' into 2.6
* 2.5: [2.3] CS And DocBlock Fixes [2.3] CS Fixes [FrameworkBundle] Fixed Translation loader and update translation command. [Console] remove « use » statement for PHP built-in exception classes. [SecurityBundle] adds unit tests suite for SecurityDataCollector class. Conflicts: src/Symfony/Bundle/SecurityBundle/DataCollector/SecurityDataCollector.php src/Symfony/Bundle/SecurityBundle/Tests/DataCollector/SecurityDataCollectorTest.php src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php src/Symfony/Component/Form/Form.php src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php src/Symfony/Component/OptionsResolver/Options.php src/Symfony/Component/OptionsResolver/OptionsResolver.php src/Symfony/Component/Process/ProcessPipes.php src/Symfony/Component/Stopwatch/Stopwatch.php src/Symfony/Component/Translation/Loader/XliffFileLoader.php src/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php
2 parents 626c772 + ff7533a commit c74446b

File tree

8 files changed

+9
-8
lines changed

8 files changed

+9
-8
lines changed

Command/InitAclCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Doctrine\DBAL\Schema\SchemaException;
1818

1919
/**
20-
* Installs the tables required by the ACL system
20+
* Installs the tables required by the ACL system.
2121
*
2222
* @author Johannes M. Schmitt <[email protected]>
2323
*/

DataCollector/SecurityDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function collect(Request $request, Response $response, \Exception $except
6363
'authenticated' => $token->isAuthenticated(),
6464
'token_class' => get_class($token),
6565
'user' => $token->getUsername(),
66-
'roles' => array_map(function (RoleInterface $role) { return $role->getRole();}, $token->getRoles()),
66+
'roles' => array_map(function (RoleInterface $role) { return $role->getRole(); }, $token->getRoles()),
6767
);
6868
}
6969
}

DependencyInjection/Compiler/AddSecurityVotersPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
1717

1818
/**
19-
* Adds all configured security voters to the access decision manager
19+
* Adds all configured security voters to the access decision manager.
2020
*
2121
* @author Johannes M. Schmitt <[email protected]>
2222
*/

DependencyInjection/MainConfiguration.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
use Symfony\Component\Config\Definition\ConfigurationInterface;
1919

2020
/**
21-
* This class contains the configuration information for the following tags:
21+
* This class contains the configuration information.
22+
*
23+
* This information is for the following tags:
2224
*
2325
* * security.config
2426
* * security.acl

DependencyInjection/Security/Factory/AbstractFactory.php

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

1919
/**
2020
* AbstractFactory is the base class for all classes inheriting from
21-
* AbstractAuthenticationListener
21+
* AbstractAuthenticationListener.
2222
*
2323
* @author Fabien Potencier <[email protected]>
2424
* @author Lukas Kahwe Smith <[email protected]>

Security/FirewallMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Symfony\Component\DependencyInjection\ContainerInterface;
1717

1818
/**
19-
* This is a lazy-loading firewall map implementation
19+
* This is a lazy-loading firewall map implementation.
2020
*
2121
* Listeners will only be initialized if we really need them.
2222
*

Tests/DataCollector/SecurityDataCollectorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ private function getRequest()
8080
->disableOriginalConstructor()
8181
->getMock();
8282
}
83+
8384
private function getResponse()
8485
{
8586
return $this

Tests/DependencyInjection/Fixtures/UserProvider/DummyProvider.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class DummyProvider implements UserProviderFactoryInterface
1010
{
1111
public function create(ContainerBuilder $container, $id, $config)
1212
{
13-
1413
}
1514

1615
public function getKey()
@@ -20,6 +19,5 @@ public function getKey()
2019

2120
public function addConfiguration(NodeDefinition $node)
2221
{
23-
2422
}
2523
}

0 commit comments

Comments
 (0)