diff --git a/composer.json b/composer.json index d717c4f..7e9ac09 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.3", + "symplify/easy-coding-standard": "13.3.11" }, "scripts": { "analyze": [ diff --git a/composer.lock b/composer.lock index 5f7d388..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": "e850ef03333e0e2950266bab51830974", + "content-hash": "a8f7d31dbf73bcb8bdd207164c48eef0", "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.3", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "4d6a39b7fff302cac0ce90cd959a53c2f6a32776" + "reference": "12ddb68d34acb91bcf3d00302bf1c7c1b5840bd6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/4d6a39b7fff302cac0ce90cd959a53c2f6a32776", - "reference": "4d6a39b7fff302cac0ce90cd959a53c2f6a32776", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/12ddb68d34acb91bcf3d00302bf1c7c1b5840bd6", + "reference": "12ddb68d34acb91bcf3d00302bf1c7c1b5840bd6", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "phpstan/phpstan": "^2.3.0" + "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.7.0" + "source": "https://github.com/rectorphp/rector/tree/2.8.3" }, "funding": [ { @@ -3193,7 +3193,7 @@ "type": "github" } ], - "time": "2026-10-06T08:46:45+00:00" + "time": "2026-10-29T05:51:41+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", 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();