[*] Project: Deprecated functions replaced, PHPDoc's improved, redundant code removed

My contributions to improve PrestaShop's code quality, remove some warnings (like for deprecated code), as also solve some IDE warnings/issues for developers and tools.