for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Enjoys\Forms\Renderer;
use Enjoys\Forms\Form;
use Enjoys\Forms\Interfaces\RendererInterface;
/**
* @deprecated use \Enjoys\Forms\Renderer\Renderer, remove in 6.x
*/
abstract class AbstractRenderer implements RendererInterface
Enjoys\Forms\Interfaces\RendererInterface
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
ignore-deprecated
abstract class AbstractRenderer implements /** @scrutinizer ignore-deprecated */ RendererInterface
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.
{
private Form $form;
public function __construct(Form $form = null)
$this->form = $form ?? new Form();
}
abstract public function output(): mixed;
public function setForm(Form $form): self
$this->form = $form;
return $this;
public function getForm(): Form
return $this->form;
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.