<commit_before><?php

namespace Perfumer\Contracts;

use Perfumer\Contracts\Decorator\ClassGeneratorDecorator;
use Perfumer\Contracts\Decorator\MethodGeneratorDecorator;
use Perfumer\Contracts\Decorator\TestCaseGeneratorDecorator;
use Perfumer\Contracts\Exception\DecoratorException;
use Perfumer\Contracts\Generator\ClassGenerator;
use Perfumer\Contracts\Generator\MethodGenerator;
use Perfumer\Contracts\Generator\StepGenerator;
use Perfumer\Contracts\Generator\TestCaseGenerator;
use Perfumer\Contracts\Variable\ArgumentVariable;
use Perfumer\Contracts\Variable\ReturnedVariable;
use Zend\Code\Generator\MethodGenerator as BaseMethodGenerator;

abstract class Step extends Annotation implements ClassGeneratorDecorator, MethodGeneratorDecorator, TestCaseGeneratorDecorator
{
    /**
     * @var string
     */
    public $name;

    /**
     * @var string
     */
    public $method;

    /**
     * @var array
     */
    public $arguments = [];

    /**
     * @var mixed
     */
    public $return;

    /**
     * @var string
     */
    public $if;

    /**
     * @var string
     */
    public $unless;

    /**
     * @var bool
     */
    public $validate = false;

    /**
     * @return null|StepGenerator|StepGenerator[]
     * @throws DecoratorException
     */
    public function getGenerator()<commit_msg>Change if and unless doctype to mixed<commit_after><?php

namespace Perfumer\Contracts;

use Perfumer\Contracts\Decorator\ClassGeneratorDecorator;
use Perfumer\Contracts\Decorator\MethodGeneratorDecorator;
use Perfumer\Contracts\Decorator\TestCaseGeneratorDecorator;
use Perfumer\Contracts\Exception\DecoratorException;
use Perfumer\Contracts\Generator\ClassGenerator;
use Perfumer\Contracts\Generator\MethodGenerator;
use Perfumer\Contracts\Generator\StepGenerator;
use Perfumer\Contracts\Generator\TestCaseGenerator;
use Perfumer\Contracts\Variable\ArgumentVariable;
use Perfumer\Contracts\Variable\ReturnedVariable;
use Zend\Code\Generator\MethodGenerator as BaseMethodGenerator;

abstract class Step extends Annotation implements ClassGeneratorDecorator, MethodGeneratorDecorator, TestCaseGeneratorDecorator
{
    /**
     * @var string
     */
    public $name;

    /**
     * @var string
     */
    public $method;

    /**
     * @var array
     */
    public $arguments = [];

    /**
     * @var mixed
     */
    public $return;

    /**
     * @var mixed
     */
    public $if;

    /**
     * @var mixed
     */
    public $unless;

    /**
     * @var bool
     */
    public $validate = false;

    /**
     * @return null|StepGenerator|StepGenerator[]
     * @throws DecoratorException
     */
    public function getGenerator()
{'fraction_non_alphanumeric': 0.10187265917602996, 'fraction_numerical': 0.0, 'mean_word_length': 3.2736, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3654126', 'n_tokens_mistral': 799, 'n_tokens_neox': 781, 'n_words': 149}