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

Remove TreeWalkerChainIterator #9520

Merged
merged 1 commit into from
Feb 16, 2022
Merged
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
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