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

[Php85] Skip defined int or string on ArrayKeyExistsNullToEmptyStringRector

Open samsonasik opened this issue 1 month ago • 2 comments

Ref https://getrector.com/demo/5dee0eb0-aea7-4e62-88a4-90f54eae39de Fixes https://github.com/rectorphp/rector/issues/9560

array_key_exists allow both int or string key.

samsonasik avatar Dec 16 '25 22:12 samsonasik

Fixed 🎉 /cc @MaxencePaulin

samsonasik avatar Dec 16 '25 22:12 samsonasik

@TomasVotruba ready 👍

samsonasik avatar Dec 16 '25 23:12 samsonasik

@TomasVotruba mergeable?

samsonasik avatar Dec 24 '25 14:12 samsonasik

@TomasVotruba ready 👍

samsonasik avatar Dec 25 '25 08:12 samsonasik

Much better, thank you :+1:

TomasVotruba avatar Dec 25 '25 12:12 TomasVotruba