From 338e80b295271d0651416450e69e22c366578a95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Tue, 5 Dec 2023 09:56:06 +0100 Subject: [PATCH] feat: Remove final and `@private` tag Those classes should be extendable. Closes #4. --- src/FS.php | 4 +--- src/FileSystem.php | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/FS.php b/src/FS.php index 8ebdc5c..710e1ef 100644 --- a/src/FS.php +++ b/src/FS.php @@ -56,10 +56,8 @@ * @author Fabien Potencier * @author Bernhard Schussek * @author Thomas Schulz - * - * @private */ -final class FS +class FS { private static FileSystem $filesystem; diff --git a/src/FileSystem.php b/src/FileSystem.php index 552ce96..58b058e 100644 --- a/src/FileSystem.php +++ b/src/FileSystem.php @@ -59,7 +59,7 @@ use function sys_get_temp_dir; use const DIRECTORY_SEPARATOR; -final class FileSystem extends SymfonyFilesystem +class FileSystem extends SymfonyFilesystem { /** * Returns whether a path is relative.