mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/10714
State: closed
Merged: No
CommitOrderCalculatormay return duplicate entries when visiting complex trees as dependencies nodes can be visited and added to the sorted list while visiting other nodes as reported by https://github.com/doctrine/orm/issues/10713 (this PR solves it)The issue comes from line 142 where adjacent dependencies are visited: a given
$adjacentVertexstate can change toVISITEDand this is not checked before adding it to the sorted node list.