From 0f3c8efd63f2872c87bc8bc1cc40cbb1f537880e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 18 Nov 2022 00:38:01 +0000 Subject: [PATCH 01/21] Lock file maintenance Signed-off-by: Renovate Bot --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 9beabb6..b5f4549 100644 --- a/composer.lock +++ b/composer.lock @@ -1925,16 +1925,16 @@ }, { "name": "composer/pcre", - "version": "3.0.2", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "4482b6409ca6bfc2af043a5711cd21ac3e7a8dfb" + "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/4482b6409ca6bfc2af043a5711cd21ac3e7a8dfb", - "reference": "4482b6409ca6bfc2af043a5711cd21ac3e7a8dfb", + "url": "https://api.github.com/repos/composer/pcre/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", + "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "shasum": "" }, "require": { @@ -1976,7 +1976,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.0.2" + "source": "https://github.com/composer/pcre/tree/3.1.0" }, "funding": [ { @@ -1992,7 +1992,7 @@ "type": "tidelift" } ], - "time": "2022-11-03T20:24:16+00:00" + "time": "2022-11-17T09:50:14+00:00" }, { "name": "composer/semver", From e4ee1103d902a9cdf6c45dc46fa2ee3b3ff8ccea Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 19 Nov 2022 00:45:12 +0000 Subject: [PATCH 02/21] Lock file maintenance Signed-off-by: Renovate Bot --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index b5f4549..16fac25 100644 --- a/composer.lock +++ b/composer.lock @@ -4032,16 +4032,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.18", + "version": "9.2.19", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "12fddc491826940cf9b7e88ad9664cf51f0f6d0a" + "reference": "c77b56b63e3d2031bd8997fcec43c1925ae46559" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/12fddc491826940cf9b7e88ad9664cf51f0f6d0a", - "reference": "12fddc491826940cf9b7e88ad9664cf51f0f6d0a", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c77b56b63e3d2031bd8997fcec43c1925ae46559", + "reference": "c77b56b63e3d2031bd8997fcec43c1925ae46559", "shasum": "" }, "require": { @@ -4097,7 +4097,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.18" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.19" }, "funding": [ { @@ -4105,7 +4105,7 @@ "type": "github" } ], - "time": "2022-10-27T13:35:33+00:00" + "time": "2022-11-18T07:47:47+00:00" }, { "name": "phpunit/php-file-iterator", From 87b92371b0c3e083f0e445fa98ddd44e05b419cb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 23 Nov 2022 00:47:50 +0000 Subject: [PATCH 03/21] Lock file maintenance Signed-off-by: Renovate Bot --- composer.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.lock b/composer.lock index 16fac25..4f5f7b4 100644 --- a/composer.lock +++ b/composer.lock @@ -2956,16 +2956,16 @@ }, { "name": "laminas/laminas-code", - "version": "4.7.0", + "version": "4.7.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-code.git", - "reference": "0337d9265bc2e6376babad8c511500821620cb30" + "reference": "91aabc066d5620428120800c0eafc0411e441a62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-code/zipball/0337d9265bc2e6376babad8c511500821620cb30", - "reference": "0337d9265bc2e6376babad8c511500821620cb30", + "url": "https://api.github.com/repos/laminas/laminas-code/zipball/91aabc066d5620428120800c0eafc0411e441a62", + "reference": "91aabc066d5620428120800c0eafc0411e441a62", "shasum": "" }, "require": { @@ -3018,7 +3018,7 @@ "type": "community_bridge" } ], - "time": "2022-09-13T10:33:30+00:00" + "time": "2022-11-21T01:32:31+00:00" }, { "name": "laminas/laminas-coding-standard", From 4b233bf4d57239ec0dbf399d97c733d683bc6def Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 30 Nov 2022 01:45:48 +0000 Subject: [PATCH 04/21] Lock file maintenance Signed-off-by: Renovate Bot --- composer.lock | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/composer.lock b/composer.lock index 4f5f7b4..97012b2 100644 --- a/composer.lock +++ b/composer.lock @@ -657,16 +657,16 @@ }, { "name": "symfony/console", - "version": "v5.4.15", + "version": "v5.4.16", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "ea59bb0edfaf9f28d18d8791410ee0355f317669" + "reference": "8e9b9c8dfb33af6057c94e1b44846bee700dc5ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/ea59bb0edfaf9f28d18d8791410ee0355f317669", - "reference": "ea59bb0edfaf9f28d18d8791410ee0355f317669", + "url": "https://api.github.com/repos/symfony/console/zipball/8e9b9c8dfb33af6057c94e1b44846bee700dc5ef", + "reference": "8e9b9c8dfb33af6057c94e1b44846bee700dc5ef", "shasum": "" }, "require": { @@ -736,7 +736,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.15" + "source": "https://github.com/symfony/console/tree/v5.4.16" }, "funding": [ { @@ -752,7 +752,7 @@ "type": "tidelift" } ], - "time": "2022-10-26T21:41:52+00:00" + "time": "2022-11-25T14:09:27+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1609,16 +1609,16 @@ }, { "name": "symfony/yaml", - "version": "v5.4.14", + "version": "v5.4.16", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "e83fe9a72011f07c662da46a05603d66deeeb487" + "reference": "ebd37c71f62d5ec5f6e27de3e06fee492d4c6298" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/e83fe9a72011f07c662da46a05603d66deeeb487", - "reference": "e83fe9a72011f07c662da46a05603d66deeeb487", + "url": "https://api.github.com/repos/symfony/yaml/zipball/ebd37c71f62d5ec5f6e27de3e06fee492d4c6298", + "reference": "ebd37c71f62d5ec5f6e27de3e06fee492d4c6298", "shasum": "" }, "require": { @@ -1664,7 +1664,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.4.14" + "source": "https://github.com/symfony/yaml/tree/v5.4.16" }, "funding": [ { @@ -1680,7 +1680,7 @@ "type": "tidelift" } ], - "time": "2022-10-03T15:15:50+00:00" + "time": "2022-11-25T16:04:03+00:00" } ], "packages-dev": [ From 1967d8fac46d92bc186ccad3815e08e06c7a47e4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 8 Dec 2022 01:47:54 +0000 Subject: [PATCH 05/21] Lock file maintenance Signed-off-by: Renovate Bot --- composer.lock | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.lock b/composer.lock index 97012b2..7deced6 100644 --- a/composer.lock +++ b/composer.lock @@ -4523,16 +4523,16 @@ }, { "name": "psalm/plugin-phpunit", - "version": "0.18.3", + "version": "0.18.4", "source": { "type": "git", "url": "https://github.com/psalm/psalm-plugin-phpunit.git", - "reference": "057c1cdf7546c1e427f6fd83b635d0cc18c252bf" + "reference": "e4ab3096653d9eb6f6d0ea5f4461898d59ae4dbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/psalm-plugin-phpunit/zipball/057c1cdf7546c1e427f6fd83b635d0cc18c252bf", - "reference": "057c1cdf7546c1e427f6fd83b635d0cc18c252bf", + "url": "https://api.github.com/repos/psalm/psalm-plugin-phpunit/zipball/e4ab3096653d9eb6f6d0ea5f4461898d59ae4dbc", + "reference": "e4ab3096653d9eb6f6d0ea5f4461898d59ae4dbc", "shasum": "" }, "require": { @@ -4540,7 +4540,7 @@ "composer/semver": "^1.4 || ^2.0 || ^3.0", "ext-simplexml": "*", "php": "^7.1 || ^8.0", - "vimeo/psalm": "dev-master || dev-4.x || ^4.5 || ^5@beta" + "vimeo/psalm": "dev-master || dev-4.x || ^4.7.1 || ^5@beta || ^5.0" }, "conflict": { "phpunit/phpunit": "<7.5" @@ -4577,9 +4577,9 @@ "description": "Psalm plugin for PHPUnit", "support": { "issues": "https://github.com/psalm/psalm-plugin-phpunit/issues", - "source": "https://github.com/psalm/psalm-plugin-phpunit/tree/0.18.3" + "source": "https://github.com/psalm/psalm-plugin-phpunit/tree/0.18.4" }, - "time": "2022-11-03T18:17:28+00:00" + "time": "2022-12-03T07:47:07+00:00" }, { "name": "psr/cache", From da53036cb5f757252d09eb19c78453db4a799c0b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 9 Dec 2022 00:46:57 +0000 Subject: [PATCH 06/21] Lock file maintenance Signed-off-by: Renovate Bot --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 7deced6..a14c3f8 100644 --- a/composer.lock +++ b/composer.lock @@ -3244,16 +3244,16 @@ }, { "name": "netresearch/jsonmapper", - "version": "v4.0.0", + "version": "v4.1.0", "source": { "type": "git", "url": "https://github.com/cweiske/jsonmapper.git", - "reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d" + "reference": "cfa81ea1d35294d64adb9c68aa4cb9e92400e53f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d", - "reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/cfa81ea1d35294d64adb9c68aa4cb9e92400e53f", + "reference": "cfa81ea1d35294d64adb9c68aa4cb9e92400e53f", "shasum": "" }, "require": { @@ -3289,9 +3289,9 @@ "support": { "email": "cweiske@cweiske.de", "issues": "https://github.com/cweiske/jsonmapper/issues", - "source": "https://github.com/cweiske/jsonmapper/tree/v4.0.0" + "source": "https://github.com/cweiske/jsonmapper/tree/v4.1.0" }, - "time": "2020-12-01T19:48:11+00:00" + "time": "2022-12-08T20:46:14+00:00" }, { "name": "nikic/php-parser", From a2c51727cabe44ddde5d20450363b62637299888 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 10 Dec 2022 00:33:28 +0000 Subject: [PATCH 07/21] Update dependency php to ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 | datasource | package | from | to | | ----------- | ----------- | ------ | ----- | | github-tags | php/php-src | 8.1.13 | 8.2.0 | Signed-off-by: Renovate Bot --- composer.json | 2 +- composer.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index a304555..6856e34 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ } }, "require": { - "php": "^7.4 || ~8.0.0 || ~8.1.0", + "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0", "enlightn/security-checker": "^1.10" }, "require-dev": { diff --git a/composer.lock b/composer.lock index a14c3f8..648fff1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1a86032636faca1fd1b8867000c57f71", + "content-hash": "0b79e0e60b53a7b235491a70a430e0d7", "packages": [ { "name": "enlightn/security-checker", @@ -6216,7 +6216,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.4 || ~8.0.0 || ~8.1.0" + "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0" }, "platform-dev": [], "platform-overrides": { From f45fe841e39ae15a598d4c0a582047e4ceea0eff Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 10 Dec 2022 00:40:54 +0000 Subject: [PATCH 08/21] Lock file maintenance Signed-off-by: Renovate Bot --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 648fff1..9c46ec5 100644 --- a/composer.lock +++ b/composer.lock @@ -4350,16 +4350,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.26", + "version": "9.5.27", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "851867efcbb6a1b992ec515c71cdcf20d895e9d2" + "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/851867efcbb6a1b992ec515c71cdcf20d895e9d2", - "reference": "851867efcbb6a1b992ec515c71cdcf20d895e9d2", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a2bc7ffdca99f92d959b3f2270529334030bba38", + "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38", "shasum": "" }, "require": { @@ -4432,7 +4432,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.26" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.27" }, "funding": [ { @@ -4448,7 +4448,7 @@ "type": "tidelift" } ], - "time": "2022-10-28T06:00:21+00:00" + "time": "2022-12-09T07:31:23+00:00" }, { "name": "predis/predis", From a257c0d6d2b2a4bdddd8201c451c81f2896fc84a Mon Sep 17 00:00:00 2001 From: Oleksandr Khnykin Date: Tue, 6 Dec 2022 17:09:47 +0200 Subject: [PATCH 09/21] add possibility to set zero port for memcache and memcached checkers Signed-off-by: Oleksandr Khnykin --- src/Check/Memcache.php | 4 ++-- src/Check/Memcached.php | 4 ++-- test/MemcacheTest.php | 2 +- test/MemcachedTest.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Check/Memcache.php b/src/Check/Memcache.php index bb7bffb..21159df 100644 --- a/src/Check/Memcache.php +++ b/src/Check/Memcache.php @@ -42,9 +42,9 @@ public function __construct($host = '127.0.0.1', $port = 11211) } $port = (int) $port; - if ($port < 1) { + if ($port < 0) { throw new InvalidArgumentException(sprintf( - 'Invalid port number %d - expecting a positive integer', + 'Invalid port number %d - expecting an unsigned integer', $port )); } diff --git a/src/Check/Memcached.php b/src/Check/Memcached.php index 2d8659a..61b5325 100644 --- a/src/Check/Memcached.php +++ b/src/Check/Memcached.php @@ -42,9 +42,9 @@ public function __construct($host = '127.0.0.1', $port = 11211) } $port = (int) $port; - if ($port < 1) { + if ($port < 0) { throw new InvalidArgumentException(sprintf( - 'Invalid port number %d - expecting a positive integer', + 'Invalid port number %d - expecting an unsigned integer', $port )); } diff --git a/test/MemcacheTest.php b/test/MemcacheTest.php index 1ea3414..5ec9e97 100644 --- a/test/MemcacheTest.php +++ b/test/MemcacheTest.php @@ -19,7 +19,7 @@ public function testHostValidation(): void public function testPortValidation(): void { $this->expectException(InvalidArgumentException::class); - $this->expectExceptionMessage("Invalid port number -11211 - expecting a positive integer"); + $this->expectExceptionMessage("Invalid port number -11211 - expecting an unsigned integer"); new Memcache('127.0.0.1', -11211); } } diff --git a/test/MemcachedTest.php b/test/MemcachedTest.php index 174e396..cd96294 100644 --- a/test/MemcachedTest.php +++ b/test/MemcachedTest.php @@ -19,7 +19,7 @@ public function testHostValidation(): void public function testPortValidation(): void { $this->expectException(InvalidArgumentException::class); - $this->expectExceptionMessage("Invalid port number -11211 - expecting a positive integer"); + $this->expectExceptionMessage("Invalid port number -11211 - expecting an unsigned integer"); new Memcached('127.0.0.1', -11211); } } From d0370ee0af40bec2c3420a1abd65790730e9ba0a Mon Sep 17 00:00:00 2001 From: Oleksandr Khnykin Date: Tue, 6 Dec 2022 17:35:59 +0200 Subject: [PATCH 10/21] change in phpdoc Signed-off-by: Oleksandr Khnykin --- src/Check/Memcached.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Check/Memcached.php b/src/Check/Memcached.php index 61b5325..cb09b28 100644 --- a/src/Check/Memcached.php +++ b/src/Check/Memcached.php @@ -30,7 +30,7 @@ class Memcached extends AbstractCheck * @param string $host * @param int $port * @throws InvalidArgumentException If host is not a string value. - * @throws InvalidArgumentException If port is less than 1. + * @throws InvalidArgumentException If port is less than 0. */ public function __construct($host = '127.0.0.1', $port = 11211) { From d570888afe268e2702b6012d300e71397a6865f2 Mon Sep 17 00:00:00 2001 From: Oleksandr Khnykin Date: Wed, 14 Dec 2022 16:59:09 +0200 Subject: [PATCH 11/21] add tests && docs Signed-off-by: Oleksandr Khnykin --- docs/book/diagnostics.md | 2 ++ src/Check/Memcache.php | 7 +++++-- src/Check/Memcached.php | 7 +++++-- test/MemcacheTest.php | 33 +++++++++++++++++++++++++++++++++ test/MemcachedTest.php | 33 +++++++++++++++++++++++++++++++++ 5 files changed, 78 insertions(+), 4 deletions(-) diff --git a/docs/book/diagnostics.md b/docs/book/diagnostics.md index b609c2a..a2b4227 100644 --- a/docs/book/diagnostics.md +++ b/docs/book/diagnostics.md @@ -336,6 +336,7 @@ use Laminas\Diagnostics\Check\Memcache; $checkLocal = new Memcache('127.0.0.1'); // default port $checkBackup = new Memcache('10.0.30.40', 11212); +$checkSocket = new Memcache('unix:///run/memcached/memcached.sock', 0); ``` ## Memcached @@ -348,6 +349,7 @@ use Laminas\Diagnostics\Check\Memcached; $checkLocal = new Memcached('127.0.0.1'); // default port $checkBackup = new Memcached('10.0.30.40', 11212); +$checkSocket = new Memcached('/run/memcached/memcached.sock', 0); ``` ## MongoDb diff --git a/src/Check/Memcache.php b/src/Check/Memcache.php index 21159df..86e2680 100644 --- a/src/Check/Memcache.php +++ b/src/Check/Memcache.php @@ -28,8 +28,11 @@ class Memcache extends AbstractCheck protected $port; /** - * @param string $host - * @param int $port + * @param string $host The hostname of the memcache server. This parameter may + * also specify other transports like unix:///run/memcached/memcached.sock + * to use UNIX domain sockets, in this case port must also be set to 0. + * @param int $port The port where memcached is listening for connections. + * Set this parameter to 0 when using UNIX domain sockets. * @throws InvalidArgumentException */ public function __construct($host = '127.0.0.1', $port = 11211) diff --git a/src/Check/Memcached.php b/src/Check/Memcached.php index cb09b28..5f446be 100644 --- a/src/Check/Memcached.php +++ b/src/Check/Memcached.php @@ -27,8 +27,11 @@ class Memcached extends AbstractCheck protected $port; /** - * @param string $host - * @param int $port + * @param string $host The hostname of the memcache server. This parameter may + * also specify other transports like /path/to/memcached.sock + * to use UNIX domain sockets, in this case port must also be set to 0. + * @param int $port The port where memcached is listening for connections. + * Set this parameter to 0 when using UNIX domain sockets. * @throws InvalidArgumentException If host is not a string value. * @throws InvalidArgumentException If port is less than 0. */ diff --git a/test/MemcacheTest.php b/test/MemcacheTest.php index 5ec9e97..317b468 100644 --- a/test/MemcacheTest.php +++ b/test/MemcacheTest.php @@ -2,6 +2,7 @@ namespace LaminasTest\Diagnostics; +use Generator; use InvalidArgumentException; use Laminas\Diagnostics\Check\Memcache; use PHPUnit\Framework\TestCase; @@ -22,4 +23,36 @@ public function testPortValidation(): void $this->expectExceptionMessage("Invalid port number -11211 - expecting an unsigned integer"); new Memcache('127.0.0.1', -11211); } + + /** + * @dataProvider providerValidConstructorArguments + */ + public function testConstructor(array $arguments): void + { + new Memcache(...$arguments); + + $this->expectNotToPerformAssertions(); + } + + public function providerValidConstructorArguments(): Generator + { + yield 'no arguments' => [ + [], + ]; + yield 'only host' => [ + ['127.0.0.1'], + ]; + yield 'host and port' => [ + [ + '127.0.0.1', + 11211, + ], + ]; + yield 'unix socket' => [ + [ + 'unix:///run/memcached/memcached.sock', + 0, + ], + ]; + } } diff --git a/test/MemcachedTest.php b/test/MemcachedTest.php index cd96294..f6fc0c2 100644 --- a/test/MemcachedTest.php +++ b/test/MemcachedTest.php @@ -2,6 +2,7 @@ namespace LaminasTest\Diagnostics; +use Generator; use InvalidArgumentException; use Laminas\Diagnostics\Check\Memcached; use PHPUnit\Framework\TestCase; @@ -22,4 +23,36 @@ public function testPortValidation(): void $this->expectExceptionMessage("Invalid port number -11211 - expecting an unsigned integer"); new Memcached('127.0.0.1', -11211); } + + /** + * @dataProvider providerValidConstructorArguments + */ + public function testConstructor(array $arguments): void + { + new Memcached(...$arguments); + + $this->expectNotToPerformAssertions(); + } + + public function providerValidConstructorArguments(): Generator + { + yield 'no arguments' => [ + [], + ]; + yield 'only host' => [ + ['127.0.0.1'], + ]; + yield 'host and port' => [ + [ + '127.0.0.1', + 11211, + ], + ]; + yield 'unix socket' => [ + [ + '/run/memcached/memcached.sock', + 0, + ], + ]; + } } From 13094677c242b669b92e30cd26fe61ea0a265ead Mon Sep 17 00:00:00 2001 From: Oleksandr Khnykin Date: Wed, 14 Dec 2022 17:22:51 +0200 Subject: [PATCH 12/21] fix phpdoc by CR tips Signed-off-by: Oleksandr Khnykin --- src/Check/Memcache.php | 10 +++++----- src/Check/Memcached.php | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Check/Memcache.php b/src/Check/Memcache.php index 86e2680..c1f8d0f 100644 --- a/src/Check/Memcache.php +++ b/src/Check/Memcache.php @@ -28,11 +28,11 @@ class Memcache extends AbstractCheck protected $port; /** - * @param string $host The hostname of the memcache server. This parameter may - * also specify other transports like unix:///run/memcached/memcached.sock - * to use UNIX domain sockets, in this case port must also be set to 0. - * @param int $port The port where memcached is listening for connections. - * Set this parameter to 0 when using UNIX domain sockets. + * @param string $host The hostname of the memcache server. This parameter may + * also specify other transports like unix:///run/memcached/memcached.sock + * to use UNIX domain sockets, in this case port must also be set to 0. + * @param 0|positive-int $port The port where memcached is listening for connections. + * Set this parameter to 0 when using UNIX domain sockets. * @throws InvalidArgumentException */ public function __construct($host = '127.0.0.1', $port = 11211) diff --git a/src/Check/Memcached.php b/src/Check/Memcached.php index 5f446be..0c36d28 100644 --- a/src/Check/Memcached.php +++ b/src/Check/Memcached.php @@ -27,11 +27,11 @@ class Memcached extends AbstractCheck protected $port; /** - * @param string $host The hostname of the memcache server. This parameter may - * also specify other transports like /path/to/memcached.sock - * to use UNIX domain sockets, in this case port must also be set to 0. - * @param int $port The port where memcached is listening for connections. - * Set this parameter to 0 when using UNIX domain sockets. + * @param string $host The hostname of the memcache server. This parameter may + * also specify other transports like /path/to/memcached.sock + * to use UNIX domain sockets, in this case port must also be set to 0. + * @param 0|positive-int $port The port where memcached is listening for connections. + * Set this parameter to 0 when using UNIX domain sockets. * @throws InvalidArgumentException If host is not a string value. * @throws InvalidArgumentException If port is less than 0. */ From c12eebd3b93ce91e7209cd4290ac99fba54bda86 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Thu, 15 Dec 2022 17:58:18 +0100 Subject: [PATCH 13/21] Simplified and documented test types, re-generated baseline --- psalm-baseline.xml | 48 +++++++++++++++++++++++++++++++++++------- test/MemcacheTest.php | 40 ++++++++++++++++++++--------------- test/MemcachedTest.php | 40 ++++++++++++++++++++--------------- 3 files changed, 86 insertions(+), 42 deletions(-) diff --git a/psalm-baseline.xml b/psalm-baseline.xml index a0a1ca2..4c9790d 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -437,18 +437,21 @@ - + + $port < 0 is_string($host) - + $memcache - $stats addServer connect getExtendedStats + + $port + Memcache @@ -457,18 +460,21 @@ - + + $port < 0 is_string($host) - + $memcached - $stats addServer getLastDisconnectedServer getStats + + $port + Memcached @@ -602,9 +608,33 @@ + + $client + + + PredisClient|RedisExtensionClient + + + auth + connect + + + $client + Redis + + RedisException + + + $client + PredisClient|RedisExtensionClient + RedisException + + + array + @@ -1039,7 +1069,8 @@ - + + -11211 ['127.0.0.1'] @@ -1047,7 +1078,8 @@ - + + -11211 ['127.0.0.1'] diff --git a/test/MemcacheTest.php b/test/MemcacheTest.php index 317b468..6f010cd 100644 --- a/test/MemcacheTest.php +++ b/test/MemcacheTest.php @@ -2,7 +2,6 @@ namespace LaminasTest\Diagnostics; -use Generator; use InvalidArgumentException; use Laminas\Diagnostics\Check\Memcache; use PHPUnit\Framework\TestCase; @@ -26,6 +25,7 @@ public function testPortValidation(): void /** * @dataProvider providerValidConstructorArguments + * @param array|array{string}|array{string, positive-int|0} $arguments */ public function testConstructor(array $arguments): void { @@ -34,24 +34,30 @@ public function testConstructor(array $arguments): void $this->expectNotToPerformAssertions(); } - public function providerValidConstructorArguments(): Generator + /** + * @return non-empty-array< + * non-empty-string, + * array{array|array{string}|array{string, positive-int|0}} + * > + */ + public static function providerValidConstructorArguments(): array { - yield 'no arguments' => [ - [], - ]; - yield 'only host' => [ - ['127.0.0.1'], - ]; - yield 'host and port' => [ - [ - '127.0.0.1', - 11211, + return [ + 'no arguments' => [[]], + 'only host' => [ + ['127.0.0.1'], ], - ]; - yield 'unix socket' => [ - [ - 'unix:///run/memcached/memcached.sock', - 0, + 'host and port' => [ + [ + '127.0.0.1', + 11211, + ], + ], + 'unix socket' => [ + [ + 'unix:///run/memcached/memcached.sock', + 0, + ], ], ]; } diff --git a/test/MemcachedTest.php b/test/MemcachedTest.php index f6fc0c2..1849a8c 100644 --- a/test/MemcachedTest.php +++ b/test/MemcachedTest.php @@ -2,7 +2,6 @@ namespace LaminasTest\Diagnostics; -use Generator; use InvalidArgumentException; use Laminas\Diagnostics\Check\Memcached; use PHPUnit\Framework\TestCase; @@ -26,6 +25,7 @@ public function testPortValidation(): void /** * @dataProvider providerValidConstructorArguments + * @param array|array{string}|array{string, positive-int|0} $arguments */ public function testConstructor(array $arguments): void { @@ -34,24 +34,30 @@ public function testConstructor(array $arguments): void $this->expectNotToPerformAssertions(); } - public function providerValidConstructorArguments(): Generator + /** + * @return non-empty-array< + * non-empty-string, + * array{array|array{string}|array{string, positive-int|0}} + * > + */ + public static function providerValidConstructorArguments(): array { - yield 'no arguments' => [ - [], - ]; - yield 'only host' => [ - ['127.0.0.1'], - ]; - yield 'host and port' => [ - [ - '127.0.0.1', - 11211, + return [ + 'no arguments' => [[]], + 'only host' => [ + ['127.0.0.1'], ], - ]; - yield 'unix socket' => [ - [ - '/run/memcached/memcached.sock', - 0, + 'host and port' => [ + [ + '127.0.0.1', + 11211, + ], + ], + 'unix socket' => [ + [ + 'unix:///run/memcached/memcached.sock', + 0, + ], ], ]; } From dee75de5d85f11597d54fb824efdde26ed304372 Mon Sep 17 00:00:00 2001 From: Ion Bazan Date: Sun, 6 Nov 2022 00:16:43 +0800 Subject: [PATCH 14/21] bump minimal PHP version Signed-off-by: Ion Bazan --- composer.json | 14 +++++++------- composer.lock | 22 +++++++++++----------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/composer.json b/composer.json index 6856e34..41e3924 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "config": { "sort-packages": true, "platform": { - "php": "7.4.99" + "php": "8.0.99" }, "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true @@ -33,20 +33,20 @@ } }, "require": { - "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0", "enlightn/security-checker": "^1.10" }, "require-dev": { - "doctrine/migrations": "^2.0 || ^3.0", + "doctrine/migrations": "^2.0 || ^3.5.2", "guzzlehttp/guzzle": "^7.5.0", "laminas/laminas-coding-standard": "~2.4.0", - "laminas/laminas-loader": "^2.0", + "laminas/laminas-loader": "^2.9", "mikey179/vfsstream": "^1.6.11", - "php-amqplib/php-amqplib": "^2.0 || ^3.0", + "php-amqplib/php-amqplib": "^2.0 || ^3.4", "phpunit/phpunit": "^9.5.26", - "psalm/plugin-phpunit": "^0.18.0", + "psalm/plugin-phpunit": "^0.18.3", "predis/predis": "^2.0.3", - "symfony/yaml": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0", + "symfony/yaml": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0.14", "vimeo/psalm": "^4.29.0" }, "conflict": { diff --git a/composer.lock b/composer.lock index 9c46ec5..af08549 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0b79e0e60b53a7b235491a70a430e0d7", + "content-hash": "dfa22555d5015ce39e5cdabb464a05f1", "packages": [ { "name": "enlightn/security-checker", @@ -3078,27 +3078,27 @@ }, { "name": "laminas/laminas-loader", - "version": "2.8.0", + "version": "2.9.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-loader.git", - "reference": "d0589ec9dd48365fd95ad10d1c906efd7711c16b" + "reference": "51ed9c3fa42d1098a9997571730c0cbf42d078d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-loader/zipball/d0589ec9dd48365fd95ad10d1c906efd7711c16b", - "reference": "d0589ec9dd48365fd95ad10d1c906efd7711c16b", + "url": "https://api.github.com/repos/laminas/laminas-loader/zipball/51ed9c3fa42d1098a9997571730c0cbf42d078d3", + "reference": "51ed9c3fa42d1098a9997571730c0cbf42d078d3", "shasum": "" }, "require": { - "php": "^7.3 || ~8.0.0 || ~8.1.0" + "php": "~8.0.0 || ~8.1.0 || ~8.2.0" }, "conflict": { "zendframework/zend-loader": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~2.2.1", - "phpunit/phpunit": "^9.3" + "laminas/laminas-coding-standard": "~2.4.0", + "phpunit/phpunit": "~9.5.25" }, "type": "library", "autoload": { @@ -3130,7 +3130,7 @@ "type": "community_bridge" } ], - "time": "2021-09-02T18:30:53+00:00" + "time": "2022-10-16T12:50:49+00:00" }, { "name": "mikey179/vfsstream", @@ -6216,11 +6216,11 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0" + "php": "~8.0.0 || ~8.1.0 || ~8.2.0" }, "platform-dev": [], "platform-overrides": { - "php": "7.4.99" + "php": "8.0.99" }, "plugin-api-version": "2.3.0" } From ac34e1b92844f591fd63cad53d3a07edbf498eb0 Mon Sep 17 00:00:00 2001 From: Ion Bazan Date: Mon, 19 Dec 2022 10:29:26 +0800 Subject: [PATCH 15/21] Add missing property Signed-off-by: Ion Bazan --- src/Check/DiskFree.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Check/DiskFree.php b/src/Check/DiskFree.php index 97acb05..9433bd2 100644 --- a/src/Check/DiskFree.php +++ b/src/Check/DiskFree.php @@ -126,6 +126,13 @@ class DiskFree extends AbstractCheck implements CheckInterface 3 => 1073741824, // 2^30 == 1024^3 ]; + /** + * The disk path to check. + * + * @internal + */ + public string $path; + /** * @param int|string $size Minimum disk size in bytes or a valid byte string (IEC, SI or Jedec). * @param string $path The disk path to check, i.e. '/tmp' or 'C:' (defaults to /) From c44aab061cb46cd0a889f1368b6d07fc149e1692 Mon Sep 17 00:00:00 2001 From: Ion Bazan Date: Mon, 19 Dec 2022 13:27:59 +0800 Subject: [PATCH 16/21] Do not use typed property Signed-off-by: Ion Bazan --- src/Check/DiskFree.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Check/DiskFree.php b/src/Check/DiskFree.php index 9433bd2..2de36d6 100644 --- a/src/Check/DiskFree.php +++ b/src/Check/DiskFree.php @@ -130,8 +130,10 @@ class DiskFree extends AbstractCheck implements CheckInterface * The disk path to check. * * @internal + * + * @var string */ - public string $path; + public $path; /** * @param int|string $size Minimum disk size in bytes or a valid byte string (IEC, SI or Jedec). From a6d917996b4ba5b67e3246c5f7e7ba7e23f6a2fd Mon Sep 17 00:00:00 2001 From: Ion Bazan Date: Tue, 20 Dec 2022 18:50:25 +0800 Subject: [PATCH 17/21] Bump baseline Signed-off-by: Ion Bazan --- psalm-baseline.xml | 40 ++++++++++++---------------------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 4c9790d..9693552 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -159,9 +159,6 @@ - - string - $a $a @@ -183,14 +180,11 @@ null null - - bcdiv(bcpow(bcadd($a, $b), 2), bcmul(4, $t), $precision) - $b $b $b - $x + bcsqrt(2) CpuPerformance @@ -200,9 +194,6 @@ - - $this->dir - $path @@ -223,14 +214,14 @@ current($nonDirs) current($unreadable) + + $this->dir + DirReadable - - $this->dir - $path @@ -249,6 +240,9 @@ $nonDirs[] $unwritable[] + + $this->dir + DirWritable @@ -264,13 +258,10 @@ $free - + $a $a $k - $this->path - $this->path - $this->path @@ -281,9 +272,8 @@ int - + $bytes - $this->path $x[$i] @@ -302,12 +292,6 @@ ! is_float($free) $free === false || ! is_float($free) - - $this->path - - - $this->path - @@ -341,9 +325,6 @@ - - $this->extensions - $extensionName @@ -371,6 +352,9 @@ $ext $ext + + $this->extensions + ExtensionLoaded From 5ad3255f7b6cbdc0ee9a9b9c7208f9ec020f281c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 20 Dec 2022 19:29:29 +0000 Subject: [PATCH 18/21] Lock file maintenance Signed-off-by: Renovate Bot --- composer.lock | 533 +++++++++++++++++++++----------------------------- 1 file changed, 224 insertions(+), 309 deletions(-) diff --git a/composer.lock b/composer.lock index af08549..9c7b8a7 100644 --- a/composer.lock +++ b/composer.lock @@ -405,22 +405,27 @@ }, { "name": "psr/container", - "version": "1.1.2", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", "shasum": "" }, "require": { "php": ">=7.4.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, "autoload": { "psr-4": { "Psr\\Container\\": "src/" @@ -447,9 +452,9 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.2" + "source": "https://github.com/php-fig/container/tree/2.0.2" }, - "time": "2021-11-05T16:50:12+00:00" + "time": "2021-11-05T16:47:00+00:00" }, { "name": "psr/http-client", @@ -657,46 +662,42 @@ }, { "name": "symfony/console", - "version": "v5.4.16", + "version": "v6.0.16", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "8e9b9c8dfb33af6057c94e1b44846bee700dc5ef" + "reference": "be294423f337dda97c810733138c0caec1bb0575" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/8e9b9c8dfb33af6057c94e1b44846bee700dc5ef", - "reference": "8e9b9c8dfb33af6057c94e1b44846bee700dc5ef", + "url": "https://api.github.com/repos/symfony/console/zipball/be294423f337dda97c810733138c0caec1bb0575", + "reference": "be294423f337dda97c810733138c0caec1bb0575", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "php": ">=8.0.2", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.9", - "symfony/polyfill-php80": "^1.16", "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.1|^6.0" + "symfony/string": "^5.4|^6.0" }, "conflict": { - "psr/log": ">=3", - "symfony/dependency-injection": "<4.4", - "symfony/dotenv": "<5.1", - "symfony/event-dispatcher": "<4.4", - "symfony/lock": "<4.4", - "symfony/process": "<4.4" + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" }, "provide": { - "psr/log-implementation": "1.0|2.0" + "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { - "psr/log": "^1|^2", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/lock": "^4.4|^5.0|^6.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0" + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/lock": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" }, "suggest": { "psr/log": "For using the console logger", @@ -736,7 +737,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.16" + "source": "https://github.com/symfony/console/tree/v6.0.16" }, "funding": [ { @@ -752,29 +753,29 @@ "type": "tidelift" } ], - "time": "2022-11-25T14:09:27+00:00" + "time": "2022-11-25T18:58:46+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.2", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.0.2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -803,7 +804,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2" }, "funding": [ { @@ -819,26 +820,24 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2022-01-02T09:55:41+00:00" }, { "name": "symfony/finder", - "version": "v5.4.11", + "version": "v6.0.11", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "7872a66f57caffa2916a584db1aa7f12adc76f8c" + "reference": "09cb683ba5720385ea6966e5e06be2a34f2568b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/7872a66f57caffa2916a584db1aa7f12adc76f8c", - "reference": "7872a66f57caffa2916a584db1aa7f12adc76f8c", + "url": "https://api.github.com/repos/symfony/finder/zipball/09cb683ba5720385ea6966e5e06be2a34f2568b1", + "reference": "09cb683ba5720385ea6966e5e06be2a34f2568b1", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -866,7 +865,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.11" + "source": "https://github.com/symfony/finder/tree/v6.0.11" }, "funding": [ { @@ -882,7 +881,7 @@ "type": "tidelift" } ], - "time": "2022-07-29T07:37:50+00:00" + "time": "2022-07-29T07:39:48+00:00" }, { "name": "symfony/polyfill-ctype", @@ -1214,185 +1213,22 @@ ], "time": "2022-11-03T14:55:06+00:00" }, - { - "name": "symfony/polyfill-php73", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", - "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, { "name": "symfony/process", - "version": "v5.4.11", + "version": "v6.0.11", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "6e75fe6874cbc7e4773d049616ab450eff537bf1" + "reference": "44270a08ccb664143dede554ff1c00aaa2247a43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/6e75fe6874cbc7e4773d049616ab450eff537bf1", - "reference": "6e75fe6874cbc7e4773d049616ab450eff537bf1", + "url": "https://api.github.com/repos/symfony/process/zipball/44270a08ccb664143dede554ff1c00aaa2247a43", + "reference": "44270a08ccb664143dede554ff1c00aaa2247a43", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -1420,7 +1256,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.11" + "source": "https://github.com/symfony/process/tree/v6.0.11" }, "funding": [ { @@ -1436,26 +1272,25 @@ "type": "tidelift" } ], - "time": "2022-06-27T16:58:25+00:00" + "time": "2022-06-27T17:10:44+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.5.2", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", - "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66", + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/container": "^1.1", - "symfony/deprecation-contracts": "^2.1|^3" + "php": ">=8.0.2", + "psr/container": "^2.0" }, "conflict": { "ext-psr": "<1.1|>=2" @@ -1466,7 +1301,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -1503,7 +1338,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.2" + "source": "https://github.com/symfony/service-contracts/tree/v3.0.2" }, "funding": [ { @@ -1519,38 +1354,37 @@ "type": "tidelift" } ], - "time": "2022-05-30T19:17:29+00:00" + "time": "2022-05-30T19:17:58+00:00" }, { "name": "symfony/string", - "version": "v5.4.15", + "version": "v6.0.15", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "571334ce9f687e3e6af72db4d3b2a9431e4fd9ed" + "reference": "51ac0fa0ccf132a00519b87c97e8f775fa14e771" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/571334ce9f687e3e6af72db4d3b2a9431e4fd9ed", - "reference": "571334ce9f687e3e6af72db4d3b2a9431e4fd9ed", + "url": "https://api.github.com/repos/symfony/string/zipball/51ac0fa0ccf132a00519b87c97e8f775fa14e771", + "reference": "51ac0fa0ccf132a00519b87c97e8f775fa14e771", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.0.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "~1.15" + "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symfony/translation-contracts": ">=3.0" + "symfony/translation-contracts": "<2.0" }, "require-dev": { - "symfony/error-handler": "^4.4|^5.0|^6.0", - "symfony/http-client": "^4.4|^5.0|^6.0", - "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0|^6.0" + "symfony/error-handler": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/translation-contracts": "^2.0|^3.0", + "symfony/var-exporter": "^5.4|^6.0" }, "type": "library", "autoload": { @@ -1589,7 +1423,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.15" + "source": "https://github.com/symfony/string/tree/v6.0.15" }, "funding": [ { @@ -1605,32 +1439,31 @@ "type": "tidelift" } ], - "time": "2022-10-05T15:16:54+00:00" + "time": "2022-10-10T09:34:08+00:00" }, { "name": "symfony/yaml", - "version": "v5.4.16", + "version": "v6.0.16", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "ebd37c71f62d5ec5f6e27de3e06fee492d4c6298" + "reference": "eb85bd1b0b297e976f3ada52ad239ef80b4dbd0b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/ebd37c71f62d5ec5f6e27de3e06fee492d4c6298", - "reference": "ebd37c71f62d5ec5f6e27de3e06fee492d4c6298", + "url": "https://api.github.com/repos/symfony/yaml/zipball/eb85bd1b0b297e976f3ada52ad239ef80b4dbd0b", + "reference": "eb85bd1b0b297e976f3ada52ad239ef80b4dbd0b", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "php": ">=8.0.2", "symfony/polyfill-ctype": "^1.8" }, "conflict": { - "symfony/console": "<5.3" + "symfony/console": "<5.4" }, "require-dev": { - "symfony/console": "^5.3|^6.0" + "symfony/console": "^5.4|^6.0" }, "suggest": { "symfony/console": "For validating YAML files using the lint command" @@ -1664,7 +1497,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.4.16" + "source": "https://github.com/symfony/yaml/tree/v6.0.16" }, "funding": [ { @@ -1680,7 +1513,7 @@ "type": "tidelift" } ], - "time": "2022-11-25T16:04:03+00:00" + "time": "2022-11-25T18:58:46+00:00" } ], "packages-dev": [ @@ -2348,16 +2181,16 @@ }, { "name": "doctrine/dbal", - "version": "3.5.1", + "version": "3.5.2", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "f38ee8aaca2d58ee88653cb34a6a3880c23f38a5" + "reference": "63e513cebbbaf96a6795e5c5ee34d205831bfc85" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/f38ee8aaca2d58ee88653cb34a6a3880c23f38a5", - "reference": "f38ee8aaca2d58ee88653cb34a6a3880c23f38a5", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/63e513cebbbaf96a6795e5c5ee34d205831bfc85", + "reference": "63e513cebbbaf96a6795e5c5ee34d205831bfc85", "shasum": "" }, "require": { @@ -2370,16 +2203,16 @@ "psr/log": "^1|^2|^3" }, "require-dev": { - "doctrine/coding-standard": "10.0.0", - "jetbrains/phpstorm-stubs": "2022.2", - "phpstan/phpstan": "1.8.10", + "doctrine/coding-standard": "11.0.0", + "jetbrains/phpstorm-stubs": "2022.3", + "phpstan/phpstan": "1.9.2", "phpstan/phpstan-strict-rules": "^1.4", - "phpunit/phpunit": "9.5.25", - "psalm/plugin-phpunit": "0.17.0", + "phpunit/phpunit": "9.5.27", + "psalm/plugin-phpunit": "0.18.4", "squizlabs/php_codesniffer": "3.7.1", "symfony/cache": "^5.4|^6.0", "symfony/console": "^4.4|^5.4|^6.0", - "vimeo/psalm": "4.29.0" + "vimeo/psalm": "4.30.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -2439,7 +2272,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.5.1" + "source": "https://github.com/doctrine/dbal/tree/3.5.2" }, "funding": [ { @@ -2455,7 +2288,7 @@ "type": "tidelift" } ], - "time": "2022-10-24T07:26:18+00:00" + "time": "2022-12-19T08:17:34+00:00" }, { "name": "doctrine/deprecations", @@ -3878,16 +3711,16 @@ }, { "name": "phpseclib/phpseclib", - "version": "3.0.17", + "version": "3.0.18", "source": { "type": "git", "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "dbc2307d5c69aeb22db136c52e91130d7f2ca761" + "reference": "f28693d38ba21bb0d9f0c411ee5dae2b178201da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/dbc2307d5c69aeb22db136c52e91130d7f2ca761", - "reference": "dbc2307d5c69aeb22db136c52e91130d7f2ca761", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/f28693d38ba21bb0d9f0c411ee5dae2b178201da", + "reference": "f28693d38ba21bb0d9f0c411ee5dae2b178201da", "shasum": "" }, "require": { @@ -3968,7 +3801,7 @@ ], "support": { "issues": "https://github.com/phpseclib/phpseclib/issues", - "source": "https://github.com/phpseclib/phpseclib/tree/3.0.17" + "source": "https://github.com/phpseclib/phpseclib/tree/3.0.18" }, "funding": [ { @@ -3984,7 +3817,7 @@ "type": "tidelift" } ], - "time": "2022-10-24T10:51:50+00:00" + "time": "2022-12-17T18:26:50+00:00" }, { "name": "phpstan/phpdoc-parser", @@ -4032,16 +3865,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.19", + "version": "9.2.22", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "c77b56b63e3d2031bd8997fcec43c1925ae46559" + "reference": "e4bf60d2220b4baaa0572986b5d69870226b06df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c77b56b63e3d2031bd8997fcec43c1925ae46559", - "reference": "c77b56b63e3d2031bd8997fcec43c1925ae46559", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/e4bf60d2220b4baaa0572986b5d69870226b06df", + "reference": "e4bf60d2220b4baaa0572986b5d69870226b06df", "shasum": "" }, "require": { @@ -4097,7 +3930,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.19" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.22" }, "funding": [ { @@ -4105,7 +3938,7 @@ "type": "github" } ], - "time": "2022-11-18T07:47:47+00:00" + "time": "2022-12-18T16:40:55+00:00" }, { "name": "phpunit/php-file-iterator", @@ -4583,20 +4416,20 @@ }, { "name": "psr/cache", - "version": "1.0.1", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/cache.git", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=8.0.0" }, "type": "library", "extra": { @@ -4616,7 +4449,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for caching libraries", @@ -4626,36 +4459,36 @@ "psr-6" ], "support": { - "source": "https://github.com/php-fig/cache/tree/master" + "source": "https://github.com/php-fig/cache/tree/3.0.0" }, - "time": "2016-08-06T20:24:11+00:00" + "time": "2021-02-03T23:26:27+00:00" }, { "name": "psr/log", - "version": "1.1.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11" + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11", + "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=8.0.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "3.x-dev" } }, "autoload": { "psr-4": { - "Psr\\Log\\": "Psr/Log/" + "Psr\\Log\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -4676,9 +4509,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/1.1.4" + "source": "https://github.com/php-fig/log/tree/3.0.0" }, - "time": "2021-05-03T11:20:27+00:00" + "time": "2021-07-14T16:46:02+00:00" }, { "name": "sebastian/cli-parser", @@ -5763,23 +5596,22 @@ }, { "name": "symfony/filesystem", - "version": "v5.4.13", + "version": "v6.0.13", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "ac09569844a9109a5966b9438fc29113ce77cf51" + "reference": "3adca49133bd055ebe6011ed1e012be3c908af79" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/ac09569844a9109a5966b9438fc29113ce77cf51", - "reference": "ac09569844a9109a5966b9438fc29113ce77cf51", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/3adca49133bd055ebe6011ed1e012be3c908af79", + "reference": "3adca49133bd055ebe6011ed1e012be3c908af79", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.0.2", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8", - "symfony/polyfill-php80": "^1.16" + "symfony/polyfill-mbstring": "~1.8" }, "type": "library", "autoload": { @@ -5807,7 +5639,90 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.13" + "source": "https://github.com/symfony/filesystem/tree/v6.0.13" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-09-21T20:25:27+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" }, "funding": [ { @@ -5823,24 +5738,24 @@ "type": "tidelift" } ], - "time": "2022-09-21T19:53:16+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/stopwatch", - "version": "v5.4.13", + "version": "v6.0.13", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "6df7a3effde34d81717bbef4591e5ffe32226d69" + "reference": "7554fde6848af5ef1178f8ccbdbdb8ae1092c70a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/6df7a3effde34d81717bbef4591e5ffe32226d69", - "reference": "6df7a3effde34d81717bbef4591e5ffe32226d69", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/7554fde6848af5ef1178f8ccbdbdb8ae1092c70a", + "reference": "7554fde6848af5ef1178f8ccbdbdb8ae1092c70a", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.0.2", "symfony/service-contracts": "^1|^2|^3" }, "type": "library", @@ -5869,7 +5784,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v5.4.13" + "source": "https://github.com/symfony/stopwatch/tree/v6.0.13" }, "funding": [ { @@ -5885,7 +5800,7 @@ "type": "tidelift" } ], - "time": "2022-09-28T13:19:49+00:00" + "time": "2022-09-28T15:52:47+00:00" }, { "name": "theseer/tokenizer", From 42ef48dd71acc7f7603910a1c62b09fc002a0d05 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 31 Dec 2022 01:18:31 +0000 Subject: [PATCH 19/21] Lock file maintenance Signed-off-by: Renovate Bot --- composer.lock | 76 +++++++++++++++++++++++++-------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/composer.lock b/composer.lock index 9c7b8a7..4d325ac 100644 --- a/composer.lock +++ b/composer.lock @@ -662,16 +662,16 @@ }, { "name": "symfony/console", - "version": "v6.0.16", + "version": "v6.0.17", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "be294423f337dda97c810733138c0caec1bb0575" + "reference": "2ab307342a7233b9a260edd5ef94087aaca57d18" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/be294423f337dda97c810733138c0caec1bb0575", - "reference": "be294423f337dda97c810733138c0caec1bb0575", + "url": "https://api.github.com/repos/symfony/console/zipball/2ab307342a7233b9a260edd5ef94087aaca57d18", + "reference": "2ab307342a7233b9a260edd5ef94087aaca57d18", "shasum": "" }, "require": { @@ -737,7 +737,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.0.16" + "source": "https://github.com/symfony/console/tree/v6.0.17" }, "funding": [ { @@ -753,7 +753,7 @@ "type": "tidelift" } ], - "time": "2022-11-25T18:58:46+00:00" + "time": "2022-12-28T14:21:34+00:00" }, { "name": "symfony/deprecation-contracts", @@ -824,16 +824,16 @@ }, { "name": "symfony/finder", - "version": "v6.0.11", + "version": "v6.0.17", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "09cb683ba5720385ea6966e5e06be2a34f2568b1" + "reference": "d467d625fc88f7cebf96f495e588a7196a669db1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/09cb683ba5720385ea6966e5e06be2a34f2568b1", - "reference": "09cb683ba5720385ea6966e5e06be2a34f2568b1", + "url": "https://api.github.com/repos/symfony/finder/zipball/d467d625fc88f7cebf96f495e588a7196a669db1", + "reference": "d467d625fc88f7cebf96f495e588a7196a669db1", "shasum": "" }, "require": { @@ -865,7 +865,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.0.11" + "source": "https://github.com/symfony/finder/tree/v6.0.17" }, "funding": [ { @@ -881,7 +881,7 @@ "type": "tidelift" } ], - "time": "2022-07-29T07:39:48+00:00" + "time": "2022-12-22T17:53:58+00:00" }, { "name": "symfony/polyfill-ctype", @@ -1358,16 +1358,16 @@ }, { "name": "symfony/string", - "version": "v6.0.15", + "version": "v6.0.17", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "51ac0fa0ccf132a00519b87c97e8f775fa14e771" + "reference": "3f57003dd8a67ed76870cc03092f8501db7788d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/51ac0fa0ccf132a00519b87c97e8f775fa14e771", - "reference": "51ac0fa0ccf132a00519b87c97e8f775fa14e771", + "url": "https://api.github.com/repos/symfony/string/zipball/3f57003dd8a67ed76870cc03092f8501db7788d9", + "reference": "3f57003dd8a67ed76870cc03092f8501db7788d9", "shasum": "" }, "require": { @@ -1423,7 +1423,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.0.15" + "source": "https://github.com/symfony/string/tree/v6.0.17" }, "funding": [ { @@ -1439,20 +1439,20 @@ "type": "tidelift" } ], - "time": "2022-10-10T09:34:08+00:00" + "time": "2022-12-14T15:52:41+00:00" }, { "name": "symfony/yaml", - "version": "v6.0.16", + "version": "v6.0.17", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "eb85bd1b0b297e976f3ada52ad239ef80b4dbd0b" + "reference": "76c08913ea1c50541503a4563b2172710189fa29" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/eb85bd1b0b297e976f3ada52ad239ef80b4dbd0b", - "reference": "eb85bd1b0b297e976f3ada52ad239ef80b4dbd0b", + "url": "https://api.github.com/repos/symfony/yaml/zipball/76c08913ea1c50541503a4563b2172710189fa29", + "reference": "76c08913ea1c50541503a4563b2172710189fa29", "shasum": "" }, "require": { @@ -1497,7 +1497,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v6.0.16" + "source": "https://github.com/symfony/yaml/tree/v6.0.17" }, "funding": [ { @@ -1513,7 +1513,7 @@ "type": "tidelift" } ], - "time": "2022-11-25T18:58:46+00:00" + "time": "2022-12-14T15:52:41+00:00" } ], "packages-dev": [ @@ -2427,30 +2427,30 @@ }, { "name": "doctrine/instantiator", - "version": "1.4.1", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc" + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc", - "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^9", + "doctrine/coding-standard": "^9 || ^11", "ext-pdo": "*", "ext-phar": "*", "phpbench/phpbench": "^0.16 || ^1", "phpstan/phpstan": "^1.4", "phpstan/phpstan-phpunit": "^1", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.22" + "vimeo/psalm": "^4.30 || ^5.4" }, "type": "library", "autoload": { @@ -2477,7 +2477,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.4.1" + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" }, "funding": [ { @@ -2493,7 +2493,7 @@ "type": "tidelift" } ], - "time": "2022-03-03T08:28:38+00:00" + "time": "2022-12-30T00:15:36+00:00" }, { "name": "doctrine/migrations", @@ -3865,16 +3865,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.22", + "version": "9.2.23", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "e4bf60d2220b4baaa0572986b5d69870226b06df" + "reference": "9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/e4bf60d2220b4baaa0572986b5d69870226b06df", - "reference": "e4bf60d2220b4baaa0572986b5d69870226b06df", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c", + "reference": "9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c", "shasum": "" }, "require": { @@ -3930,7 +3930,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.22" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.23" }, "funding": [ { @@ -3938,7 +3938,7 @@ "type": "github" } ], - "time": "2022-12-18T16:40:55+00:00" + "time": "2022-12-28T12:41:10+00:00" }, { "name": "phpunit/php-file-iterator", From 6622b8a8518235c47e547f486c69718df2ca3aed Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 5 Jan 2023 16:51:18 +0000 Subject: [PATCH 20/21] Update dependency laminas/laminas-coding-standard to ~2.5.0 | datasource | package | from | to | | ---------- | ------------------------------- | ----- | ----- | | packagist | laminas/laminas-coding-standard | 2.4.0 | 2.5.0 | Signed-off-by: Renovate Bot --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 41e3924..fa7a854 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "require-dev": { "doctrine/migrations": "^2.0 || ^3.5.2", "guzzlehttp/guzzle": "^7.5.0", - "laminas/laminas-coding-standard": "~2.4.0", + "laminas/laminas-coding-standard": "~2.5.0", "laminas/laminas-loader": "^2.9", "mikey179/vfsstream": "^1.6.11", "php-amqplib/php-amqplib": "^2.0 || ^3.4", diff --git a/composer.lock b/composer.lock index 4d325ac..7746411 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "dfa22555d5015ce39e5cdabb464a05f1", + "content-hash": "d92a9a22fb39ab761eb47edfefc545a6", "packages": [ { "name": "enlightn/security-checker", @@ -2855,20 +2855,20 @@ }, { "name": "laminas/laminas-coding-standard", - "version": "2.4.0", + "version": "2.5.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-coding-standard.git", - "reference": "eb076dd86aa93dd424856b150c9b6f76c1fdfabc" + "reference": "c1aaa18a7c860c6932677a3e4ec13161f9fc7d61" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-coding-standard/zipball/eb076dd86aa93dd424856b150c9b6f76c1fdfabc", - "reference": "eb076dd86aa93dd424856b150c9b6f76c1fdfabc", + "url": "https://api.github.com/repos/laminas/laminas-coding-standard/zipball/c1aaa18a7c860c6932677a3e4ec13161f9fc7d61", + "reference": "c1aaa18a7c860c6932677a3e4ec13161f9fc7d61", "shasum": "" }, "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || ^1.0", "php": "^7.4 || ^8.0", "slevomat/coding-standard": "^7.0", "squizlabs/php_codesniffer": "^3.6", @@ -2907,7 +2907,7 @@ "type": "community_bridge" } ], - "time": "2022-08-24T17:45:47+00:00" + "time": "2023-01-05T15:53:40+00:00" }, { "name": "laminas/laminas-loader", From 9e00fc748a23d3cc1861ec77ce0076d5c1882c74 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 13 Jan 2023 00:39:06 +0000 Subject: [PATCH 21/21] Lock file maintenance Signed-off-by: Renovate Bot --- composer.lock | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/composer.lock b/composer.lock index 7746411..81a9a57 100644 --- a/composer.lock +++ b/composer.lock @@ -2181,16 +2181,16 @@ }, { "name": "doctrine/dbal", - "version": "3.5.2", + "version": "3.5.3", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "63e513cebbbaf96a6795e5c5ee34d205831bfc85" + "reference": "88fa7e5189fd5ec6682477044264dc0ed4e3aa1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/63e513cebbbaf96a6795e5c5ee34d205831bfc85", - "reference": "63e513cebbbaf96a6795e5c5ee34d205831bfc85", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/88fa7e5189fd5ec6682477044264dc0ed4e3aa1e", + "reference": "88fa7e5189fd5ec6682477044264dc0ed4e3aa1e", "shasum": "" }, "require": { @@ -2205,7 +2205,7 @@ "require-dev": { "doctrine/coding-standard": "11.0.0", "jetbrains/phpstorm-stubs": "2022.3", - "phpstan/phpstan": "1.9.2", + "phpstan/phpstan": "1.9.4", "phpstan/phpstan-strict-rules": "^1.4", "phpunit/phpunit": "9.5.27", "psalm/plugin-phpunit": "0.18.4", @@ -2272,7 +2272,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.5.2" + "source": "https://github.com/doctrine/dbal/tree/3.5.3" }, "funding": [ { @@ -2288,7 +2288,7 @@ "type": "tidelift" } ], - "time": "2022-12-19T08:17:34+00:00" + "time": "2023-01-12T10:21:44+00:00" }, { "name": "doctrine/deprecations", @@ -2497,21 +2497,21 @@ }, { "name": "doctrine/migrations", - "version": "3.5.2", + "version": "3.5.3", "source": { "type": "git", "url": "https://github.com/doctrine/migrations.git", - "reference": "61c6ef3a10b7df43c3b6388a184754f26e58700a" + "reference": "01f89a1082b6971ba53ba76f95741fc8ad4a5fd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/migrations/zipball/61c6ef3a10b7df43c3b6388a184754f26e58700a", - "reference": "61c6ef3a10b7df43c3b6388a184754f26e58700a", + "url": "https://api.github.com/repos/doctrine/migrations/zipball/01f89a1082b6971ba53ba76f95741fc8ad4a5fd2", + "reference": "01f89a1082b6971ba53ba76f95741fc8ad4a5fd2", "shasum": "" }, "require": { "composer-runtime-api": "^2", - "doctrine/dbal": "^3.3", + "doctrine/dbal": "^3.5.1", "doctrine/deprecations": "^0.5.3 || ^1", "doctrine/event-manager": "^1.0", "friendsofphp/proxy-manager-lts": "^1.0", @@ -2525,10 +2525,9 @@ }, "require-dev": { "doctrine/coding-standard": "^9", - "doctrine/orm": "^2.12", + "doctrine/orm": "^2.13", "doctrine/persistence": "^2 || ^3", "doctrine/sql-formatter": "^1.0", - "ergebnis/composer-normalize": "^2.9", "ext-pdo_sqlite": "*", "phpstan/phpstan": "^1.5", "phpstan/phpstan-deprecation-rules": "^1", @@ -2548,12 +2547,6 @@ "bin/doctrine-migrations" ], "type": "library", - "extra": { - "composer-normalize": { - "indent-size": 4, - "indent-style": "space" - } - }, "autoload": { "psr-4": { "Doctrine\\Migrations\\": "lib/Doctrine/Migrations" @@ -2586,7 +2579,7 @@ ], "support": { "issues": "https://github.com/doctrine/migrations/issues", - "source": "https://github.com/doctrine/migrations/tree/3.5.2" + "source": "https://github.com/doctrine/migrations/tree/3.5.3" }, "funding": [ { @@ -2602,7 +2595,7 @@ "type": "tidelift" } ], - "time": "2022-08-04T14:29:49+00:00" + "time": "2023-01-11T07:13:35+00:00" }, { "name": "felixfbecker/advanced-json-rpc",