A matter of taste, of course. As for me, I try to write code without warnings (PhpStorm, for example, has a lot of code inspections).