<commit_before><?php

/**
 * CodeMommy WebPHP
 * @author <NAME> <www.kandisheng.com>
 */

declare(strict_types=1);

namespace Test;

use PHPUnit\Framework\TestCase;
use CodeMommy\WebPHP\Environment;

/**
 * Class EnvironmentTest
 * @package Test
 */
class EnvironmentTest extends TestCase
{
    /**
     * Environment File
     * @var string
     */
    private $environmentFile = __DIR__ . '/environment.yaml';

    /**
     * Environment File Not Exist
     * @var string
     */
    private $environmentFileNotExist = __DIR__ . '/environment.no.yaml';

    /**
     * EnvironmentTest constructor.
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Test Construct<commit_msg>Fix Bug<commit_after><?php

/**
 * CodeMommy WebPHP
 * @author <NAME> <www.kandisheng.com>
 */

declare(strict_types=1);

namespace Test;

use PHPUnit\Framework\TestCase;
use CodeMommy\WebPHP\Environment;

/**
 * Class EnvironmentTest
 * @package Test
 */
class EnvironmentTest extends TestCase
{
    /**
     * Environment File
     * @var string
     */
    private $environmentFile = '';

    /**
     * Environment File Not Exist
     * @var string
     */
    private $environmentFileNotExist = '';

    /**
     * EnvironmentTest constructor.
     */
    public function __construct()
    {
        parent::__construct();
        $this->environmentFile = sprintf('%s/environment.yaml', __DIR__);
        $this->environmentFileNotExist = sprintf('%s/environment.no.yaml', __DIR__);
    }

    /**
     * Test Construct
{'fraction_non_alphanumeric': 0.13161290322580646, 'fraction_numerical': 0.0012903225806451613, 'mean_word_length': 2.640845070422535, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4520206', 'n_tokens_mistral': 467, 'n_tokens_neox': 460, 'n_words': 96}