fixed CS
This commit is contained in:
parent
e83db434a2
commit
0678b3e6f8
@ -36,7 +36,7 @@ class DebugExtension extends Extension
|
||||
$loader->load('services.xml');
|
||||
|
||||
$container->getDefinition('var_dumper.cloner')
|
||||
->addMethodCall('setMaxItems', array($config['max_items']))
|
||||
->addMethodCall('setMaxItems', array($config['max_items']))
|
||||
->addMethodCall('setMaxString', array($config['max_string_length']));
|
||||
|
||||
if (null !== $config['dump_destination']) {
|
||||
|
@ -55,7 +55,7 @@ class RouterDebugCommand extends ContainerAwareCommand
|
||||
))
|
||||
->setDefinition(array(
|
||||
new InputArgument('name', InputArgument::OPTIONAL, 'A route name'),
|
||||
new InputOption('show-controllers', null, InputOption::VALUE_NONE, 'Show assigned controllers in overview'),
|
||||
new InputOption('show-controllers', null, InputOption::VALUE_NONE, 'Show assigned controllers in overview'),
|
||||
new InputOption('format', null, InputOption::VALUE_REQUIRED, 'To output route(s) in other formats', 'txt'),
|
||||
new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw route(s)'),
|
||||
))
|
||||
|
@ -30,10 +30,10 @@ class DescriptorHelper extends BaseDescriptorHelper
|
||||
public function __construct()
|
||||
{
|
||||
$this
|
||||
->register('txt', new TextDescriptor())
|
||||
->register('xml', new XmlDescriptor())
|
||||
->register('txt', new TextDescriptor())
|
||||
->register('xml', new XmlDescriptor())
|
||||
->register('json', new JsonDescriptor())
|
||||
->register('md', new MarkdownDescriptor())
|
||||
->register('md', new MarkdownDescriptor())
|
||||
;
|
||||
}
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ class PreAuthenticatedAuthenticationProvider implements AuthenticationProviderIn
|
||||
throw new BadCredentialsException('No pre-authenticated principal found in request.');
|
||||
}
|
||||
|
||||
$user = $this->userProvider->loadUserByUsername($user);
|
||||
$user = $this->userProvider->loadUserByUsername($user);
|
||||
|
||||
$this->userChecker->checkPostAuth($user);
|
||||
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\Validator\Validation;
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @group legacy
|
||||
*/
|
||||
class LegacyUserPasswordValidatorApiTest extends UserPasswordValidatorTest
|
||||
class LegacyUserPasswordValidatorTest extends UserPasswordValidatorTest
|
||||
{
|
||||
protected function getApiVersion()
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ class RememberMeListenerTest extends \PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testOnCoreSecurityIgnoresAuthenticationOptionallyRethrowsExceptionThrownAuthenticationManagerImplementation()
|
||||
{
|
||||
list($listener, $context, $service, $manager,) = $this->getListener(false, false);
|
||||
list($listener, $context, $service, $manager) = $this->getListener(false, false);
|
||||
|
||||
$context
|
||||
->expects($this->once())
|
||||
|
Reference in New Issue
Block a user