Skip to content

Commit

Permalink
Add support for phpstan-pure
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed May 15, 2024
1 parent 0294324 commit a926499
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@ public static function parse(

$info->variadic = isset($parsed_docblock->tags['psalm-variadic']);
$info->pure = isset($parsed_docblock->tags['psalm-pure'])
|| isset($parsed_docblock->tags['phpstan-pure'])
|| isset($parsed_docblock->tags['pure']);

if (isset($parsed_docblock->tags['psalm-mutation-free'])) {
Expand Down

0 comments on commit a926499

Please sign in to comment.