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