From 2af09f844f8d11bc3c833a250ff1d07658809ea6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Nov 2026 01:04:06 +0000 Subject: [PATCH 1/2] chore: Bump the composer-development group with 3 updates Bumps the composer-development group with 3 updates: [phpstan/phpstan](https://github.com/phpstan/phpstan-phar-composer-source), [rector/rector](https://github.com/rectorphp/rector) and [symplify/easy-coding-standard](https://github.com/ecsphp/ecs). Updates `phpstan/phpstan` from 2.3.1 to 2.3.4 - [Commits](https://github.com/phpstan/phpstan-phar-composer-source/commits) Updates `rector/rector` from 2.7.0 to 2.8.2 - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/2.7.0...2.8.2) Updates `symplify/easy-coding-standard` from 13.3.8 to 13.3.11 - [Release notes](https://github.com/ecsphp/ecs/releases) - [Commits](https://github.com/ecsphp/ecs/compare/13.3.8...13.3.11) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-version: 2.3.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: composer-development - dependency-name: rector/rector dependency-version: 2.8.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: composer-development - dependency-name: symplify/easy-coding-standard dependency-version: 13.3.11 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: composer-development ... Signed-off-by: dependabot[bot] --- composer.json | 6 +++--- composer.lock | 36 ++++++++++++++++++------------------ 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/composer.json b/composer.json index d717c4f..e8b5cb0 100644 --- a/composer.json +++ b/composer.json @@ -31,10 +31,10 @@ "testcontainers/testcontainers": "^1.1.0" }, "require-dev": { - "phpstan/phpstan": "2.3.1", + "phpstan/phpstan": "2.3.4", "phpunit/phpunit": "11.5.50", - "rector/rector": "2.7.0", - "symplify/easy-coding-standard": "13.3.8" + "rector/rector": "2.8.2", + "symplify/easy-coding-standard": "13.3.11" }, "scripts": { "analyze": [ diff --git a/composer.lock b/composer.lock index 5f7d388..e28682a 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": "e850ef03333e0e2950266bab51830974", + "content-hash": "1ebd693b993dced849527102d9de4937", "packages": [ { "name": "beluga-php/docker-php", @@ -2620,11 +2620,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.3.1", + "version": "2.3.4", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/6155239b488e95d26d1ebd95c6b4bb294d7f09db", - "reference": "6155239b488e95d26d1ebd95c6b4bb294d7f09db", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f20ce6f3c82556cfcfc086b152445a12d1d64fff", + "reference": "f20ce6f3c82556cfcfc086b152445a12d1d64fff", "shasum": "" }, "require": { @@ -2680,7 +2680,7 @@ "type": "github" } ], - "time": "2026-10-08T21:09:11+00:00" + "time": "2026-10-28T22:38:53+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3140,21 +3140,21 @@ }, { "name": "rector/rector", - "version": "2.7.0", + "version": "2.8.2", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "4d6a39b7fff302cac0ce90cd959a53c2f6a32776" + "reference": "03a365d439624872239f22911893c960cc45a6e3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/4d6a39b7fff302cac0ce90cd959a53c2f6a32776", - "reference": "4d6a39b7fff302cac0ce90cd959a53c2f6a32776", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/03a365d439624872239f22911893c960cc45a6e3", + "reference": "03a365d439624872239f22911893c960cc45a6e3", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "phpstan/phpstan": "^2.3.0" + "phpstan/phpstan": "^2.3.3" }, "conflict": { "rector/rector-doctrine": "*", @@ -3185,7 +3185,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/2.7.0" + "source": "https://github.com/rectorphp/rector/tree/2.8.2" }, "funding": [ { @@ -3193,7 +3193,7 @@ "type": "github" } ], - "time": "2026-10-06T08:46:45+00:00" + "time": "2026-10-28T15:59:43+00:00" }, { "name": "sebastian/cli-parser", @@ -4235,16 +4235,16 @@ }, { "name": "symplify/easy-coding-standard", - "version": "13.3.8", + "version": "13.3.11", "source": { "type": "git", "url": "https://github.com/ecsphp/ecs.git", - "reference": "0564c0b9b807f1740bf0f2cc965ab51551f4dc3b" + "reference": "3e1b33d0f8900ce8df7dfde518e832dc0b188462" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ecsphp/ecs/zipball/0564c0b9b807f1740bf0f2cc965ab51551f4dc3b", - "reference": "0564c0b9b807f1740bf0f2cc965ab51551f4dc3b", + "url": "https://api.github.com/repos/ecsphp/ecs/zipball/3e1b33d0f8900ce8df7dfde518e832dc0b188462", + "reference": "3e1b33d0f8900ce8df7dfde518e832dc0b188462", "shasum": "" }, "require": { @@ -4277,9 +4277,9 @@ ], "support": { "issues": "https://github.com/ecsphp/ecs/issues", - "source": "https://github.com/ecsphp/ecs/tree/13.3.8" + "source": "https://github.com/ecsphp/ecs/tree/13.3.11" }, - "time": "2026-10-20T21:02:34+00:00" + "time": "2026-10-26T13:16:42+00:00" }, { "name": "theseer/tokenizer", From 7441b99c616b9cd64d5db2a70e90e1d3e4223a5d Mon Sep 17 00:00:00 2001 From: Golo Roden Date: Sun, 8 Nov 2026 11:10:09 +0100 Subject: [PATCH 2/2] chore: Move Rector to 2.8.3 and add the blank lines its new rule asks for Rector 2.8.2 crashes with PHPStan 2.3.4, and 2.8.3 is the release that is built for it. NewlineBeforeNewAssignSetRector, new in Rector 2.8, asks for seven blank lines in a test. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01FzFciAGWtYpuJF29txUzo2 --- composer.json | 2 +- composer.lock | 16 ++++++++-------- tests/CloudEventSignatureTest.php | 7 +++++++ 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index e8b5cb0..7e9ac09 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "require-dev": { "phpstan/phpstan": "2.3.4", "phpunit/phpunit": "11.5.50", - "rector/rector": "2.8.2", + "rector/rector": "2.8.3", "symplify/easy-coding-standard": "13.3.11" }, "scripts": { diff --git a/composer.lock b/composer.lock index e28682a..705d89b 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": "1ebd693b993dced849527102d9de4937", + "content-hash": "a8f7d31dbf73bcb8bdd207164c48eef0", "packages": [ { "name": "beluga-php/docker-php", @@ -3140,21 +3140,21 @@ }, { "name": "rector/rector", - "version": "2.8.2", + "version": "2.8.3", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "03a365d439624872239f22911893c960cc45a6e3" + "reference": "12ddb68d34acb91bcf3d00302bf1c7c1b5840bd6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/03a365d439624872239f22911893c960cc45a6e3", - "reference": "03a365d439624872239f22911893c960cc45a6e3", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/12ddb68d34acb91bcf3d00302bf1c7c1b5840bd6", + "reference": "12ddb68d34acb91bcf3d00302bf1c7c1b5840bd6", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "phpstan/phpstan": "^2.3.3" + "phpstan/phpstan": "^2.3.4" }, "conflict": { "rector/rector-doctrine": "*", @@ -3185,7 +3185,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/2.8.2" + "source": "https://github.com/rectorphp/rector/tree/2.8.3" }, "funding": [ { @@ -3193,7 +3193,7 @@ "type": "github" } ], - "time": "2026-10-28T15:59:43+00:00" + "time": "2026-10-29T05:51:41+00:00" }, { "name": "sebastian/cli-parser", diff --git a/tests/CloudEventSignatureTest.php b/tests/CloudEventSignatureTest.php index 92d67cf..00c76b0 100755 --- a/tests/CloudEventSignatureTest.php +++ b/tests/CloudEventSignatureTest.php @@ -36,6 +36,7 @@ public function testThrowsAnErrorIfVerificationKeyIsEmpty(): void ->withImageTag($imageTag) ->withSigningKey(); $container->start(); + $this->container = $container; $client = $container->getClient(); @@ -67,6 +68,7 @@ public function testThrowsAnErrorIfSignatureHasInvalidLength(): void ->withImageTag($imageTag) ->withSigningKey(); $container->start(); + $this->container = $container; $client = $container->getClient(); @@ -117,6 +119,7 @@ public function testThrowsAnErrorIfTheSignatureIsNull(): void $container = (new Container()) ->withImageTag($imageTag); $container->start(); + $this->container = $container; $client = $container->getClient(); @@ -155,6 +158,7 @@ public function testThrowsAnErrorIfTheHashVerificationFails(): void ->withImageTag($imageTag) ->withSigningKey(); $container->start(); + $this->container = $container; $client = $container->getClient(); @@ -210,6 +214,7 @@ public function testThrowsAnErrorIfTheSignatureVerificationFails(): void ->withImageTag($imageTag) ->withSigningKey(); $container->start(); + $this->container = $container; $client = $container->getClient(); @@ -265,6 +270,7 @@ public function testVerifiesTheSignature(): void ->withImageTag($imageTag) ->withSigningKey(); $container->start(); + $this->container = $container; $client = $container->getClient(); @@ -304,6 +310,7 @@ public function testVerifiesTheSignatureOfEventsAsTheyAreWrittenAndRead(): void ->withImageTag($imageTag) ->withSigningKey(); $container->start(); + $this->container = $container; $client = $container->getClient();