for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Vvval\Spiral\Validation\Tests\Checkers\Fixtures;
use Vvval\Spiral\Validation\Checkers\Traits\CustomMessagesTrait;
class TraitedFixture
{
use CustomMessagesTrait;
const MESSAGE = 'trait message';
/**
* @param string $method
*
* @return string
*/
public function getMessage(string $method): string
$method
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return self::MESSAGE;
}
* @param string|null $message
public function call(string $message = null, string $method)
return $this->makeMessage($message, $method);
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.