Skip to content

Commit 4c601e7

Browse files
committed
fix(ExceptionNotifyServiceProvider): Remove unused notFound baseline
- Delete the unnecessary class.notFound.neon file - Update loader.neon to reflect the removal and correct total errors - Simplify code in ExceptionNotifyServiceProvider by removing an unnecessary class existence check
1 parent 9e968d2 commit 4c601e7

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

baselines/class.notFound.neon

Lines changed: 0 additions & 8 deletions
This file was deleted.

baselines/loader.neon

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# total 3 errors
1+
# total 2 errors
22
includes:
3-
- class.notFound.neon
43
- disallowed.function.neon

src/ExceptionNotifyServiceProvider.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,6 @@ private function registerCommands(): self
115115

116116
private function addSectionToAboutCommand(): void
117117
{
118-
if (!class_exists(InstalledVersions::class)) {
119-
return;
120-
}
121-
122118
AboutCommand::add('Laravel Exception Notify', static function (): array {
123119
$package = 'guanguans/laravel-exception-notify';
124120

0 commit comments

Comments
 (0)