Open
Description
I found strange dependencies on OroCRM classes
- https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/EmbeddedFormBundle/Migrations/Data/ORM/UpdateEmbeddedFormsTypes.php#L24-L28
- https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/EntityExtendBundle/Migration/CleanupMarketingListMigrationQuery.php#L5-L18
- https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/EntityExtendBundle/Migration/CleanupTrackingMigrationQuery.php#L10-L21
- https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/EntityExtendBundle/Migration/CleanupCampaignMigrationQuery.php#L10
Of course, it not leads to errors if use OroPlatform without CRM, but OroPlatform can be used as a blueprint for custom application that will not depends on OroCRM, so it should not contains references on OroCRM classes.
If future you can use https://github.com/sensiolabs-de/deptrac in automatics tests to control dependencies between your packages and keep your architecture clean.