From 181afb726e9429fa4db15f438664b37b1bae3733 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Jan 2022 21:20:01 +0000 Subject: [PATCH 1/4] Bump laminas/laminas-view from 2.18.0 to 2.19.0 Bumps [laminas/laminas-view](https://github.com/laminas/laminas-view) from 2.18.0 to 2.19.0. - [Release notes](https://github.com/laminas/laminas-view/releases) - [Changelog](https://github.com/laminas/laminas-view/blob/3.0.x/CHANGELOG.md) - [Commits](https://github.com/laminas/laminas-view/compare/2.18.0...2.19.0) --- updated-dependencies: - dependency-name: laminas/laminas-view dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 0893240..92cd792 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "laminas/laminas-servicemanager": "^3.10.0", "laminas/laminas-mvc": "^3.3.0", "laminas/laminas-modulemanager": "^2.10.2", - "laminas/laminas-view": "^2.18.0", + "laminas/laminas-view": "^2.19.0", "laminas/laminas-cache": "^2.13.2" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 8d73a27..4fbe1c2 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": "8103a5bcc402472805cab13a9a9a4d25", + "content-hash": "d273768614a1c6c150620ca38719c488", "packages": [ { "name": "brick/varexporter", @@ -2021,16 +2021,16 @@ }, { "name": "laminas/laminas-view", - "version": "2.18.0", + "version": "2.19.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-view.git", - "reference": "196589217721163f950f8c5d6ae5a25337e78216" + "reference": "8ffe5d28aea1b1b071ac55d93b5399847ee1a26d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-view/zipball/196589217721163f950f8c5d6ae5a25337e78216", - "reference": "196589217721163f950f8c5d6ae5a25337e78216", + "url": "https://api.github.com/repos/laminas/laminas-view/zipball/8ffe5d28aea1b1b071ac55d93b5399847ee1a26d", + "reference": "8ffe5d28aea1b1b071ac55d93b5399847ee1a26d", "shasum": "" }, "require": { @@ -2058,7 +2058,7 @@ "laminas/laminas-http": "^2.15", "laminas/laminas-i18n": "^2.6", "laminas/laminas-modulemanager": "^2.7.1", - "laminas/laminas-mvc": "^2.7.14 || ^3.0", + "laminas/laminas-mvc": "^3.0", "laminas/laminas-mvc-i18n": "^1.1", "laminas/laminas-mvc-plugin-flashmessenger": "^1.5.0", "laminas/laminas-navigation": "^2.13.1", @@ -2121,7 +2121,7 @@ "type": "community_bridge" } ], - "time": "2022-01-09T21:12:26+00:00" + "time": "2022-01-11T12:07:03+00:00" }, { "name": "laminas/laminas-zendframework-bridge", From 2d82da4ee148e0abf60cdce7483062005546f34f Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Wed, 12 Jan 2022 10:21:28 +0100 Subject: [PATCH 2/4] Removed redundant runtime type check: the resolver already gives us `list` --- src/OcraCachedViewResolver/Compiler/TemplateMapCompiler.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/OcraCachedViewResolver/Compiler/TemplateMapCompiler.php b/src/OcraCachedViewResolver/Compiler/TemplateMapCompiler.php index 3a992c0..3b81a1f 100644 --- a/src/OcraCachedViewResolver/Compiler/TemplateMapCompiler.php +++ b/src/OcraCachedViewResolver/Compiler/TemplateMapCompiler.php @@ -81,7 +81,6 @@ protected function compileFromTemplatePathStack(TemplatePathStack $resolver): ar $map = []; foreach ($resolver->getPaths()->toArray() as $path) { - assert(is_string($path)); $path = realpath($path); /** @var iterable $iterator */ $iterator = new RecursiveIteratorIterator( From 0d40ed76bf458895feffce7d450ee8bdaec1110f Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Wed, 12 Jan 2022 10:21:46 +0100 Subject: [PATCH 3/4] Removed unused import --- src/OcraCachedViewResolver/Compiler/TemplateMapCompiler.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/OcraCachedViewResolver/Compiler/TemplateMapCompiler.php b/src/OcraCachedViewResolver/Compiler/TemplateMapCompiler.php index 3b81a1f..cf07f43 100644 --- a/src/OcraCachedViewResolver/Compiler/TemplateMapCompiler.php +++ b/src/OcraCachedViewResolver/Compiler/TemplateMapCompiler.php @@ -16,7 +16,6 @@ use SplFileInfo; use function assert; -use function is_string; use function pathinfo; use function realpath; use function str_replace; From d53ec9991bc9a93f7d18476668cfaef76eb94ef3 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Wed, 12 Jan 2022 10:23:42 +0100 Subject: [PATCH 4/4] Add `STRYKER_DASHBOARD_API_KEY` environment variable to CI container, for mutation testing reporting --- .github/workflows/continuous-integration.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index d81849d..83dd535 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -30,5 +30,6 @@ jobs: uses: laminas/laminas-continuous-integration-action@1.14.3 env: "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} + "STRYKER_DASHBOARD_API_KEY": ${{ secrets.STRYKER_DASHBOARD_API_KEY }} with: job: ${{ matrix.job }}