<commit_before><?php declare(strict_types=1);

namespace Rector\NodeValueResolver\PerNodeValueResolver;

use PhpParser\Node;
use PhpParser\Node\Expr\ClassConstFetch;
use PhpParser\PrettyPrinter\Standard;
use Rector\Node\Attribute;
use Rector\NodeValueResolver\Contract\PerNodeValueResolver\PerNodeValueResolverInterface;

final class ClassConstantFetchValueResolver implements PerNodeValueResolverInterface
{
    /**
     * @var Standard
     */
    private $standardPrinter;

    public function getNodeClass(): string
    {
        return ClassConstFetch::class;
    }

    public function __construct(Standard $standardPrinter)
    {
        $this->standardPrinter = $standardPrinter;
    }

    /**<commit_msg>fix cs<commit_after><?php declare(strict_types=1);

namespace Rector\NodeValueResolver\PerNodeValueResolver;

use PhpParser\Node;
use PhpParser\Node\Expr\ClassConstFetch;
use PhpParser\PrettyPrinter\Standard;
use Rector\Node\Attribute;
use Rector\NodeValueResolver\Contract\PerNodeValueResolver\PerNodeValueResolverInterface;

final class ClassConstantFetchValueResolver implements PerNodeValueResolverInterface
{
    /**
     * @var Standard
     */
    private $standardPrinter;

    public function __construct(Standard $standardPrinter)
    {
        $this->standardPrinter = $standardPrinter;
    }

    public function getNodeClass(): string
    {
        return ClassConstFetch::class;
    }

    /**
{'fraction_non_alphanumeric': 0.08585503166783955, 'fraction_numerical': 0.0014074595355383533, 'mean_word_length': 4.427480916030534, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2409283', 'n_tokens_mistral': 400, 'n_tokens_neox': 393, 'n_words': 71}