Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix nullsafe
  • Loading branch information
staabm committed Jul 21, 2025
commit 24ff8fd4f2c420be3e6ef55d67af1e076132f70b
4 changes: 2 additions & 2 deletions src/Analyser/NodeScopeResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -2935,7 +2935,7 @@ static function (): void {
return new ExpressionResult(
$scope,
$exprResult->hasYield(),
$exprResult->isAlwaysTerminating(),
false,
$exprResult->getThrowPoints(),
$exprResult->getImpurePoints(),
static fn (): MutatingScope => $scope->filterByTruthyValue($expr),
Expand Down Expand Up @@ -3142,7 +3142,7 @@ static function (): void {
return new ExpressionResult(
$scope,
$exprResult->hasYield(),
$exprResult->isAlwaysTerminating(),
false,
$exprResult->getThrowPoints(),
$exprResult->getImpurePoints(),
static fn (): MutatingScope => $scope->filterByTruthyValue($expr),
Expand Down
3 changes: 0 additions & 3 deletions tests/PHPStan/Rules/Api/composer.json

This file was deleted.