Skip to content

Commit

Permalink
PHP 8.2 > Removed properties from Doctrine_RawSql and used _preQuerie…
Browse files Browse the repository at this point in the history
…d in case of clear() and moved the property _pendingJoinConditions fom Doctrine_Query up to Doctrine_Query_Abstract in the hierarchy.
  • Loading branch information
thirsch committed Jan 10, 2023
1 parent 33bca65 commit 0241c0b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
5 changes: 0 additions & 5 deletions lib/Doctrine/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,6 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable
*/
protected $_parsers = array();

/**
* @var array $_pendingJoinConditions an array containing pending joins
*/
protected $_pendingJoinConditions = array();

/**
* @var array
*/
Expand Down
5 changes: 5 additions & 0 deletions lib/Doctrine/Query/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,11 @@ abstract class Doctrine_Query_Abstract
*/
protected $_preQueried = false;

/**
* @var array $_pendingJoinConditions an array containing pending joins
*/
protected $_pendingJoinConditions = array();

/**
* Fix for http://www.doctrine-project.org/jira/browse/DC-701
*
Expand Down
7 changes: 1 addition & 6 deletions lib/Doctrine/RawSql.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ class Doctrine_RawSql extends Doctrine_Query_Abstract
* @var array $fields
*/
private $fields = array();
/**
* @var false
*/
protected $_preQuery;
protected $_pendingJoinConditions;

/**
* Constructor.
Expand All @@ -64,7 +59,7 @@ function __construct(Doctrine_Connection $connection = null, Doctrine_Hydrator_A

protected function clear()
{
$this->_preQuery = false;
$this->_preQueried = false;
$this->_pendingJoinConditions = array();
}

Expand Down

0 comments on commit 0241c0b

Please sign in to comment.