Skip to content

Commit dceb3bd

Browse files
xabbuhsebastianbergmann
authored andcommitted
fix typo in exception message
1 parent 249a078 commit dceb3bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/TextUI/Configuration/Xml/Migration/Migrator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function migrate(string $filename): string
3131
$origin = (new SchemaDetector)->detect($filename);
3232

3333
if (!$origin->detected()) {
34-
throw new Exception('The file does not validate against any know schema');
34+
throw new Exception('The file does not validate against any known schema');
3535
}
3636

3737
if ($origin->version() === Version::series()) {

tests/end-to-end/migration/unsupported-schema.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require_once __DIR__ . '/../../bootstrap.php';
1515
PHPUnit %s by Sebastian Bergmann and contributors.
1616

1717
Migration of %s failed:
18-
The file does not validate against any know schema
18+
The file does not validate against any known schema
1919
--CLEAN--
2020
<?php declare(strict_types=1);
2121
unlink(sys_get_temp_dir() . '/phpunit.xml');

0 commit comments

Comments
 (0)