Task #84083

Epic #83968: PSR-11 Initiative

ApplicationContext should consistently be retrieved from GeneralUtility

Added by Benjamin Franzke over 1 year ago. Updated 2 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2018-02-28
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

ClassLoadingInformation reads from Bootstrap, that should be adapted to use GeneralUtility.

Bootstrap code states:

* Use \TYPO3\CMS\Core\Utility\GeneralUtility::getApplicationContext() instead

Therefore the method should just be removed.

Associated revisions

Revision dcccb047 (diff)
Added by Benjamin Franzke over 1 year ago

[TASK] Consistently retrieve ApplicationContext from GeneralUtility

As documented in Bootstrap code, GeneralUtility should be
used instead of Bootstrap to retrieve the ApplicationContext.

Therefore ClassLoadingInformation is adapted to read the
ApplicationContext from GeneralUtility. Bootstrap now pushes the
ApplicationContext early to GeneralUtility to be available for
ClassLoadingInformation during bootstrap.

Change-Id: I119ac944dd49c7d063b0f1e05f23e48f664ce2bc
Releases: master
Resolves: #84083
Reviewed-on: https://review.typo3.org/55940
Tested-by: TYPO3com <>
Reviewed-by: Frank Naegler <>
Tested-by: Frank Naegler <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

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

#2 Updated by Gerrit Code Review over 1 year ago

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

#3 Updated by Gerrit Code Review over 1 year ago

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

#4 Updated by Benjamin Franzke over 1 year ago

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

#5 Updated by Benni Mack 12 months ago

  • Status changed from Resolved to Closed

#6 Updated by Benjamin Franzke 2 months ago

  • Parent task set to #83968

Also available in: Atom PDF