Neos\Flow\Core\Migrations\Version20120925142600::up PHP Method

up() public method

public up ( ) : void
return void
    public function up()
    {
        $this->searchAndReplace('TYPO3.FLOW3', 'TYPO3.Flow');
        $this->searchAndReplace('TYPO3\\FLOW3', 'Neos\\Flow');
        $this->searchAndReplace('FLOW3_PATH_FLOW3', 'FLOW_PATH_FLOW');
        $this->searchAndReplace('FLOW3_PATH', 'FLOW_PATH');
        $this->searchAndReplace('FLOW3_ROOTPATH', 'FLOW_ROOTPATH');
        $this->searchAndReplace('FLOW3_CONTEXT', 'FLOW_CONTEXT');
        $this->searchAndReplace('FLOW3_SAPITYPE', 'FLOW_SAPITYPE');
        $this->searchAndReplace('FLOW3_WEBPATH', 'FLOW_WEBPATH');
        $this->searchAndReplace('as FLOW3;', 'as Flow;');
        $this->searchAndReplace('@FLOW3\\', '@Flow\\');
        $this->searchAndReplace('typo3/flow3', 'typo3/flow', array('json'));
        $this->showNote('You should check the changes this migration applied. Feel free to beautify the file docblock headers and make sure to check for leftover "FLOW3" and "flow3" use.');
        $this->showWarning('In schema migrations that existed prior to this, do not replace "flow3" by "flow"!');
    }
Version20120925142600