for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Gahlawat\Slack;
use Illuminate\Support\ServiceProvider;
class SlackServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*/
public function boot()
// Publish Config
$this->publishes([
__DIR__ . '/../config/slack.php' => config_path('slack.php'),
]);
}
* Register the application services.
public function register()
// Register Facade
$this->app->bind('gahlawat.slack', function ($app) {
$app
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return new Slack;
});
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.