Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[BUGFIX] Omit ::class syntax to stay PHP 5.3 compatible
Browse files Browse the repository at this point in the history
(And thus fully TYPO3 6.2 compatible)
Fixes #22
  • Loading branch information
helhum committed Sep 15, 2016
1 parent a278afc commit 644259b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/Configuration/ConfigurationGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 60,7 @@ public function generateConfiguration()
{
$fileName = PATH_site . self::AUTOCONFIGURTION_FILE;
if (class_exists('TYPO3\\CMS\\Core\\Locking\\LockFactory')) {
$lockFactory = GeneralUtility::makeInstance(LockFactory::class);
$lockFactory = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Locking\\LockFactory');
$lockObject = $lockFactory->createLocker(
$fileName,
LockingStrategyInterface::LOCK_CAPABILITY_EXCLUSIVE | LockingStrategyInterface::LOCK_CAPABILITY_NOBLOCK
Expand Down
2 changes: 1 addition & 1 deletion Classes/Hooks/UrlRewritingHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -2843,6 2843,6 @@ protected function getTimeTracker()
// @deprecated since 8.0, will be removed once 7.6 support will be removed
return $GLOBALS['TT'];
}
return GeneralUtility::makeInstance(TimeTracker::class);
return GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\TimeTracker\\TimeTracker');
}
}
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 30,7 @@
'author_company' => '',
'CGLcompliance' => '',
'CGLcompliance_note' => '',
'version' => '2.1.1',
'version' => '2.1.2',
'_md5_values_when_last_written' => '',
'constraints' => array(
'depends' => array(
Expand Down

0 comments on commit 644259b

Please sign in to comment.