<commit_before><?php

/*
 * This file is part of PHP-CFG, a Control flow graph implementation for PHP
 *
 * @copyright 2015 <NAME>. All rights reserved
 * @license MIT See LICENSE at the root of the project for more info
 */

namespace PHPCfg\Op\Expr;

use PHPCfg\Op\Expr;
use PhpCfg\Operand;

class Include_ extends Expr {
    const TYPE_INCLUDE = 1;
    const TYPE_INCLUDE_OPNCE = 2;
    const TYPE_REQUIRE = 3;
    const TYPE_REQUIRE_ONCE = 4;

    public $type;
    public $expr;

    public function __construct(Operand $expr, $type, array $attributes = []) {
        parent::__construct($attributes);
        $this->expr = $this->addReadRef($expr);
        $this->type = $type;
    }

    public function getVariableNames() {
        return ["expr", "result"];
    }
}<commit_msg>TYPE_INCLUDE_OPNCE ->TYPE_INCLUDE_ONCE (#44)<commit_after><?php

/*
 * This file is part of PHP-CFG, a Control flow graph implementation for PHP
 *
 * @copyright 2015 <NAME>. All rights reserved
 * @license MIT See LICENSE at the root of the project for more info
 */

namespace PHPCfg\Op\Expr;

use PHPCfg\Op\Expr;
use PhpCfg\Operand;

class Include_ extends Expr {
    const TYPE_INCLUDE = 1;
    const TYPE_INCLUDE_ONCE = 2;
    const TYPE_REQUIRE = 3;
    const TYPE_REQUIRE_ONCE = 4;

    public $type;
    public $expr;

    public function __construct(Operand $expr, $type, array $attributes = []) {
        parent::__construct($attributes);
        $this->expr = $this->addReadRef($expr);
        $this->type = $type;
    }

    public function getVariableNames() {
        return ["expr", "result"];
    }
}
{'fraction_non_alphanumeric': 0.11423220973782772, 'fraction_numerical': 0.011235955056179775, 'mean_word_length': 3.131443298969072, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 12, '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': '6177975', 'n_tokens_mistral': 532, 'n_tokens_neox': 501, 'n_words': 156}