File: 0003-Fix-autoload.php-location.patch

package info (click to toggle)
php-guzzlehttp-promises 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 516 kB
  • sloc: php: 3,202; makefile: 24; xml: 20
file content (22 lines) | stat: -rw-r--r-- 530 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?= <david@tilapin.org>
Date: Sat, 18 Apr 2015 21:29:46 -0400
Subject: Fix autoload.php location

Forwarded: not-needed
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index d1c814f..c6d4f34 100644
--- a/README.md
+++ b/README.md
@@ -455,7 +455,7 @@ resolved iteratively, allowing for "infinite" then chaining.
 
 ```php
 <?php
-require 'vendor/autoload.php';
+require 'GuzzleHttp/Promise/autoload.php';
 
 use GuzzleHttp\Promise\Promise;