We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d52208 commit da9333bCopy full SHA for da9333b
src/Support/PHPUnit/EventSubscribers/SwaggerSaveDocumentationSubscriber.php
@@ -4,11 +4,12 @@
4
5
use PHPUnit\Event\TestRunner\ExecutionFinished;
6
use PHPUnit\Event\TestRunner\ExecutionFinishedSubscriber;
7
+use RonasIT\AutoDoc\Services\SwaggerService;
8
9
final class SwaggerSaveDocumentationSubscriber implements ExecutionFinishedSubscriber
10
{
11
public function notify(ExecutionFinished $event): void
12
- shell_exec('php artisan swagger:push-documentation');
13
+ app(SwaggerService::class)->saveProductionData();
14
}
15
0 commit comments