Scrutinizer

Hi, Vasily. I have checked PHPDamon code into https://scrutinizer-ci.com/
If you think that some of problems are useless, then i will remove that checking from config.
But some i think will very interesting for you. 

Result of analyse you can see here: 
https://scrutinizer-ci.com/g/nizsheanez/phpdaemon/inspections/f3d22d6c-4b20-4fb6-bb04-5ffa7eacbdc9/issues/?status=existing

I hope it will help you