<commit_before><?php

namespace Bolt\Configuration;

use Bolt\Cache;
use Bolt\Exception\PackageManagerException;
use Pimple;
use Symfony\Component\Filesystem\Exception\IOException;
use Symfony\Component\Filesystem\Filesystem;

/**
 * Environment set up and management class.
 *
 * @author <NAME> <<EMAIL>>
 */
class Environment
{
    /** @var Cache */
    protected $cache;
    /** @var Filesystem */
    protected $filesystem;
    /** @var string */
    protected $rootPath;
    /** @var string */
    protected $appPath;
    /** @var string */
    protected $viewPath;
    /** @var string */
    protected $boltVersion;

    /**
     * Constructor.
     *
     * @param string $appPath
     * @param string $viewPath
     * @param Cache  $cache
     * @param Pimple $actions
     * @param string $boltVersion
     */
    public function __construct($appPath, $viewPath, Cache $cache, Pimple $actions, $boltVersion)
    {<commit_msg>Update extension autoloader on version change<commit_after><?php

namespace Bolt\Configuration;

use Bolt\Cache;
use Bolt\Exception\PackageManagerException;
use Pimple;
use Symfony\Component\Filesystem\Exception\IOException;
use Symfony\Component\Filesystem\Filesystem;

/**
 * Environment set up and management class.
 *
 * @author <NAME> <<EMAIL>>
 */
class Environment
{
    /** @var Cache */
    protected $cache;
    /** @var Pimple */
    protected $actions;
    /** @var Filesystem */
    protected $filesystem;
    /** @var string */
    protected $rootPath;
    /** @var string */
    protected $appPath;
    /** @var string */
    protected $viewPath;
    /** @var string */
    protected $boltVersion;

    /**
     * Constructor.
     *
     * @param string $appPath
     * @param string $viewPath
     * @param Cache  $cache
     * @param Pimple $actions
     * @param string $boltVersion
     */
    public function __construct($appPath, $viewPath, Cache $cache, Pimple $actions, $boltVersion)
    {
{'fraction_non_alphanumeric': 0.12942989214175654, 'fraction_numerical': 0.0, 'mean_word_length': 2.9116465863453813, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '5155028', 'n_tokens_mistral': 586, 'n_tokens_neox': 572, 'n_words': 155}