You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running with php 8.4 gives deprecation errors that are easily fixable
Deprecation Notice: SilverStripe\VendorPlugin\Methods\CopyMethod::__construct(): Implicitly marking parameter $filesystem as nullable is deprecated, the explicit nullable type must be used instead
Deprecation Notice: SilverStripe\VendorPlugin\Methods\SymlinkMethod::__construct(): Implicitly marking parameter $filesystem as nullable is deprecated, the explicit nullable type must be used instead
How to reproduce
install php 8.4
run composer
see the deprecation error
Possible Solution
this is going to probably be the case on many modules so maybe a coordinated action using rector automation would be the best path
Additional Context
No response
Validations
Check that there isn't already an issue that reports the same bug
Double check that your reproduction steps work in a fresh installation of silverstripe/installer (with any code examples you've provided)
The text was updated successfully, but these errors were encountered:
Closing as a duplicate of silverstripe/.github#331
We haven't added PHP 8.4 support yet - and when we do it will be for CMS 6 only as per the major release policy.
Module version(s) affected
2
Description
Running with php 8.4 gives deprecation errors that are easily fixable
Deprecation Notice: SilverStripe\VendorPlugin\Methods\CopyMethod::__construct(): Implicitly marking parameter $filesystem as nullable is deprecated, the explicit nullable type must be used instead
Deprecation Notice: SilverStripe\VendorPlugin\Methods\SymlinkMethod::__construct(): Implicitly marking parameter $filesystem as nullable is deprecated, the explicit nullable type must be used instead
How to reproduce
install php 8.4
run composer
see the deprecation error
Possible Solution
this is going to probably be the case on many modules so maybe a coordinated action using rector automation would be the best path
Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)The text was updated successfully, but these errors were encountered: