From 05e38eadbeb3de19e5b26003c2b401e00bb71df4 Mon Sep 17 00:00:00 2001 From: polo Date: Sun, 18 Oct 2026 00:08:23 +0200 Subject: =?UTF-8?q?sortie=20de=20vendor=20du=20d=C3=A9p=C3=B4t,=20oubli=20?= =?UTF-8?q?dans=20config-template.ini?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/Persistence/Mapping/MappingException.php | 88 ---------------------- 1 file changed, 88 deletions(-) delete mode 100644 vendor/doctrine/persistence/src/Persistence/Mapping/MappingException.php (limited to 'vendor/doctrine/persistence/src/Persistence/Mapping/MappingException.php') diff --git a/vendor/doctrine/persistence/src/Persistence/Mapping/MappingException.php b/vendor/doctrine/persistence/src/Persistence/Mapping/MappingException.php deleted file mode 100644 index f0bc4eb..0000000 --- a/vendor/doctrine/persistence/src/Persistence/Mapping/MappingException.php +++ /dev/null @@ -1,88 +0,0 @@ - $namespaces - * - * @return self - */ - public static function classNotFoundInNamespaces( - string $className, - array $namespaces - ) { - return new self(sprintf( - "The class '%s' was not found in the chain configured namespaces %s", - $className, - implode(', ', $namespaces) - )); - } - - /** @param class-string $driverClassName */ - public static function pathRequiredForDriver(string $driverClassName): self - { - return new self(sprintf( - 'Specifying the paths to your entities is required when using %s to retrieve all class names.', - $driverClassName - )); - } - - /** @return self */ - public static function fileMappingDriversRequireConfiguredDirectoryPath( - ?string $path = null - ) { - if ($path !== null) { - $path = '[' . $path . ']'; - } - - return new self(sprintf( - 'File mapping drivers must have a valid directory path, ' . - 'however the given path %s seems to be incorrect!', - (string) $path - )); - } - - /** @return self */ - public static function mappingFileNotFound(string $entityName, string $fileName) - { - return new self(sprintf( - "No mapping file found named '%s' for class '%s'.", - $fileName, - $entityName - )); - } - - /** @return self */ - public static function invalidMappingFile(string $entityName, string $fileName) - { - return new self(sprintf( - "Invalid mapping file '%s' for class '%s'.", - $fileName, - $entityName - )); - } - - /** @return self */ - public static function nonExistingClass(string $className) - { - return new self(sprintf("Class '%s' does not exist", $className)); - } - - /** @param class-string $className */ - public static function classIsAnonymous(string $className): self - { - return new self(sprintf('Class "%s" is anonymous', $className)); - } -} -- cgit v1.2.3