Skip to content

Conversation

antonioeatgoat
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)

What kind of change does this PR introduce?
Fixes PSALM alert RiskyTruthyFalsyComparison.

Other information:
FILE: Inpsyde/Helpers/FunctionDocBlock.php

Operand of type list<string>|null contains type list<string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead.

@antonioeatgoat antonioeatgoat marked this pull request as draft June 28, 2024 16:12
@antonioeatgoat antonioeatgoat marked this pull request as ready for review July 1, 2024 08:31
@antonioeatgoat antonioeatgoat requested a review from tfrommen July 1, 2024 08:31
@antonioeatgoat antonioeatgoat merged commit 3ca8344 into version/2 Jul 3, 2024
@antonioeatgoat antonioeatgoat deleted the fix-risky-truthy-comparison branch July 3, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants