<commit_before><?php
/**
 *
 */

namespace Server\Config;

use Mvc5\Config\Config;
use Mvc5\Service\Scope;

trait Server
{
    /**
     *
     */
    use Config;

    /**
     * @return string
     */
    public function documentRoot()
    {
        return $this['DOCUMENT_ROOT'];
    }

    /**
     * @return array
     */
    public function uri()
    {
        return $this['PHP_URI'];
    }

    /**
     *
     */
    public function __clone()
    {
        if (!is_object($this->config)) {
            return;
        }

        if (!$this->config instanceof Scope) {
            $this->config = clone $this->config;
        }

        $this->config->scope(true);

        $this->config = clone $this->config;

        $this->config->scope($this->config);
    }
}<commit_msg>fix example clone<commit_after><?php
/**
 *
 */

namespace Server\Config;

use Mvc5\Config\Config;
use Mvc5\Service\Scope;

trait Server
{
    /**
     *
     */
    use Config;

    /**
     * @return string
     */
    public function documentRoot()
    {
        return $this['DOCUMENT_ROOT'];
    }

    /**
     * @return array
     */
    public function uri()
    {
        return $this['PHP_URI'];
    }

    /**
     *
     */
    public function __clone()
    {
        if (!is_object($this->config)) {
            return;
        }

        if (!$this->config instanceof Scope) {
            $this->config = clone $this->config;
        }

        $this->config->scope(true);

        $this->config = clone $this->config;

        $this->config->scope($this);
    }
}
{'fraction_non_alphanumeric': 0.16025641025641027, 'fraction_numerical': 0.002564102564102564, 'mean_word_length': 1.5844370860927153, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 24, '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': '789329', 'n_tokens_mistral': 501, 'n_tokens_neox': 489, 'n_words': 88}