diff --git a/src/Configuration/ParseJsonConfigurationFile.php b/src/Configuration/ParseJsonConfigurationFile.php deleted file mode 100644 index 371cb164..00000000 --- a/src/Configuration/ParseJsonConfigurationFile.php +++ /dev/null @@ -1,48 +0,0 @@ - Type\optional(Type\vec(Type\string()))], - ), - ); - } catch (Json\Exception\DecodeException $exception) { - throw new RuntimeException( - 'It was not possible to parse the configuration', - previous: $exception, - ); - } - - $baseline = $configuration['baseline'] ?? []; - - return Configuration::fromFile( - Baseline::fromList(...$baseline), - $filename, - ); - } -}