We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf4d90 commit 76791baCopy full SHA for 76791ba
src/TextUI/XmlConfiguration/Migration/MigrationBuilder.php
@@ -9,8 +9,6 @@
9
*/
10
namespace PHPUnit\TextUI\XmlConfiguration;
11
12
-use function array_key_exists;
13
-use function sprintf;
14
use function version_compare;
15
16
/**
@@ -47,15 +45,6 @@ final class MigrationBuilder
47
45
48
46
public function build(string $fromVersion): array
49
{
50
- if (!array_key_exists($fromVersion, self::AVAILABLE_MIGRATIONS)) {
51
- throw new MigrationBuilderException(
52
- sprintf(
53
- 'Migration from schema version %s is not supported',
54
- $fromVersion,
55
- ),
56
- );
57
- }
58
-
59
$stack = [];
60
61
foreach (self::AVAILABLE_MIGRATIONS as $version => $migrations) {
0 commit comments