<commit_before><?php

/*
 * This file is part of the Sylius package.
 *
 * (c) <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sylius\Component\Promotion\Generator;

use Sylius\Component\Promotion\Model\PromotionInterface;
use Sylius\Component\Promotion\Model\CouponInterface;

/**
 * Coupon generator interface.
 *
 * @author <NAME> <<EMAIL>>
 */
interface CouponGeneratorInterface
{
    /**
     * Generate coupons for the promotion based on the instruction.
     *
     * @param PromotionInterface $promotion
     * @param Instruction        $instruction
     *
     * @return CouponInterface[] $coupons
     */
    public function generate(PromotionInterface $promotion, Instruction $instruction);

    /**
     * Generate unique code.
     *
     * @return string
     */
    public function generateUniqueCode();
}<commit_msg>Remove unused `use` lines<commit_after><?php

/*
 * This file is part of the Sylius package.
 *
 * (c) <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sylius\Component\Promotion\Generator;

use Sylius\Component\Promotion\Model\CouponInterface;
use Sylius\Component\Promotion\Model\PromotionInterface;

/**
 * Coupon generator interface.
 *
 * @author <NAME> <<EMAIL>>
 */
interface CouponGeneratorInterface
{
    /**
     * Generate coupons for the promotion based on the instruction.
     *
     * @param PromotionInterface $promotion
     * @param Instruction        $instruction
     *
     * @return CouponInterface[] $coupons
     */
    public function generate(PromotionInterface $promotion, Instruction $instruction);

    /**
     * Generate unique code.
     *
     * @return string
     */
    public function generateUniqueCode();
}
{'fraction_non_alphanumeric': 0.09978768577494693, 'fraction_numerical': 0.0, 'mean_word_length': 3.226457399103139, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, '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': '7043347', 'n_tokens_mistral': 524, 'n_tokens_neox': 520, 'n_words': 155}