From 58c0bc2d7a8b221a0ad28d7a47b95cf5a64e6fc9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 27 Jan 2020 08:39:12 +0100 Subject: update to 1.2.9 switch to phpunit8 --- php-williamdes-mariadb-mysql-kbs-layout.patch | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'php-williamdes-mariadb-mysql-kbs-layout.patch') diff --git a/php-williamdes-mariadb-mysql-kbs-layout.patch b/php-williamdes-mariadb-mysql-kbs-layout.patch index 9858a8e..21b579e 100644 --- a/php-williamdes-mariadb-mysql-kbs-layout.patch +++ b/php-williamdes-mariadb-mysql-kbs-layout.patch @@ -1,19 +1,18 @@ -diff -up ./src/merge.php.rpm ./src/merge.php diff -up ./src/Search.php.rpm ./src/Search.php ---- ./src/Search.php.rpm 2019-09-12 10:53:45.797567100 +0200 -+++ ./src/Search.php 2019-09-12 11:01:04.702560202 +0200 -@@ -25,7 +25,7 @@ class Search - public const MYSQL = 1; - public const MARIADB = 2; - public const DS = DIRECTORY_SEPARATOR; -- public static $DATA_DIR = __DIR__.self::DS."..".self::DS."dist".self::DS; +--- ./src/Search.php.rpm 2020-01-27 08:31:51.566856296 +0100 ++++ ./src/Search.php 2020-01-27 08:32:31.160706000 +0100 +@@ -31,7 +31,7 @@ class Search + * + * @var string + */ +- public static $DATA_DIR = __DIR__ . self::DS . ".." . self::DS . "dist" . self::DS; + public static $DATA_DIR = '/usr/share/php-williamdes-mariadb-mysql-kbs/dist/'; /** * Load data from disk diff -up ./test/SearchTest.php.rpm ./test/SearchTest.php ---- ./test/SearchTest.php.rpm 2019-09-12 14:45:12.103423385 +0200 -+++ ./test/SearchTest.php 2019-09-12 14:45:15.407409867 +0200 +--- ./test/SearchTest.php.rpm 2020-01-26 21:00:05.000000000 +0100 ++++ ./test/SearchTest.php 2020-01-27 08:31:51.566856296 +0100 @@ -175,4 +175,24 @@ class SearchTest extends TestCase $this->assertEquals("boolean", $type); } -- cgit