<commit_before><?php
/**
 * Copyright (C) 2018 Twister's Fury.
 * Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
 */

namespace TwistersFury\Phalcon\Shared\Di\ServiceProvider\Logging;

use Monolog\Logger;
use Phalcon\DiInterface;
use TwistersFury\Phalcon\Shared\Di\ServiceProvider\AbstractServiceProvider;
use Rollbar\Monolog\Handler\RollbarHandler;
use Rollbar\RollbarLogger;

class Rollbar extends AbstractServiceProvider
{
    public function register(DiInterface $di)
    {
        if (!class_exists('Rollbar\RollbarLogger')) {
            throw new \LogicException('You must install the composer package rollbar/rollbar (^1.5.3) to use this Service Provider');
        }

        parent::register($di);
    }<commit_msg>Removing Unused Use Statement<commit_after><?php
/**
 * Copyright (C) 2018 <NAME>.
 * Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
 */

namespace TwistersFury\Phalcon\Shared\Di\ServiceProvider\Logging;

use Phalcon\DiInterface;
use TwistersFury\Phalcon\Shared\Di\ServiceProvider\AbstractServiceProvider;
use Rollbar\Monolog\Handler\RollbarHandler;
use Rollbar\RollbarLogger;

class Rollbar extends AbstractServiceProvider
{
    public function register(DiInterface $di)
    {
        if (!class_exists('Rollbar\RollbarLogger')) {
            throw new \LogicException('You must install the composer package rollbar/rollbar (^1.5.3) to use this Service Provider');
        }

        parent::register($di);
    }
{'fraction_non_alphanumeric': 0.10522875816993464, 'fraction_numerical': 0.009150326797385621, 'mean_word_length': 4.207482993197279, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 4, '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': '4658169', 'n_tokens_mistral': 459, 'n_tokens_neox': 440, 'n_words': 108}