summaryrefslogtreecommitdiffstats
path: root/php-nette-database-upstream.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-10-19 07:13:35 +0200
committerRemi Collet <fedora@famillecollet.com>2016-10-19 07:13:35 +0200
commit2db3bbbc7b6aa5785e6d501cfe8aaec4c2687ad2 (patch)
treec7834a20dd49d3108e4248693fe9d791ed495f9a /php-nette-database-upstream.patch
parentdfa7d69660e7a9c2179b92bf323e91b223c59d11 (diff)
php-nette-database: 2.4.1
Diffstat (limited to 'php-nette-database-upstream.patch')
-rw-r--r--php-nette-database-upstream.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/php-nette-database-upstream.patch b/php-nette-database-upstream.patch
deleted file mode 100644
index e11bcd1..0000000
--- a/php-nette-database-upstream.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 9e7a1dcd9dc482366a52cf328bdb441faf451dad Mon Sep 17 00:00:00 2001
-From: David Grudl <david@grudl.com>
-Date: Thu, 21 Jul 2016 13:40:08 +0200
-Subject: [PATCH] tests: fixed compatibility with PHP 7.1
-
-https://wiki.php.net/rfc/invalid_strings_in_arithmetic
----
- tests/Database/Table/Selection.page().phpt | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tests/Database/Table/Selection.page().phpt b/tests/Database/Table/Selection.page().phpt
-index 2550625..96b13bd 100644
---- a/tests/Database/Table/Selection.page().phpt
-+++ b/tests/Database/Table/Selection.page().phpt
-@@ -60,8 +60,8 @@ test(function () use ($context) { //less items than $itemsPerPage
-
- // SQL Server throw PDOException 'The number of rows provided for a FETCH clause must be greater then zero.'
- if ($driverName !== 'sqlsrv') {
-- test(function () use ($context) { //invalid params
-+ Assert::error(function () use ($context) { //invalid params
- $tags = $context->table('tag')->page('foo', 'bar');
- Assert::equal(0, count($tags)); //no items
-- });
-+ }, PHP_VERSION_ID >= 70100 ? [[E_WARNING, 'A non-numeric value encountered']] : []);
- }