Skip to content

Commit

Permalink
Workaround phpstan considering print_r to be impure
Browse files Browse the repository at this point in the history
  • Loading branch information
colinodell committed May 20, 2024
1 parent 32ffff3 commit 662ce8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Exception/InvalidConfigurationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ private static function getDebugValue($value): string
return \get_class($value);
}

// @phpstan-ignore possiblyImpure.functionCall
return \print_r($value, true);
}
}

0 comments on commit 662ce8d

Please sign in to comment.