Skip to content

Commit

Permalink
Merge pull request #11171 from greg0ire/extract-class
Browse files Browse the repository at this point in the history
Make Doctrine\Tests\ORM\Internal\Node autoloadable
  • Loading branch information
greg0ire committed Jan 18, 2024
2 parents a0ed379 + d98186e commit 8503469
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
16 changes: 16 additions & 0 deletions tests/Doctrine/Tests/ORM/Internal/Node.php
@@ -0,0 +1,16 @@
<?php

declare(strict_types=1);

namespace Doctrine\Tests\ORM\Internal;

class Node
{
/** @var string */
public $name;

public function __construct(string $name)
{
$this->name = $name;
}
}
11 changes: 0 additions & 11 deletions tests/Doctrine/Tests/ORM/Internal/TopologicalSortTest.php
Expand Up @@ -287,14 +287,3 @@ private function computeResult(): array
}, array_values($this->topologicalSort->sort()));
}
}

class Node
{
/** @var string */
public $name;

public function __construct(string $name)
{
$this->name = $name;
}
}

0 comments on commit 8503469

Please sign in to comment.