use PhpParser\Node\Scalar;
use PhpParser\Node\Scalar\Encapsed;
use Psy\Exception\FatalErrorException;
use PhpParser\Node\Scalar;
use PhpParser\Node\Scalar\Encapsed;
use Psy\Exception\FatalErrorException;
- throw new FatalErrorException('instanceof expects an object instance, constant given');
+ throw new FatalErrorException(self::EXCEPTION_MSG, 0, E_ERROR, null, $node->getLine());