Bug #40202

Task #40095: Move core to namespaces

Remove leading \ in namespaces of default TYPO3_CONF_VARS['LOG']

Added by Steffen Müller almost 3 years ago. Updated almost 3 years ago.

Status:Closed Start date:2012-08-25
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:Logging Spent time: -
Target version:-
TYPO3 Version:6.0 Is Regression:
PHP Version: Sprint Focus:
Complexity:

Description

The new Logging API uses class names in TYPO3_CONF_VARS['LOG'].
Some of the new namespace are prefixed with \

'writerConfiguration' => array(
  \TYPO3\CMS\Core\Log\LogLevel::DEBUG => array(
   'TYPO3\\CMS\\Core\\Log\\Writer\\FileWriter' => array()
  )
),

History

#1 Updated by Christian Kuhn almost 3 years ago

  • Parent task set to #40095

#2 Updated by Steffen Müller almost 3 years ago

  • Assigned To deleted (Steffen Müller)

Sorry, please close this nonsense. ;-)

#3 Updated by Thomas Maroschik almost 3 years ago

  • Status changed from New to Closed

In strings class names are always considered fully qualified. Thus the leading slash is not necessary there.

#4 Updated by Christian Kuhn almost 3 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF