From 36c739cbcdac7d44e47ae708a6691a543bb6a03b Mon Sep 17 00:00:00 2001 From: Alexey Kopytko Date: Sun, 5 Apr 2020 23:30:08 +0900 Subject: [PATCH] Use forked version of Hoa\Compiler Fixes #1182 --- composer.json | 2 +- src/Type/Parser.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 62282bf7d..39692cc36 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "jms/metadata": "^2.0", "doctrine/annotations": "^1.0", "doctrine/instantiator": "^1.0.3", - "hoa/compiler": "^3.17.08.08" + "sanmai/hoa-compiler": "^0.1" }, "suggest": { "symfony/yaml": "Required if you'd like to use the YAML metadata format.", diff --git a/src/Type/Parser.php b/src/Type/Parser.php index de5a7c3a7..704cba59d 100644 --- a/src/Type/Parser.php +++ b/src/Type/Parser.php @@ -4,7 +4,7 @@ namespace JMS\Serializer\Type; -use Hoa\Exception\Exception; +use Hoa\Compiler\Exception; use Hoa\Visitor\Visit; use JMS\Serializer\Type\Exception\SyntaxError;