for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Tarsana\Tester\Mocks;
use Tarsana\Command\Interfaces\Console\TransformerInterface;
class Transformer implements TransformerInterface {
public function transform(string $text) : string
{
return $text;
}
public function alias(string $name, string $value) : Transformer
$value
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function alias(string $name, /** @scrutinizer ignore-unused */ string $value) : Transformer
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
$name
public function alias(/** @scrutinizer ignore-unused */ string $name, string $value) : Transformer
return $this;
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.