1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Thu, 11 Jul 2019 22:38:26 -0300
Subject: Point to homemade autoload.php
---
examples/01-resolving-simple-types.php | 2 +-
examples/02-resolving-classes.php | 2 +-
examples/03-resolving-all-elements.php | 2 +-
examples/04-discovering-the-context-using-class-reflection.php | 2 +-
examples/05-discovering-the-context-using-method-reflection.php | 2 +-
examples/06-discovering-the-context-using-file-contents.php | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/examples/01-resolving-simple-types.php b/examples/01-resolving-simple-types.php
index cc04577..f54ef5b 100644
--- a/examples/01-resolving-simple-types.php
+++ b/examples/01-resolving-simple-types.php
@@ -2,7 +2,7 @@
use phpDocumentor\Reflection\TypeResolver;
-require __DIR__ . '/../vendor/autoload.php';
+require '/usr/share/php/phpDocumentor/Reflection/Types/autoload.php';
$typeResolver = new TypeResolver();
diff --git a/examples/02-resolving-classes.php b/examples/02-resolving-classes.php
index 8f2f59c..b13af3e 100644
--- a/examples/02-resolving-classes.php
+++ b/examples/02-resolving-classes.php
@@ -3,7 +3,7 @@
use phpDocumentor\Reflection\Types\Context;
use phpDocumentor\Reflection\TypeResolver;
-require __DIR__ . '/../vendor/autoload.php';
+require '/usr/share/php/phpDocumentor/Reflection/Types/autoload.php';
$typeResolver = new TypeResolver();
diff --git a/examples/03-resolving-all-elements.php b/examples/03-resolving-all-elements.php
index d2a1e28..787d17a 100644
--- a/examples/03-resolving-all-elements.php
+++ b/examples/03-resolving-all-elements.php
@@ -3,7 +3,7 @@
use phpDocumentor\Reflection\Types\Context;
use phpDocumentor\Reflection\FqsenResolver;
-require __DIR__ . '/../vendor/autoload.php';
+require '/usr/share/php/phpDocumentor/Reflection/Types/autoload.php';
$fqsenResolver = new FqsenResolver();
diff --git a/examples/04-discovering-the-context-using-class-reflection.php b/examples/04-discovering-the-context-using-class-reflection.php
index 2bc952e..f3d9365 100644
--- a/examples/04-discovering-the-context-using-class-reflection.php
+++ b/examples/04-discovering-the-context-using-class-reflection.php
@@ -4,7 +4,7 @@ use phpDocumentor\Reflection\FqsenResolver;
use phpDocumentor\Reflection\TypeResolver;
use phpDocumentor\Reflection\Types\ContextFactory;
-require __DIR__ . '/../vendor/autoload.php';
+require '/usr/share/php/phpDocumentor/Reflection/Types/autoload.php';
require 'Classy.php';
$typeResolver = new TypeResolver();
diff --git a/examples/05-discovering-the-context-using-method-reflection.php b/examples/05-discovering-the-context-using-method-reflection.php
index e8a8db9..a036acf 100644
--- a/examples/05-discovering-the-context-using-method-reflection.php
+++ b/examples/05-discovering-the-context-using-method-reflection.php
@@ -4,7 +4,7 @@ use phpDocumentor\Reflection\FqsenResolver;
use phpDocumentor\Reflection\TypeResolver;
use phpDocumentor\Reflection\Types\ContextFactory;
-require __DIR__ . '/../vendor/autoload.php';
+require '/usr/share/php/phpDocumentor/Reflection/Types/autoload.php';
require 'Classy.php';
$typeResolver = new TypeResolver();
diff --git a/examples/06-discovering-the-context-using-file-contents.php b/examples/06-discovering-the-context-using-file-contents.php
index 3bfbdd7..fd5ee07 100644
--- a/examples/06-discovering-the-context-using-file-contents.php
+++ b/examples/06-discovering-the-context-using-file-contents.php
@@ -4,7 +4,7 @@ use phpDocumentor\Reflection\FqsenResolver;
use phpDocumentor\Reflection\TypeResolver;
use phpDocumentor\Reflection\Types\ContextFactory;
-require __DIR__ . '/../vendor/autoload.php';
+require '/usr/share/php/phpDocumentor/Reflection/Types/autoload.php';
$typeResolver = new TypeResolver();
$fqsenResolver = new FqsenResolver();
|