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

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