Project

General

Profile

Task #100534

Updated by Chris Müller about 1 year ago

When using the new backend module "Content Security Policy" with PHP 8.2, the following deprecation is given: 

 <pre> 
 PHP Runtime Deprecation Notice: Use of "self" in callables is deprecated in /var/www/html/vendor/typo3/cms-core/Classes/Security/ContentSecurityPolicy/Reporting/Report.php line 41 
 </pre> 

 Solution: replace @'self::toCamelCase'@ with @self::class . '::toCamelCase'@ 

 See also: https://wiki.php.net/rfc/deprecate_partially_supported_callables#backward_incompatible_changes

Back