mirror of
https://github.com/code-rhapsodie/ibexa-dataflow-bundle.git
synced 2026-03-23 22:22:08 +01:00
1.4 KiB
1.4 KiB
In version 5, all references to ezdataflow were replaced by ibexa-dataflow, in namespaces, class names, tags and config keys. This requires some changes in your application files.
Updating source files
A script is provided to do all the replacements in your project files for you. Pass as arguments all directories where replacing is needed.
php vendor/bin/ibexa-dataflow-namespace-changer.phar src/ config/ templates/ translations/
You should check all changes performed afterward. Here is the list of all the replacement that should be performed:
- all namespaces starting by
CodeRhapsodie\EzDataflowBundleshould now start byCodeRhapsodie\IbexaDataflowBundle, anywhere in PHP sources and services definitions - the class
CodeRhapsodieEzDataflowBundleshould be renamedCodeRhapsodieIbexaDataflowBundleinbundles.php - the config key
code_rhapsodie_ezdataflowshould be renamedcode_rhapsodie_ibexa_dataflowin config files - all translation keys starting by
ezdataflowshould now start byibexa_dataflowin translation files - the security policy module
ezdataflowshould be renamedibexa_dataflow - all template paths containing
ezdataflowshould now containibexa_dataflow
Updating database
Run the following command on your database:
UPDATE ezpolicy SET module_name = 'ibexa_dataflow' WHERE module_name = 'ezdataflow'