Skip to content

Commit

Permalink
Add @deprecated annotations in addition to runtime deprecation notices
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude committed Jul 8, 2023
1 parent bb21865 commit f26946b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
5 changes: 4 additions & 1 deletion lib/Doctrine/ORM/Internal/CommitOrder/Edge.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

use Doctrine\Deprecations\Deprecation;

/** @internal */
/**
* @internal
* @deprecated
*/
final class Edge
{
/**
Expand Down
5 changes: 4 additions & 1 deletion lib/Doctrine/ORM/Internal/CommitOrder/Vertex.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
use Doctrine\Deprecations\Deprecation;
use Doctrine\ORM\Mapping\ClassMetadata;

/** @internal */
/**
* @internal
* @deprecated
*/
final class Vertex
{
/**
Expand Down
5 changes: 4 additions & 1 deletion lib/Doctrine/ORM/Internal/CommitOrder/VertexState.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

use Doctrine\Deprecations\Deprecation;

/** @internal */
/**
* @internal
* @deprecated
*/
final class VertexState
{
public const NOT_VISITED = 0;
Expand Down
2 changes: 2 additions & 0 deletions lib/Doctrine/ORM/Internal/CommitOrderCalculator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
* using a depth-first searching (DFS) to traverse the graph built in memory.
* This algorithm have a linear running time based on nodes (V) and dependency
* between the nodes (E), resulting in a computational complexity of O(V + E).
*
* @deprecated
*/
class CommitOrderCalculator
{
Expand Down

0 comments on commit f26946b

Please sign in to comment.