TASK: Apply migration Neos.Flow-20161124204700

Adjusts code to package renaming from "TYPO3.Flow" to "Neos.Flow"
This commit is contained in:
Ferdinand Kuhl 2017-06-03 11:53:57 +02:00
parent 7af6a08fef
commit 48e535fd36
4 changed files with 10 additions and 9 deletions

View file

@ -11,8 +11,8 @@ namespace DigiComp\Menu\MenuService;
* source code. * source code.
*/ */
use TYPO3\Flow\Annotations as Flow; use Neos\Flow\Annotations as Flow;
use TYPO3\Flow\Configuration\ConfigurationManager; use Neos\Flow\Configuration\ConfigurationManager;
/** /**
* @package DigiComp\Menu\Menu * @package DigiComp\Menu\Menu
@ -22,7 +22,7 @@ use TYPO3\Flow\Configuration\ConfigurationManager;
class SettingsService implements ServiceInterface class SettingsService implements ServiceInterface
{ {
/** /**
* @var \TYPO3\Flow\Configuration\ConfigurationManager * @var \Neos\Flow\Configuration\ConfigurationManager
*/ */
protected $configurationManager; protected $configurationManager;
public function injectConfigurationManager(ConfigurationManager $configurationManager) public function injectConfigurationManager(ConfigurationManager $configurationManager)

View file

@ -11,9 +11,9 @@ namespace DigiComp\Menu;
* source code. * source code.
*/ */
use TYPO3\Flow\Core\Bootstrap; use Neos\Flow\Core\Bootstrap;
use TYPO3\Flow\Package\Package as BasePackage; use Neos\Flow\Package\Package as BasePackage;
use TYPO3\Flow\Configuration\ConfigurationManager; use Neos\Flow\Configuration\ConfigurationManager;
/** /**
* Package base class of the DigiComp.Menu package. * Package base class of the DigiComp.Menu package.
@ -29,7 +29,7 @@ class Package extends BasePackage
$dispatcher = $bootstrap->getSignalSlotDispatcher(); $dispatcher = $bootstrap->getSignalSlotDispatcher();
$dispatcher->connect( $dispatcher->connect(
'TYPO3\Flow\Configuration\ConfigurationManager', 'configurationManagerReady', 'Neos\Flow\Configuration\ConfigurationManager', 'configurationManagerReady',
function (ConfigurationManager $configurationManager) { function (ConfigurationManager $configurationManager) {
$configurationManager->registerConfigurationType('Menu'); $configurationManager->registerConfigurationType('Menu');
} }

View file

@ -11,7 +11,7 @@ namespace DigiComp\Menu\ViewHelpers;
* source code. * source code.
*/ */
use TYPO3\Flow\Annotations as Flow; use Neos\Flow\Annotations as Flow;
use TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper; use TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper;
/** /**

View file

@ -48,7 +48,8 @@
"Inwebs.Basket-201409170938", "Inwebs.Basket-201409170938",
"TYPO3.Flow-20151113161300", "TYPO3.Flow-20151113161300",
"TYPO3.Flow-20161115140400", "TYPO3.Flow-20161115140400",
"TYPO3.Flow-20161115140430" "TYPO3.Flow-20161115140430",
"Neos.Flow-20161124204700"
] ]
} }
} }