code: protected function createConfigurationDefinition()
      {
          return new FixerConfigurationResolver([
              (new FixerOptionBuilder('comment_text', 'The text to use in the added comment and to detect it.'))
                  ->setAllowedTypes(['string'])
                  ->setAllowedValues([
                      function ($value) {
                          if (\is_string($value) && Preg::match('/\R/', $value)) {
                              throw new InvalidOptionsException('The comment text must not contain new lines.');
                          }
  
                          return true;
                      },
                  ])
                  ->setNormalizer(function (Options $options, $value) {
                      return rtrim($value);
                  })
                  ->setDefault('no break')
                  ->getOption(),
          ]);
      }
docs: {@inheritdoc}