for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Larapie\Actions\Attributes\Rules;
trait ArrayRules
{
public function size(int $size)
return $this->rule("size:$size");
rule()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
return $this->/** @scrutinizer ignore-call */ rule("size:$size");
}
public function min(int $length)
return $this->rule("min:$length");
public function max(int $length)
return $this->rule("max:$length");