src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php
protected function createConfigurationDefinition()
    {
        return new FixerConfigurationResolver([
            (new FixerOptionBuilder('target', 'Target version of PHPUnit.'))
                ->setAllowedTypes(['string'])
                ->setAllowedValues([PhpUnitTargetVersion::VERSION_3_2, PhpUnitTargetVersion::VERSION_4_3, PhpUnitTargetVersion::VERSION_NEWEST])
                ->setDefault(PhpUnitTargetVersion::VERSION_NEWEST)
                ->getOption(),
            (new FixerOptionBuilder('use_class_const', 'Use ::class notation.'))
                ->setAllowedTypes(['bool'])
                ->setDefault(true)
                ->getOption(),
        ]);
    }
protected function createConfigurationDefinition()
    {
        return new FixerConfigurationResolver([
            (new FixerOptionBuilder('target', 'Target version of PHPUnit.'))
                ->setAllowedTypes(['string'])
                ->setAllowedValues([PhpUnitTargetVersion::VERSION_3_2, PhpUnitTargetVersion::VERSION_4_3, PhpUnitTargetVersion::VERSION_NEWEST])
                ->setDefault(PhpUnitTargetVersion::VERSION_NEWEST)
                ->getOption(),
            (new FixerOptionBuilder('use_class_const', 'Use ::class notation.'))
                ->setAllowedTypes(['bool'])
                ->setDefault(true)
                ->getOption(),
        ]);
    }
protected function createConfigurationDefinition ( ) { return new FixerConfigurationResolver ( [ ( new FixerOptionBuilder ( 'target' , 'Target version of PHPUnit.' ) ) -> setAllowedTypes ( [ 'string' ] ) -> setAllowedValues ( [ PhpUnitTargetVersion :: VERSION_3_2 , PhpUnitTargetVersion :: VERSION_4_3 , PhpUnitTargetVersion :: VERSION_NEWEST ] ) -> setDefault ( PhpUnitTargetVersion :: VERSION_NEWEST ) -> getOption ( ) , ( new FixerOptionBuilder ( 'use_class_const' , 'Use ::class notation.' ) ) -> setAllowedTypes ( [ 'bool' ] ) -> setDefault ( true ) -> getOption ( ) , ] ) ; }
{@inheritdoc}
{