File: 0001-Use-system-path.patch

package info (click to toggle)
php-mockery 1.6.12-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,988 kB
  • sloc: php: 12,443; xml: 1,716; makefile: 204; sh: 47; python: 43
file content (23 lines) | stat: -rw-r--r-- 719 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Sun, 30 Jun 2019 15:43:58 -1000
Subject: Use system path

We use the library from the package, not the one installed via Composer.

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

diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php
index e6ac557..7d61c41 100644
--- a/tests/Bootstrap.php
+++ b/tests/Bootstrap.php
@@ -57,6 +57,7 @@ if (DIRECTORY_SEPARATOR !== '/') {
     $hamcrestRelativePath = str_replace('/', DIRECTORY_SEPARATOR, $hamcrestRelativePath);
 }
 $hamcrestPath = $composerVendorDirectory . DIRECTORY_SEPARATOR . $hamcrestRelativePath;
+$hamcrestPath = 'Hamcrest.php';
 
 require_once $hamcrestPath;