<commit_before><?php

/*
 * This file is part of Rocketeer
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 */

namespace Rocketeer\Services\Environment\Modules;

class ApplicationPathfinder extends AbstractPathfinderModule
{
    /**
     * Get the path to the .rocketeer folder.
     *
     * @return string
     */
    public function getRocketeerPath()
    {
        // Get path to configuration
        $configuration = $this->modulable->getBasePath().'.rocketeer';

        return $this->modulable->unifyLocalSlashes($configuration);
    }

    /**
     * Get the path to the configuration folder.
     *
     * @return string
     */
    public function getConfigurationPath()
    {
        return $this->modulable->unifyLocalSlashes($this->getRocketeerPath().'/config');
    }

    /**
     * @return string
     */
    public function getLogsPath()
    {
        return $this->modulable->unifyLocalSlashes($this->getRocketeerPath().'/logs');
    }

    /**
     * Get the path to the user's PSR4 folder.
     *
     * @return string
     */
    public function getUserlandPath()
    {
        $namespace = ucfirst($this->config->get('application_name'));

        return $this->modulable->unifyLocalSlashes($this->getRocketeerPath().'/'.$namespace);
    }

    /**
     * @return string
     */
    public function getDotenvPath()
    {
        $path = $this->modulable->getBasePath().'.env';

        return $this->modulable->unifyLocalSlashes($path);
    }

    /**
     * Get path to the storage folder.
     *
     * @return string
     */
    public function getStoragePath()
    {
        $path = $this->getRocketeerPath().'/storage';

        return $this->modulable->unifySlashes($path);
    }

    /**
     * @return string[]
     */
    public function getProvided()
    {
        return [
            'getConfigurationPath',
            'getDotenvPath',
            'getLogsPath',
            'getProvided',
            'getRocketeerPath',
            'getStoragePath',
            'getUserlandPath',
        ];
    }
}<commit_msg>Use tmp as storage<commit_after><?php

/*
 * This file is part of Rocketeer
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 */

namespace Rocketeer\Services\Environment\Modules;

class ApplicationPathfinder extends AbstractPathfinderModule
{
    /**
     * Get the path to the .rocketeer folder.
     *
     * @return string
     */
    public function getRocketeerPath()
    {
        // Get path to configuration
        $configuration = $this->modulable->getBasePath().'.rocketeer';

        return $this->modulable->unifyLocalSlashes($configuration);
    }

    /**
     * Get the path to the configuration folder.
     *
     * @return string
     */
    public function getConfigurationPath()
    {
        return $this->modulable->unifyLocalSlashes($this->getRocketeerPath().'/config');
    }

    /**
     * @return string
     */
    public function getLogsPath()
    {
        return $this->modulable->unifyLocalSlashes($this->getRocketeerPath().'/logs');
    }

    /**
     * Get the path to the user's PSR4 folder.
     *
     * @return string
     */
    public function getUserlandPath()
    {
        $namespace = ucfirst($this->config->get('application_name'));

        return $this->modulable->unifyLocalSlashes($this->getRocketeerPath().'/'.$namespace);
    }

    /**
     * @return string
     */
    public function getDotenvPath()
    {
        $path = $this->modulable->getBasePath().'.env';

        return $this->modulable->unifyLocalSlashes($path);
    }

    /**
     * Get path to the storage folder.
     *
     * @return string
     */
    public function getStoragePath()
    {
        return '/tmp/rocketeer';
        $path = $this->getRocketeerPath().'/storage';

        return $this->modulable->unifySlashes($path);
    }

    /**
     * @return string[]
     */
    public function getProvided()
    {
        return [
            'getConfigurationPath',
            'getDotenvPath',
            'getLogsPath',
            'getProvided',
            'getRocketeerPath',
            'getStoragePath',
            'getUserlandPath',
        ];
    }
}
{'fraction_non_alphanumeric': 0.13182026593305823, 'fraction_numerical': 0.0004585052728106373, 'mean_word_length': 2.1570188133140378, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 53, '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': '7392486', 'n_tokens_mistral': 1304, 'n_tokens_neox': 1276, 'n_words': 265}