for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Digikraaft\PaystackTransactionsTile;
use Illuminate\Support\ServiceProvider;
use Livewire\Livewire;
class PaystackTransactionsTileServiceProvider extends ServiceProvider
{
public function boot()
if ($this->app->runningInConsole()) {
$this->commands([
FetchTransactionsDataFromPaystackApi::class,
]);
}
$this->publishes([
__DIR__ . '/../resources/views' => resource_path('views/vendor/paystack-transactions-tile'),
resource_path
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
__DIR__ . '/../resources/views' => /** @scrutinizer ignore-call */ resource_path('views/vendor/paystack-transactions-tile'),
], 'paystack-transactions-tile-views');
$this->loadViewsFrom(__DIR__ . '/../resources/views', 'dashboard-paystack-transactions-tile');
Livewire::component('paystack-transactions-tile', PaystackTransactionsTileComponent::class);