From e9fe5c92fd8524832509abcd0601a6559e57cc59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr>
Date: Tue, 8 Mar 2016 16:50:52 +0100
Subject: [PATCH] =?UTF-8?q?Utilise=20un=20point=20comme=20s=C3=A9parateur?=
 =?UTF-8?q?=20de=20namespace.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Command/EntitySchemaCommand.php | 2 +-
 Model/Node/BaseNode.php         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Command/EntitySchemaCommand.php b/Command/EntitySchemaCommand.php
index d733514..3922e7c 100644
--- a/Command/EntitySchemaCommand.php
+++ b/Command/EntitySchemaCommand.php
@@ -52,7 +52,7 @@ class EntitySchemaCommand extends ContainerAwareCommand
 
         $stream = fopen("php://output", "wt");
         fputs($stream, "@startuml\n");
-        fputs($stream, 'set namespaceSeparator \\\\'."\n");
+        fputs($stream, "set namespaceSeparator .\n");
         $visitor->outputTo($stream);
         fputs($stream, "@enduml\n");
         fclose($stream);
diff --git a/Model/Node/BaseNode.php b/Model/Node/BaseNode.php
index a0d74c4..76e6d0a 100644
--- a/Model/Node/BaseNode.php
+++ b/Model/Node/BaseNode.php
@@ -65,7 +65,7 @@ class BaseNode implements UmlNodeInterface
 
     public function outputAliasTo($stream)
     {
-        fputs($stream, '"'.str_replace('\\', '\\\\', $this->name).'"');
+        fputs($stream, '"'.str_replace('\\', '.', $this->name).'"');
     }
 
     protected function outputClassifiersTo($stream)
-- 
GitLab