Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 7.2 deprecation fixes #216

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/php/updatesearchindexsolr.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class ezfUpdateSearchIndexSolr
* @param eZCLI $cli
* @param string $executedScript
*/
function ezfUpdateSearchIndexSolr( eZScript $script, eZCLI $cli, $executedScript )
function __construct( eZScript $script, eZCLI $cli, $executedScript )
{
$this->Script = $script;
$this->CLI = $cli;
Expand Down
2 changes: 1 addition & 1 deletion classes/ezfezpsolrquerybuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ezfeZPSolrQueryBuilder
* @param Object $searchPluginInstance Search engine instance. Allows the query builder to
* communicate with the caller ( eZSolr instance ).
*/
function ezfeZPSolrQueryBuilder( $searchPluginInstance )
function __construct( $searchPluginInstance )
{
$this->searchPluginInstance = $searchPluginInstance;
}
Expand Down
2 changes: 1 addition & 1 deletion classes/ezfindresultnode.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class eZFindResultNode extends eZContentObjectTreeNode
/*!
\reimp
*/
function eZFindResultNode( $rows = array() )
function __construct( $rows = array() )
{
parent::__construct( $rows );
if ( isset( $rows['id'] ) )
Expand Down
2 changes: 1 addition & 1 deletion classes/ezfindresultobject.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class eZFindResultObject extends eZContentObject
/*!
\reimp
*/
function eZFindResultObject( $rows = array() )
function __construct( $rows = array() )
{
$this->LocalAttributeValueList = array();
$this->LocalAttributeNameList = array( 'published' );
Expand Down
2 changes: 1 addition & 1 deletion classes/ezfmodulefunctioncollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ezfModuleFunctionCollection
/**
* Constructor
*/
function ezfModuleFunctionCollection()
function __construct()
{
}

Expand Down
2 changes: 1 addition & 1 deletion classes/ezfsearchresultinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ezfSearchResultInfo
* 'Engine' => 'engine name',
* ... )
*/
function ezfSearchResultInfo( array $resultArray )
function __construct( array $resultArray )
{
$this->ResultArray = $resultArray;
}
Expand Down