From cf5503a6b720ff31442635ed4cd8e1f5e6145d87 Mon Sep 17 00:00:00 2001 From: Rasmus Schultz Date: Mon, 28 Nov 2022 14:50:44 +0100 Subject: [PATCH] upgrade deps --- composer.json | 6 +++--- test/helpers.php | 2 ++ test/test-integration.php | 2 ++ test/test-unit.php | 2 ++ test/test.php | 2 ++ 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 6d40c3f..0f0187c 100644 --- a/composer.json +++ b/composer.json @@ -16,15 +16,15 @@ } }, "require": { - "php": ">=5.5", + "php": ">=7.3", "ext-pdo": "*", "mindplay/unbox": "^2", "psr/log": "^1" }, "require-dev": { - "mindplay/testies": "^0.3.2", + "mindplay/testies": "^1.0", "mindplay/benchpress": "^0.1", - "mockery/mockery": "^0.9", + "mockery/mockery": "^1.5.1", "phpunit/php-code-coverage": ">=2, <4" }, "suggest": { diff --git a/test/helpers.php b/test/helpers.php index 5a2294f..ef9eb31 100644 --- a/test/helpers.php +++ b/test/helpers.php @@ -5,6 +5,8 @@ use mindplay\sql\model\query\Query; use mindplay\sql\model\schema\Type; +use function mindplay\testies\{ eq, ok, inspect }; + /** * @param string $sql * diff --git a/test/test-integration.php b/test/test-integration.php index 14c9d38..13b094b 100644 --- a/test/test-integration.php +++ b/test/test-integration.php @@ -4,6 +4,8 @@ use mindplay\sql\mysql\MySQLDatabase; use mindplay\sql\postgres\PostgresDatabase; +use function mindplay\testies\{ test, eq }; + test( 'can connect to Postgres', function () use ($config) { diff --git a/test/test-unit.php b/test/test-unit.php index 7fd9fb8..9c542de 100644 --- a/test/test-unit.php +++ b/test/test-unit.php @@ -27,6 +27,8 @@ use Mockery\MockInterface; use Psr\Log\LogLevel; +use function mindplay\testies\{ test, eq, ok, expect }; + test( "can quote schema/table/column-names for Postgres", function () { diff --git a/test/test.php b/test/test.php index b68d8cf..ba9c75f 100644 --- a/test/test.php +++ b/test/test.php @@ -1,5 +1,7 @@