for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace PhpSpellcheck\Exception;
class ProcessHasErrorOutputException extends \RuntimeException implements ExceptionInterface
{
public function __construct(string $errorOutput, string $parsedText, string $command)
$exceptionTemplateMessage = <<<'MSG'
Process has generated the following output errors:
%s
With command: "%s"
For text:
"%s"
MSG;
parent::__construct(
\Safe\sprintf(
Safe\sprintf()
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
ignore-deprecated
/** @scrutinizer ignore-deprecated */ \Safe\sprintf(
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.
$exceptionTemplateMessage,
$errorOutput,
$command,
$parsedText
)
);
}
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.