for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Lagdo\UiBuilder\Component\Base;
use Lagdo\UiBuilder\Component\HtmlComponent;
class BadgeComponent extends HtmlComponent
{
/**
* @var string
*/
public static string $tag = 'span';
* @return static
public function top(): static
return $this;
}
* @param string $type
*
public function type(string $type): static
$type
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function type(/** @scrutinizer ignore-unused */ string $type): static
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
* @param string $rounded
public function rounded(string $rounded): static
$rounded
public function rounded(/** @scrutinizer ignore-unused */ string $rounded): static
* @param string $border
public function border(string $border): static
$border
public function border(/** @scrutinizer ignore-unused */ string $border): static
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.