Skip to content

Commit

Permalink
ScriptTester has a deprecated constructor
Browse files Browse the repository at this point in the history
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ScriptTester has a deprecated constructor
  • Loading branch information
sathieu authored and mrubinsk committed Mar 21, 2016
1 parent 7361c03 commit e46ae19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingo/test/Ingo/Unit/ScriptTest.php
Expand Up @@ -97,7 +97,7 @@ class ScriptTester {
var $test;
var $rules = array();

function ScriptTester($test)
function __construct($test)
{
$this->test = $test;
}
Expand Down

0 comments on commit e46ae19

Please sign in to comment.