Project

General

Profile

Actions

Task #100534

closed

Avoid PHP deprecation in CSP report

Added by Chris Müller about 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
Start date:
2023-04-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Sprint Focus:

Description

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

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

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

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


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Feature #99499: Introduce Content Security Policy handlingUnder ReviewOliver Hader2023-03-01

Actions
Actions #1

Updated by Chris Müller about 1 year ago

Actions #2

Updated by Chris Müller about 1 year ago

  • Related to Feature #99499: Introduce Content Security Policy handling added
Actions #3

Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78544

Actions #4

Updated by Chris Müller about 1 year ago

  • Description updated (diff)
Actions #5

Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78544

Actions #6

Updated by Gerrit Code Review about 1 year ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78544

Actions #7

Updated by Oliver Hader about 1 year ago

  • Related to deleted (Feature #87423: Integrate CSP management module)
Actions #8

Updated by Gerrit Code Review about 1 year ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78544

Actions #9

Updated by Chris Müller about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #10

Updated by Benni Mack 3 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF