PhpStorm 2017.1.3 How to set warning for IF( $a = 0) ?
Answered
Hello,
How can I set in the config of PhpStorm 2017.1.3 for the warning of this dangerous code example: if( $a = 0) { //..}
It was set in the old version and now after the update no longer ...
Thank you for help!
Please sign in to leave a comment.
Hi there,
Well ... "Settings/Preferences | Editor | Inspections" -- use search field and look for "assignment" rules
The one you are after most likely would be "PHP | Probable bugs | Assignment in condition"
It works! Thank you!