for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Ublaboo\Anabelle\Markdown\Macros;
use Ublaboo\Anabelle\Generator\Exception\DocuGeneratorException;
use Ublaboo\Anabelle\Markdown\DocuScope;
abstract class AbstractMacroVariable
{
/**
* @var DocuScope
*/
protected $docuScope;
public function __construct(DocuScope $docuScope)
$this->docuScope = $docuScope;
}
* @throws DocuGeneratorException
public function runMacro(
string $inputDirectory,
$inputDirectory
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
string $outputDirectory,
$outputDirectory
string & $content // Intentionally &
): void
$this->runVariableMacro($content);
abstract protected function runVariableMacro(string & $content): void; // Intentionally &
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.