From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Mon, 1 Feb 2016 14:50:42 -0400
Subject: Adapt autoload path in examples

Forwarded: not-needed
---
 examples/01-interpreting-a-simple-docblock.php     | 2 +-
 examples/02-interpreting-tags.php                  | 2 +-
 examples/03-reconstituting-a-docblock.php          | 2 +-
 examples/04-adding-your-own-tag.php                | 2 +-
 examples/playing-with-descriptions/02-escaping.php | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/examples/01-interpreting-a-simple-docblock.php b/examples/01-interpreting-a-simple-docblock.php
index 6d67dea..75ffc8f 100644
--- a/examples/01-interpreting-a-simple-docblock.php
+++ b/examples/01-interpreting-a-simple-docblock.php
@@ -1,5 +1,5 @@
 <?php
-require_once(__DIR__ . '/../vendor/autoload.php');
+require_once('/usr/share/php/phpDocumentor/Reflection/DocBlock/autoload.php');
 
 use phpDocumentor\Reflection\DocBlockFactory;
 
diff --git a/examples/02-interpreting-tags.php b/examples/02-interpreting-tags.php
index 2399588..b0b4765 100644
--- a/examples/02-interpreting-tags.php
+++ b/examples/02-interpreting-tags.php
@@ -1,5 +1,5 @@
 <?php
-require_once(__DIR__ . '/../vendor/autoload.php');
+require_once('/usr/share/php/phpDocumentor/Reflection/DocBlock/autoload.php');
 
 use phpDocumentor\Reflection\DocBlockFactory;
 
diff --git a/examples/03-reconstituting-a-docblock.php b/examples/03-reconstituting-a-docblock.php
index 482a6dd..7e67afe 100644
--- a/examples/03-reconstituting-a-docblock.php
+++ b/examples/03-reconstituting-a-docblock.php
@@ -1,6 +1,6 @@
 <?php
 
-require_once(__DIR__ . '/../vendor/autoload.php');
+require_once('/usr/share/php/phpDocumentor/Reflection/DocBlock/autoload.php');
 
 use phpDocumentor\Reflection\DocBlock\Serializer;
 use phpDocumentor\Reflection\DocBlockFactory;
diff --git a/examples/04-adding-your-own-tag.php b/examples/04-adding-your-own-tag.php
index 38ab724..deba4fa 100644
--- a/examples/04-adding-your-own-tag.php
+++ b/examples/04-adding-your-own-tag.php
@@ -3,7 +3,7 @@
  * In this example we demonstrate how you can add your own Tag using a Static Factory method in your Tag class.
  */
 
-require_once(__DIR__ . '/../vendor/autoload.php');
+require_once('/usr/share/php/phpDocumentor/Reflection/DocBlock/autoload.php');
 
 use phpDocumentor\Reflection\DocBlock\Serializer;
 use phpDocumentor\Reflection\DocBlock\Tag;
diff --git a/examples/playing-with-descriptions/02-escaping.php b/examples/playing-with-descriptions/02-escaping.php
index 5ec772f..cad9b0a 100644
--- a/examples/playing-with-descriptions/02-escaping.php
+++ b/examples/playing-with-descriptions/02-escaping.php
@@ -1,6 +1,6 @@
 <?php
 
-require_once(__DIR__ . '/../../vendor/autoload.php');
+require_once('/usr/share/php/phpDocumentor/Reflection/DocBlock/autoload.php');
 
 use phpDocumentor\Reflection\DocBlockFactory;
 
