As you know that PHP 7 had been launched. If you are using PHP5 version then you need to change small thing related to your solution.
deprecated means
Have you notice the depreciated word in your error -
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP
The means of deprecated that it will be removed in the future. So understand the PHP7 concepts,
In PHP 5, you never seen the function like.__construct()
.
Change the function like.__construct() . You need to use __construct().
Understand this and remove your QA BLOG post error.