protected function createOptionsResolver()
    {
        $resolver = new AttributesResolver();
        $resolver->setDefault('prefer-lock', false, 'bool')
            ->setDefault('prefer-source', false, 'bool')
            ->setDefault('no-scripts', false, 'bool');

        return $resolver;
    }