for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Digikraaft\PaystackCustomersTile;
use Illuminate\Support\ServiceProvider;
use Livewire\Livewire;
class PaystackCustomersTileServiceProvider extends ServiceProvider
{
public function boot()
if ($this->app->runningInConsole()) {
$this->commands([
FetchCustomersDataFromPaystackApi::class,
]);
}
$this->publishes([
__DIR__ . '/../resources/views' => resource_path('views/vendor/paystack-customers-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-customers-tile'),
], 'paystack-customers-tile-views');
$this->loadViewsFrom(__DIR__ . '/../resources/views', 'dashboard-paystack-customers-tile');
Livewire::component('paystack-customers-tile', PaystackCustomersTileComponent::class);