for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace FlexPHP\Inputs;
use FlexPHP\Inputs\Builder\AbstractBuilder;
/**
* @method static string text()
*/
class Input implements InputInterface
{
/** @codeCoverageIgnore */
private function __construct()
}
public static function create(string $type, string $name, array $options = []): string
return (new class($type, $name, $options) extends AbstractBuilder {
protected $type;
public function __construct($type, $name, $options)
$this->type = $type;
parent::__construct($name, $options);
protected function getType(): string
return $this->type;
})->render();
public static function __callStatic($name, $arguments)
return self::create($name, ...$arguments);
$arguments
$name
FlexPHP\Inputs\Input::create()
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
ignore-type
return self::create($name, /** @scrutinizer ignore-type */ ...$arguments);