08fda2cdfd
refactor(StorageService): change remove methods to return bool
2026-11-03 15:53:07 +01:00
b56f43b5c8
refactor(SanitizedFile): remove unused Utils methods
...
Cleaned up the SanitizedFile class by removing unused validation logic related to file extensions and MIME types.
2026-11-03 15:49:14 +01:00
f6f99fdedf
feat(StorageFilePath): implement Stringable interface
...
Add __toString method to StorageFilePath for string representation.
2026-11-03 15:49:10 +01:00
8a54f09dae
style(PathGenerators): format code for consistency
2026-11-03 15:49:02 +01:00
c881e9abb8
refactor(Utils, DiskName): improve disk handling with enum support
...
Updated diskExists and DiskName constructor to handle
BackedEnum and UnitEnum types for better type safety.
2026-11-03 15:48:55 +01:00
b6b5066bc2
feat(FileSanitizerImpl): add mimeType and size to SanitizedFile
...
Enhance the SanitizedFile creation by including mimeType and file size.
2026-11-03 15:48:39 +01:00
d4c4d5b22a
refactor(Exceptions): format exception classes for consistency
...
Improves code readability by ensuring consistent formatting in exception classes.
2026-11-03 15:48:30 +01:00
cf9ca6bd5c
chore: update PHP CodeSniffer and add Pint configuration
...
- Updated phpcs.xml to use Php Coding Standard and optimized rules.
- Added pint.json for code style configuration.
- Adjusted phpstan.neon to include tests directory and set level to 10.
2026-11-03 15:38:09 +01:00
8225142fa7
feat(Facades): add StorageService facade with methods for file operations
...
Introduces a new StorageService facade to provide a simplified interface for file operations.
2026-11-03 15:36:45 +01:00
6840fc90b9
refactor(StorageGatewayImpl): specify return type for getStorageForDisk
...
Clarifies the return type of the getStorageForDisk method.
2026-11-03 15:34:07 +01:00
1234c46f8f
chore: remove FileStorageHelper class
...
This class is no longer needed as its functionality has been refactored or replaced.
2026-11-03 15:33:26 +01:00
88ae440bc7
refactor(DiskName): implement Stringable interface
...
Added __toString method to DiskName class for better string representation.
2026-11-03 15:32:48 +01:00
32b3953a31
intial work
2026-11-03 15:29:18 +01:00