Skip to content

Commit 8204c57

Browse files
chore: remove unused package boilerplate
1 parent 5fae7a8 commit 8204c57

File tree

8 files changed

+2
-64
lines changed

8 files changed

+2
-64
lines changed

.php-cs-fixer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
$finder = \PhpCsFixer\Finder::create()
44
->in([
55
__DIR__ . '/src',
6-
__DIR__ . '/config',
76
__DIR__ . '/tests',
87
])
98
->name('*.php')

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,7 @@
4747
"laravel": {
4848
"providers": [
4949
"Esign\\SaloonSentry\\SaloonSentryServiceProvider"
50-
],
51-
"aliases": {
52-
"SaloonSentry": "Esign\\SaloonSentry\\Facades\\SaloonSentryFacade"
53-
}
50+
]
5451
}
5552
},
5653
"minimum-stability": "dev",

config/saloon-sentry.php

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

src/Facades/SaloonSentryFacade.php

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

src/SaloonSentry.php

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

src/SaloonSentryServiceProvider.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,6 @@ class SaloonSentryServiceProvider extends ServiceProvider
99
{
1010
public function boot()
1111
{
12-
if ($this->app->runningInConsole()) {
13-
$this->publishes([$this->configPath() => config_path('saloon-sentry.php')], 'config');
14-
}
15-
1612
Config::globalMiddleware()->onRequest(new SentryTracingMiddleware, 'sentryTracing');
1713
}
18-
19-
public function register()
20-
{
21-
$this->mergeConfigFrom($this->configPath(), 'saloon-sentry');
22-
23-
$this->app->singleton('saloon-sentry', function () {
24-
return new SaloonSentry;
25-
});
26-
}
27-
28-
protected function configPath(): string
29-
{
30-
return __DIR__ . '/../config/saloon-sentry.php';
31-
}
3214
}

tests/SaloonSentryTest.php

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

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ protected function tearDown(): void
1919

2020
parent::tearDown();
2121
}
22-
}
22+
}

0 commit comments

Comments
 (0)