<commit_before><?php

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

namespace TwigBridge;

use Illuminate\View\ViewServiceProvider;
use Twig_Loader_Chain;
use Twig_Environment;

/**
 * Bootstrap Laravel TwigBridge.
 *
 * You need to include this `ServiceProvider` in your app.php file:
 *
 * <code>
 *     'providers' => [
 *         'TwigBridge\ServiceProvider'
 *     ];
 * </code>
 */
class ServiceProvider extends ViewServiceProvider
{
    /**
     * {@inheritdoc}
     */
    public function register()
    {
        // Register the package configuration with the loader.
        $this->app['config']->package('rcrowe/twigbridge', __DIR__.'/Config');
    }

    /**
     * {@inheritdoc}
     */
    public function boot()
    {
        $this->registerCommands();
        $this->registerTwigBridge();
        $this->registerTwigLoaders();
        $this->registerTwigOptions();
        $this->registerTwigEngine();

        $this->app['view']->addExtension(
            $this->app['twig.extension'],
            'twig',
            function () {
                $bridge = $this->app['twig.bridge'];
                $lexer  = $this->app['twig.lexer'];

                $bridge->addExtension($this->app['twig.extensions']);
<commit_msg>Match case in service provider to config directory<commit_after><?php

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

namespace TwigBridge;

use Illuminate\View\ViewServiceProvider;
use Twig_Loader_Chain;
use Twig_Environment;

/**
 * Bootstrap Laravel TwigBridge.
 *
 * You need to include this `ServiceProvider` in your app.php file:
 *
 * <code>
 *     'providers' => [
 *         'TwigBridge\ServiceProvider'
 *     ];
 * </code>
 */
class ServiceProvider extends ViewServiceProvider
{
    /**
     * {@inheritdoc}
     */
    public function register()
    {
        // Register the package configuration with the loader.
        $this->app['config']->package('rcrowe/twigbridge', __DIR__.'/config');
    }

    /**
     * {@inheritdoc}
     */
    public function boot()
    {
        $this->registerCommands();
        $this->registerTwigBridge();
        $this->registerTwigLoaders();
        $this->registerTwigOptions();
        $this->registerTwigEngine();

        $this->app['view']->addExtension(
            $this->app['twig.extension'],
            'twig',
            function () {
                $bridge = $this->app['twig.bridge'];
                $lexer  = $this->app['twig.lexer'];

                $bridge->addExtension($this->app['twig.extensions']);

{'fraction_non_alphanumeric': 0.14400559245019223, 'fraction_numerical': 0.0, 'mean_word_length': 2.4987775061124693, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 43, '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': '6239123', 'n_tokens_mistral': 836, 'n_tokens_neox': 817, 'n_words': 189}