src/Fixer/FunctionNotation/MethodArgumentSpaceFixer.php
protected function createConfigurationDefinition()
    {
        return new FixerConfigurationResolver([
            (new FixerOptionBuilder('keep_multiple_spaces_after_comma', 'Whether keep multiple spaces after comma.'))
                ->setAllowedTypes(['bool'])
                ->setDefault(false)
                ->getOption(),
            (new FixerOptionBuilder(
                'ensure_fully_multiline',
                'ensure every argument of a multiline argument list is on its own line'
            ))
                ->setAllowedTypes(['bool'])
                ->setDefault(false) // @TODO 3.0 remove
                ->setDeprecationMessage('Use option `on_multiline` instead.')
                ->getOption(),
            (new FixerOptionBuilder(
                'on_multiline',
                'Defines how to handle function arguments lists that contain newlines.'
            ))
                ->setAllowedValues(['ignore', 'ensure_single_line', 'ensure_fully_multiline'])
                ->setDefault('ignore') // @TODO 3.0 should be 'ensure_fully_multiline'
                ->getOption(),
        ]);
    }
protected function createConfigurationDefinition()
    {
        return new FixerConfigurationResolver([
            (new FixerOptionBuilder('keep_multiple_spaces_after_comma', 'Whether keep multiple spaces after comma.'))
                ->setAllowedTypes(['bool'])
                ->setDefault(false)
                ->getOption(),
            (new FixerOptionBuilder(
                'ensure_fully_multiline',
                'ensure every argument of a multiline argument list is on its own line'
            ))
                ->setAllowedTypes(['bool'])
                ->setDefault(false) // @TODO 3.0 remove
                ->setDeprecationMessage('Use option `on_multiline` instead.')
                ->getOption(),
            (new FixerOptionBuilder(
                'on_multiline',
                'Defines how to handle function arguments lists that contain newlines.'
            ))
                ->setAllowedValues(['ignore', 'ensure_single_line', 'ensure_fully_multiline'])
                ->setDefault('ignore') // @TODO 3.0 should be 'ensure_fully_multiline'
                ->getOption(),
        ]);
    }
protected function createConfigurationDefinition ( ) { return new FixerConfigurationResolver ( [ ( new FixerOptionBuilder ( 'keep_multiple_spaces_after_comma' , 'Whether keep multiple spaces after comma.' ) ) -> setAllowedTypes ( [ 'bool' ] ) -> setDefault ( false ) -> getOption ( ) , ( new FixerOptionBuilder ( 'ensure_fully_multiline' , 'ensure every argument of a multiline argument list is on its own line' ) ) -> setAllowedTypes ( [ 'bool' ] ) -> setDefault ( false ) // @TODO 3.0 remove -> setDeprecationMessage ( 'Use option `on_multiline` instead.' ) -> getOption ( ) , ( new FixerOptionBuilder ( 'on_multiline' , 'Defines how to handle function arguments lists that contain newlines.' ) ) -> setAllowedValues ( [ 'ignore' , 'ensure_single_line' , 'ensure_fully_multiline' ] ) -> setDefault ( 'ignore' ) // @TODO 3.0 should be 'ensure_fully_multiline' -> getOption ( ) , ] ) ; }
{@inheritdoc}
{