~ubuntu-branches/debian/experimental/php-sabre-event/experimental

« back to all changes in this revision

Viewing changes to debian/patches/0001-Use-homemade-autoload.php.patch

  • Committer: Package Import Robot
  • Author(s): David Prévot
  • Date: 2015-05-20 14:30:37 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20150520143037-noo5h59t2oakogf6
Tags: 2.0.2-1
* Use --bootstrap feature of PHPUnit instead of patches
* Update copyright (year)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
2
 
Date: Wed, 25 Feb 2015 22:23:52 -0400
3
 
Subject: Use homemade autoload.php
4
 
 
5
 
Work around the lack of proper autoload.php from Composer.
6
 
 
7
 
Forwarded: not-needed
8
 
---
9
 
 phpunit.xml.dist          | 2 +-
10
 
 tests/benchmark/bench.php | 2 +-
11
 
 2 files changed, 2 insertions(+), 2 deletions(-)
12
 
 
13
 
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
14
 
index ccd59be..ad1e528 100644
15
 
--- a/phpunit.xml.dist
16
 
+++ b/phpunit.xml.dist
17
 
@@ -1,6 +1,6 @@
18
 
 <phpunit
19
 
   colors="true"
20
 
-  bootstrap="vendor/autoload.php"
21
 
+  bootstrap="lib/autoload.php"
22
 
   convertErrorsToExceptions="true"
23
 
   convertNoticesToExceptions="true"
24
 
   convertWarningsToExceptions="true"
25
 
diff --git a/tests/benchmark/bench.php b/tests/benchmark/bench.php
26
 
index 138cf54..44857f9 100644
27
 
--- a/tests/benchmark/bench.php
28
 
+++ b/tests/benchmark/bench.php
29
 
@@ -2,7 +2,7 @@
30
 
 
31
 
 use Sabre\Event\EventEmitter;
32
 
 
33
 
-include __DIR__ . '/../../vendor/autoload.php';
34
 
+include __DIR__ . '/../../lib/autoload.php';
35
 
 
36
 
 abstract class BenchMark {
37