Skip to content

Commit

Permalink
Remove TreeWalkerChainIterator (#9520)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Feb 16, 2022
1 parent dd4a38c commit 3a9cc3d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 186 deletions.
4 changes: 4 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Upgrade to 3.0

## BC BREAK: `Doctrine\ORM\Query\TreeWalkerChainIterator`

This class has been removed without replacement.

## BC BREAK: Remove quoting methods from `ClassMetadata`

The following methods have been removed from the class metadata because
Expand Down
165 changes: 0 additions & 165 deletions lib/Doctrine/ORM/Query/TreeWalkerChainIterator.php

This file was deleted.

5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -1255,11 +1255,6 @@ parameters:
count: 1
path: lib/Doctrine/ORM/Query/TreeWalkerChain.php

-
message: "#^Parameter \\#2 \\$value \\(string\\) of method Doctrine\\\\ORM\\\\Query\\\\TreeWalkerChainIterator\\:\\:offsetSet\\(\\) should be compatible with parameter \\$value \\(Doctrine\\\\ORM\\\\Query\\\\TreeWalker\\) of method ArrayAccess\\<int,Doctrine\\\\ORM\\\\Query\\\\TreeWalker\\>\\:\\:offsetSet\\(\\)$#"
count: 1
path: lib/Doctrine/ORM/Query/TreeWalkerChainIterator.php

-
message: "#^Parameter \\#2 \\$dqlPart of method Doctrine\\\\ORM\\\\QueryBuilder\\:\\:add\\(\\) expects array\\<'join'\\|int, array\\<int\\|string, object\\>\\|string\\>\\|object\\|string, non\\-empty\\-array\\<string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Join\\> given\\.$#"
count: 2
Expand Down
16 changes: 0 additions & 16 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2418,22 +2418,6 @@
<code>$condPrimary</code>
</ParamNameMismatch>
</file>
<file src="lib/Doctrine/ORM/Query/TreeWalkerChainIterator.php">
<ImplementedParamTypeMismatch occurrences="1">
<code>$value</code>
</ImplementedParamTypeMismatch>
<ImplementedReturnTypeMismatch occurrences="2">
<code>TreeWalker|null</code>
<code>class-string&lt;TreeWalker&gt;|false</code>
</ImplementedReturnTypeMismatch>
<PossiblyNullArrayOffset occurrences="1">
<code>$this-&gt;walkers</code>
</PossiblyNullArrayOffset>
<PropertyTypeCoercion occurrences="2">
<code>$this-&gt;walkers</code>
<code>$this-&gt;walkers</code>
</PropertyTypeCoercion>
</file>
<file src="lib/Doctrine/ORM/QueryBuilder.php">
<ArgumentTypeCoercion occurrences="2">
<code>[$rootAlias =&gt; $join]</code>
Expand Down

0 comments on commit 3a9cc3d

Please sign in to comment.