Skip to content

Commit

Permalink
Bump the phpstan group with 5 updates (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Jun 6, 2024
1 parent af32bf4 commit 4eb1b5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
},
"require-dev": {
"nette/tester": "2.5.2",
"phpstan/phpstan": "1.10.67",
"phpstan/phpstan-strict-rules": "1.5.5",
"phpstan/phpstan-nette": "1.2.9",
"phpstan/phpstan": "1.11.3",
"phpstan/phpstan-strict-rules": "1.6.0",
"phpstan/phpstan-nette": "1.3.0",
"nepada/phpstan-nette-tester": "1.2.0",
"spaze/phpstan-disallowed-calls": "3.2.0",
"shipmonk/phpstan-rules": "2.12.0",
"spaze/phpstan-disallowed-calls": "3.4.0",
"shipmonk/phpstan-rules": "3.0.0",
"php-parallel-lint/php-parallel-lint": "1.4.0",
"nepada/coding-standard": "7.14.0",
"nepada/message-bus-doctrine": "^2.1@dev",
Expand Down
2 changes: 1 addition & 1 deletion src/MessageBusNette/DI/MessageBusExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ protected function findAndValidateMessageHandlers(MessageHandlerValidator $messa

$serviceNamesByMessageType = [];
foreach ($containerBuilder->findByType($handlerType) as $serviceName => $serviceDefinition) {
/** @var class-string<EventSubscriber|CommandHandler>|null $handlerTypeString allow-narrowing */
/** @var class-string<EventSubscriber|CommandHandler>|null $handlerTypeString */
$handlerTypeString = $serviceDefinition->getType();
if ($handlerTypeString === null) {
throw new \LogicException('Type of handler service type must be defined in this context.');
Expand Down
2 changes: 0 additions & 2 deletions tests/PHPStan/shipmonk.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ parameters:
shipmonkRules:
allowComparingOnlyComparableTypes:
enabled: false
allowNamedArgumentOnlyInAttributes:
enabled: false
classSuffixNaming:
superclassToSuffixMapping:
\Throwable: Exception
Expand Down

0 comments on commit 4eb1b5d

Please sign in to comment.