Skip to content

Commit 03f2ced

Browse files
golorodendependabot[bot]claude
authored
chore: Upgrade rector to 2.3.6 and replace createMock with createStub (#86)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 47c426d commit 03f2ced

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"require-dev": {
3434
"phpstan/phpstan": "2.1.38",
3535
"phpunit/phpunit": "11.5.50",
36-
"rector/rector": "2.3.5",
36+
"rector/rector": "2.3.6",
3737
"symplify/easy-coding-standard": "13.0.4"
3838
},
3939
"scripts": {

composer.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/Stream/CurlMultiHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function testGetWriteQueueThrowsWithoutQueue(): void
6060

6161
public function testAddHandleSetsQueuesAndHandle(): void
6262
{
63-
$request = $this->createMock(Request::class);
63+
$request = $this->createStub(Request::class);
6464

6565
$curlMultiHandler = new CurlMultiHandler();
6666
$curlMultiHandler->addHandle($request);

tests/Stream/ResponseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testConstructWithInvalidStatusCodeThrowsException(): void
2929

3030
public function testGetStreamReturnsProvidedStream(): void
3131
{
32-
$stream = $this->createMock(Stream::class);
32+
$stream = $this->createStub(Stream::class);
3333
$response = new Response(200, [], $stream);
3434

3535
$this->assertSame($stream, $response->getStream());

0 commit comments

Comments
 (0)