ok
Direktori : /home2/selectio/public_html/fms-worksuite/vendor/phpro/grumphp/src/Parser/Php/ |
Current File : /home2/selectio/public_html/fms-worksuite/vendor/phpro/grumphp/src/Parser/Php/PhpParserError.php |
<?php declare(strict_types=1); namespace GrumPHP\Parser\Php; use GrumPHP\Parser\ParseError; use PhpParser\Error; class PhpParserError extends ParseError { public static function fromParseException(Error $exception, string $filename): self { return new self( ParseError::TYPE_FATAL, $exception->getRawMessage(), $filename, $exception->getStartLine() ); } }