artgris / FileManagerBundle

FileManager is a simple Multilingual File Manager Bundle for Symfony
MIT License
171 stars 89 forks source link

Symfony 6.3 #126

Closed pfpro closed 10 months ago

pfpro commented 11 months ago

Hi there,

i try to upgrade from symfony 6.2 to 6.3 and get the following log:

Method "Symfony\Component\DependencyInjection\Extension\ExtensionInterface::load()" might add "void" as a native return type declaration in the future. Do the same in implementation "Artgris\Bundle\FileManagerBundle\DependencyInjection\ArtgrisFileManagerExtension" now to avoid errors or add an explicit @return annotation to suppress this message.

Any chance you can fix this?

Best regards

john-dufrene-dev commented 11 months ago

@pfpro I create a pull request to fix this issue : https://github.com/artgris/FileManagerBundle/pull/128 Waiting for merge it

pfpro commented 11 months ago

thx a lot, you are appreciated!

pfpro commented 11 months ago

i might found another issue, after uploading a file:

{"exception":"[object] (ErrorException(code: 0): Deprecated: basename(): Passing null to parameter #2 ($suffix) of type string is deprecated at /homepages/42/d121516004/htdocs/wwwroot_v3/r6/vendor/artgris/filemanager-bundle/Helpers/UploadHandler.php:1481)"} []