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

« back to all changes in this revision

Viewing changes to debian/patches/DEP-8/Use-installed-class-for-DEP-8-tests.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:30:25 -0400
3
 
Subject: Use installed class for DEP-8 tests
4
 
 
5
 
Gbp: Topic DEP-8
6
 
---
7
 
 phpunit.xml.dist          | 2 +-
8
 
 tests/benchmark/bench.php | 2 +-
9
 
 2 files changed, 2 insertions(+), 2 deletions(-)
10
 
 
11
 
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
12
 
index ad1e528..b6131c5 100644
13
 
--- a/phpunit.xml.dist
14
 
+++ b/phpunit.xml.dist
15
 
@@ -1,6 +1,6 @@
16
 
 <phpunit
17
 
   colors="true"
18
 
-  bootstrap="lib/autoload.php"
19
 
+  bootstrap="/usr/share/php/Sabre/Event/autoload.php"
20
 
   convertErrorsToExceptions="true"
21
 
   convertNoticesToExceptions="true"
22
 
   convertWarningsToExceptions="true"
23
 
diff --git a/tests/benchmark/bench.php b/tests/benchmark/bench.php
24
 
index 44857f9..7dd9e8f 100644
25
 
--- a/tests/benchmark/bench.php
26
 
+++ b/tests/benchmark/bench.php
27
 
@@ -2,7 +2,7 @@
28
 
 
29
 
 use Sabre\Event\EventEmitter;
30
 
 
31
 
-include __DIR__ . '/../../lib/autoload.php';
32
 
+include '/usr/share/php/Sabre/Event/autoload.php';
33
 
 
34
 
 abstract class BenchMark {
35