File: 0002-Adapt-autoload-path.patch

package info (click to toggle)
php-token-stream 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 284 kB
  • sloc: php: 1,951; xml: 34; makefile: 11
file content (22 lines) | stat: -rw-r--r-- 636 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Sat, 13 Sep 2014 07:44:04 -0400
Subject: Adapt autoload path

Forwarded: not-needed
---
 tests/bootstrap.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index bcd0f64..d7a0d45 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -7,7 +7,7 @@
  * For the full copyright and license information, please view the LICENSE
  * file that was distributed with this source code.
  */
-require __DIR__ . '/../vendor/autoload.php';
+require 'PHP/Token/Stream/Autoload.php';
 
 define(
     'TEST_FILES_PATH',