Vladimir Reznichenko
Vladimir Reznichenko
Sorry for this situation folks. I'm waiting this week to get access to all needed resources for getting things fixed and released.
Thank you for reporting @tacovandenbroek, I'll look into it.
@tacovandenbroek : unfortunately I was not able to reproduce the issue. Would you please share an isolated code fragment where the issue appears?
Looks like a new pattern for "Statement could be decoupled from foreach" inspection, I'll take care of implementing it!
Adde new settings, the properties mapping is disabled by default.
Re-opening in order to revisit solution from @SpyroTEQ
Hm, perhaps we should introduce a rule similar to Php Code Fixer's 'mb_str_functions': like here - https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/src/Fixer/Alias/MbStrFunctionsFixer.php, or it makes sense to target substring/strpos finctions only?
Not aware of other functions with similar issue, but this one I see from time to time. Will it be fine for you if we suggest using 'usleep' for this...
Great, then it'll be a new inspection 👍
Looks like QF to add the type-hint should be used instead of change signature suggestion. Hence bug.