for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace JamesMills\LaravelTimezone\Traits;
trait FlashesMessage
{
protected function flashLaravelMessage(string $key, string $message): void
request()->session()->flash($key, $message);
}
protected function flashLaracastsMessage(string $key, string $message): void
$key
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
protected function flashLaracastsMessage(/** @scrutinizer ignore-unused */ string $key, string $message): void
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
flash()->success($message);
flash
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
/** @scrutinizer ignore-call */
protected function flashMercuryseriesMessage(string $key, string $message): void
protected function flashMercuryseriesMessage(/** @scrutinizer ignore-unused */ string $key, string $message): void
flashy()->success($message);
flashy
protected function flashSpatieMessage(string $key, string $message): void
protected function flashSpatieMessage(/** @scrutinizer ignore-unused */ string $key, string $message): void
protected function flashMckenzieartsMessage(string $key, string $message): void
protected function flashMckenzieartsMessage(/** @scrutinizer ignore-unused */ string $key, string $message): void
notify()->success($message);
notify
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.