Scrutinizer Auto-Fixes

It consists of patches automatically generated for this project on Scrutinizer:
https://scrutinizer-ci.com/g/opensource-socialnetwork/opensource-socialnetwork/