Skip to content

Commit 6a262bd

Browse files
committed
fix test + phpstan
1 parent 671dfd2 commit 6a262bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

phpstan.neon.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ rules:
5959
- Shopware\Core\DevOps\StaticAnalyze\PHPStan\Rules\Deprecation\DeprecatedMethodsThrowDeprecationRule
6060
- Shopware\Core\DevOps\StaticAnalyze\PHPStan\Rules\Tests\CoversAttributeRule
6161
- Shopware\Core\DevOps\StaticAnalyze\PHPStan\Rules\Tests\MockingSimpleObjectsNotAllowedRule
62-
- Shopware\Core\DevOps\StaticAnalyze\PHPStan\Rules\FinalClassRule
6362
- Shopware\Core\DevOps\StaticAnalyze\PHPStan\Rules\DecorationPatternRule
6463
- Shopware\Core\DevOps\StaticAnalyze\PHPStan\Rules\PackageAnnotationRule
6564
- Shopware\Core\DevOps\StaticAnalyze\PHPStan\Rules\DomainExceptionRule

tests/Migration/Services/RunServiceTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ public function testResumeMigration(): void
330330
$messageBus = $this->createMock(MessageBusInterface::class);
331331
$messageBus
332332
->expects(static::once())
333-
->method('dispatch');
333+
->method('dispatch')
334+
->willReturn(new Envelope(new \stdClass()));
334335

335336
$runTransitionService = $this->createMock(RunTransitionServiceInterface::class);
336337
$runTransitionService

0 commit comments

Comments
 (0)