This commit is contained in:
Fabien Potencier 2015-05-15 15:53:19 +02:00
parent e83db434a2
commit 0678b3e6f8
6 changed files with 8 additions and 8 deletions

View File

@ -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']) {

View File

@ -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)'),
))

View File

@ -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())
;
}
}

View File

@ -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);

View File

@ -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()
{

View File

@ -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())