<commit_before>diff --git a/routes/web.php b/routes/web.php
index b130397..6e22083 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -16,3 +16,38 @@ use Illuminate\Support\Facades\Route;
 Route::get('/', function () {
     return view('welcome');
 });
+
+Route::get('/unhandled_exception', function () {
+    throw new Exception('Crashing exception!');
+});
+
+Route::get('/unhandled_error', function () {
+    call_foo();
+});
+
+Route::get('/handled_exception', function () {
+    Bugsnag::notifyException(new Exception('Handled exception!'));
+});
+
+Route::get('/handled_error', function () {
+    Bugsnag::notifyError('Handled Error', 'This is a handled error');
+});
+
+Route::get('/unhandled_controller_exception', 'TestController@unhandledException');
+Route::get('/unhandled_controller_error', 'TestController@unhandledError');
+Route::get('/handled_controller_exception', 'TestController@handledException');
+Route::get('/handled_controller_error', 'TestController@handledError');
+
+Route::get('/unhandled_middleware_exception', function () {
+})->middleware('unMidEx');
+Route::get('/unhandled_middleware_error', function () {
+})->middleware('unMidErr');
+Route::get('/handled_middleware_exception', function () {
+})->middleware('hanMidEx');
+Route::get('/handled_middleware_error', function () {
+})->middleware('hanMidErr');
+
+Route::view('/unhandled_view_exception', 'unhandledexception');
+Route::view('/unhandled_view_error', 'unhandlederror');
+Route::view('/handled_view_exception', 'handledexception');
+Route::view('/handled_view_error', 'handlederror');
<commit_msg>Update route syntax for Laravel 8<commit_after>diff --git a/routes/web.php b/routes/web.php
index b130397..4b89d73 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -1,5 +1,6 @@
 <?php

+use App\Http\Controllers\TestController;
 use Illuminate\Support\Facades\Route;

 /*
@@ -16,3 +17,38 @@ use Illuminate\Support\Facades\Route;
 Route::get('/', function () {
     return view('welcome');
 });
+
+Route::get('/unhandled_exception', function () {
+    throw new Exception('Crashing exception!');
+});
+
+Route::get('/unhandled_error', function () {
+    call_foo();
+});
+
+Route::get('/handled_exception', function () {
+    Bugsnag::notifyException(new Exception('Handled exception!'));
+});
+
+Route::get('/handled_error', function () {
+    Bugsnag::notifyError('Handled Error', 'This is a handled error');
+});
+
+Route::get('/unhandled_controller_exception', [TestController::class, 'unhandledException']);
+Route::get('/unhandled_controller_error', [TestController::class, 'unhandledError']);
+Route::get('/handled_controller_exception', [TestController::class, 'handledException']);
+Route::get('/handled_controller_error', [TestController::class, 'handledError']);
+
+Route::get('/unhandled_middleware_exception', function () {
+})->middleware('unMidEx');
+Route::get('/unhandled_middleware_error', function () {
+})->middleware('unMidErr');
+Route::get('/handled_middleware_exception', function () {
+})->middleware('hanMidEx');
+Route::get('/handled_middleware_error', function () {
+})->middleware('hanMidErr');
+
+Route::view('/unhandled_view_exception', 'unhandledexception');
+Route::view('/unhandled_view_error', 'unhandlederror');
+Route::view('/handled_view_exception', 'handledexception');
+Route::view('/handled_view_error', 'handlederror');

{'fraction_non_alphanumeric': 0.2130512514898689, 'fraction_numerical': 0.016090584028605484, 'mean_word_length': 8.048517520215633, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 11, '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': '3716191', 'n_tokens_mistral': 1137, 'n_tokens_neox': 1109, 'n_words': 152}