Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Halil Cosdu committed Apr 16, 2024
1 parent 5d8f459 commit caf90f4
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 66 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

3 changes: 2 additions & 1 deletion config/logweaver.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// config for HalilCosdu/LogWeaver
return [

return [
'sleep' => env('LOG_WEAVER_SLEEP', 0.5),
];
19 changes: 0 additions & 19 deletions database/factories/ModelFactory.php

This file was deleted.

19 changes: 0 additions & 19 deletions database/migrations/create_logweaver_table.php.stub

This file was deleted.

1 change: 0 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ parameters:
paths:
- src
- config
- database
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
Expand Down
Empty file removed resources/views/.gitkeep
Empty file.
19 changes: 0 additions & 19 deletions src/Commands/LogWeaverCommand.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/LogWeaver.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private function waitForContentFromDisk(string $path): void
$timeout = 10 * 60;

do {
Sleep::sleep(0.5);
Sleep::sleep(config('logweaver.sleep'));

$isFileVisible = Storage::disk($this->getDisk())->exists($path);

Expand Down
6 changes: 1 addition & 5 deletions src/LogWeaverServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace HalilCosdu\LogWeaver;

use HalilCosdu\LogWeaver\Commands\LogWeaverCommand;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

Expand All @@ -17,9 +16,6 @@ public function configurePackage(Package $package): void
*/
$package
->name('laravel-logweaver')
->hasConfigFile()
->hasViews()
->hasMigration('create_laravel-logweaver_table')
->hasCommand(LogWeaverCommand::class);
->hasConfigFile();
}
}

0 comments on commit caf90f4

Please sign in to comment.