phpstan-src icon indicating copy to clipboard operation
phpstan-src copied to clipboard

Mark Memcached:: methods as impure.

Open biozshock opened this issue 4 months ago • 3 comments

Fixes phpstan/phpstan#13444

biozshock avatar Sep 18 '25 09:09 biozshock

Might be better to wait for https://github.com/phpstan/phpstan-src/pull/4422 and use the same strategy

VincentLanglet avatar Oct 08 '25 19:10 VincentLanglet

Might be better to wait for #4422 and use the same strategy

Not all methods are impure, so that wouldn't work.

biozshock avatar Oct 09 '25 07:10 biozshock

@biozshock It might be still fewer lines of information to mark all as impure and the exclude a few with @phpstan-pure.

ondrejmirtes avatar Oct 09 '25 07:10 ondrejmirtes