From 9add8473da6c736b99ce9b4968120acd585359cc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 11 Dec 2022 00:54:54 +0000 Subject: [PATCH 1/2] Lock file maintenance Signed-off-by: Renovate Bot --- composer.lock | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/composer.lock b/composer.lock index b8e63bd..1720529 100644 --- a/composer.lock +++ b/composer.lock @@ -187,16 +187,16 @@ }, { "name": "laminas/laminas-eventmanager", - "version": "3.8.0", + "version": "3.9.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-eventmanager.git", - "reference": "51e73899f14026fdf2626569a7ff04ae93554b0b" + "reference": "74c091fb0da37744e7d215ef5bd3564c77f6385e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-eventmanager/zipball/51e73899f14026fdf2626569a7ff04ae93554b0b", - "reference": "51e73899f14026fdf2626569a7ff04ae93554b0b", + "url": "https://api.github.com/repos/laminas/laminas-eventmanager/zipball/74c091fb0da37744e7d215ef5bd3564c77f6385e", + "reference": "74c091fb0da37744e7d215ef5bd3564c77f6385e", "shasum": "" }, "require": { @@ -251,7 +251,7 @@ "type": "community_bridge" } ], - "time": "2022-12-03T06:30:11+00:00" + "time": "2022-12-10T16:36:52+00:00" }, { "name": "laminas/laminas-http", @@ -2300,16 +2300,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": { @@ -2345,9 +2345,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": "openlss/lib-array2xml", @@ -3042,16 +3042,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": { @@ -3124,7 +3124,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": [ { @@ -3140,7 +3140,7 @@ "type": "tidelift" } ], - "time": "2022-10-28T06:00:21+00:00" + "time": "2022-12-09T07:31:23+00:00" }, { "name": "psalm/plugin-phpunit", From 8e55de53f0497d6dbf17e227cc2c89421ce0fd86 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Thu, 15 Dec 2022 15:23:07 +0100 Subject: [PATCH 2/2] Applied template types from `laminas/laminas-eventmanager` as per lock file upgrades This provides some better type inference in `ProfilerEvent` consumers. --- psalm-baseline.xml | 4 ---- src/ProfilerEvent.php | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 9705dfb..aa7f6ae 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -778,10 +778,6 @@ $this->getParam('profiler') $this->getParam('report') - - ProfilerEvent - ProfilerEvent - diff --git a/src/ProfilerEvent.php b/src/ProfilerEvent.php index ce91685..938f061 100644 --- a/src/ProfilerEvent.php +++ b/src/ProfilerEvent.php @@ -7,6 +7,7 @@ use Laminas\EventManager\Event; use Laminas\Mvc\ApplicationInterface; +/** @template-extends Event */ class ProfilerEvent extends Event { /**