Skip to content

Commit

Permalink
Static tools updated
Browse files Browse the repository at this point in the history
  • Loading branch information
remorhaz committed May 23, 2023
1 parent 5eec035 commit 41bb213
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"psalm/plugin-phpunit": "^0.18.4",
"remorhaz/php-json-data": "^0.5.3",
"remorhaz/php-json-path": "^0.7.7",
"squizlabs/php_codesniffer": "^3.7.1",
"vimeo/psalm": "^5.2"
"squizlabs/php_codesniffer": "^3.7.2",
"vimeo/psalm": "^5.12"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 4 additions & 0 deletions src/Internal/TestLifecycle.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,10 @@ public function stopStep(): self
{
$stepStart = $this->getCurrentStepStart();
$this->lifecycle->stopStep($stepStart->getUuid());
/**
* @psalm-var Step $step
* @psalm-var StepStartInfo $storedStart
*/
foreach ($this->stepStarts as $step => $storedStart) {
if ($storedStart === $stepStart) {
unset($this->stepStarts[$step]);
Expand Down

0 comments on commit 41bb213

Please sign in to comment.