<commit_before><?php namespace App\Exceptions;

/**
 * Exceptions fix added care of
 * https://laracasts.com/discuss/channels/lumen/lumen-debug-mode-not-showing-stack-trace
 *
 * @todo Remove this file when the issue at https://github.com/laravel/framework/issues/8744 is fixed.
 *
 */

use ErrorException;
use Illuminate\Contracts\Foundation\Application;
use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Debug\Exception\FatalErrorException;

class HandleExceptionsFix {


    protected $app;

    protected static $fatalError = null;

    public function bootstrap(Application $app)
    {
        $this->app = $app;

        error_reporting(-1);
<commit_msg>Added code coverage ignore for exceptions fix as it will be removed soon, and travis ci doesn't test hhvm (yet)<commit_after><?php namespace App\Exceptions;

/**
 * Exceptions fix added care of
 * https://laracasts.com/discuss/channels/lumen/lumen-debug-mode-not-showing-stack-trace
 *
 * @todo Remove this file when the issue at https://github.com/laravel/framework/issues/8744 is fixed.
 *
 */

use ErrorException;
use Illuminate\Contracts\Foundation\Application;
use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Debug\Exception\FatalErrorException;

/**
 * @codeCoverageIgnore
 */
class HandleExceptionsFix {


    protected $app;

    protected static $fatalError = null;

    public function bootstrap(Application $app)
    {
        $this->app = $app;

        error_reporting(-1);

{'fraction_non_alphanumeric': 0.10888443553774214, 'fraction_numerical': 0.006680026720106881, 'mean_word_length': 3.9602649006622515, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '1992014', 'n_tokens_mistral': 457, 'n_tokens_neox': 434, 'n_words': 106}