ok
Direktori : /home2/selectio/public_html/fms-worksuite/vendor/phpro/grumphp/src/Exception/ |
Current File : /home2/selectio/public_html/fms-worksuite/vendor/phpro/grumphp/src/Exception/FixerException.php |
<?php declare(strict_types=1); namespace GrumPHP\Exception; use GrumPHP\Formatter\RawProcessFormatter; use Symfony\Component\Process\Process; class FixerException extends RuntimeException { public static function fromProcess(Process $process): self { return new self( 'Error while fixing: '. $process->getCommandLine() . PHP_EOL . (new RawProcessFormatter())->format($process) ); } }