Skip to content

Commit

Permalink
Merge pull request #112 from sj-i/renovate/vimeo-psalm-4.x
Browse files Browse the repository at this point in the history
Update dependency vimeo/psalm to v4.11.1
  • Loading branch information
sj-i committed Oct 25, 2021
2 parents e658b9f + c3a6594 commit deac2d6
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 28 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -34,7 +34,7 @@
"require-dev": {
"ext-posix": "*",
"phpunit/phpunit": "9.5.10",
"vimeo/psalm": "4.10.0",
"vimeo/psalm": "4.11.1",
"squizlabs/php_codesniffer": "3.6.1",
"mockery/mockery": "1.4.4",
"psalm/plugin-mockery": "0.9.0",
Expand Down
55 changes: 28 additions & 27 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/Lib/Log/StateCollector/CallerStateCollector.php
Expand Up @@ -38,6 +38,7 @@ public function collect(): array
$result = [];
if ($last_logger_frame) {
assert(isset($last_logger_frame['file']));
/** @psalm-suppress RedundantCondition */
assert(isset($last_logger_frame['line']));
$result['context'] = [
'file' => $last_logger_frame['file'],
Expand Down
1 change: 1 addition & 0 deletions src/Lib/Loop/LoopMiddleware/RetryOnExceptionMiddleware.php
Expand Up @@ -39,6 +39,7 @@ public function invoke(): bool
return $result;
} catch (\Throwable $e) {
foreach ($this->exception_names as $exception_name) {
/** @psalm-suppress DocblockTypeContradiction */
if (is_a($e, $exception_name)) {
$this->current_retry_count++;
continue 2;
Expand Down

0 comments on commit deac2d6

Please sign in to comment.