-
Notifications
You must be signed in to change notification settings - Fork 120
Refactor to fully remove phinx dependency. #877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fully removes the phinx dependency from the CakePHP migrations plugin, completing the refactoring effort to eliminate external dependencies. The primary goal is to replace all phinx-related classes and imports with the new migrations-specific alternatives, ensuring a clean separation from the legacy phinx library.
- Replaced all
AbstractMigrationandAbstractSeedreferences withBaseMigrationandBaseSeed - Updated imports from
Phinx\*namespaces toMigrations\*namespaces - Updated documentation URLs from phinx to migrations documentation
Reviewed Changes
Copilot reviewed 161 out of 161 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| test migration files | Updated base class imports and extends statements throughout test fixtures |
| test seed files | Replaced AbstractSeed with BaseSeed imports and inheritance |
| template files | Updated Twig templates to use new base classes and documentation URLs |
| test case files | Removed phinx-related imports and updated type annotations |
| src/ files | Removed deprecated phinx compatibility shims and unused classes |
| "symfony/config": "^6.0 || ^7.0", | ||
| "symfony/console": "^6.0 || ^7.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be able to remove these dependencies as well when some more code is removed.
|
Feel free to finish up |
Follow #875
@markstory
I went ahead and gave you a helping hand on this one, fully removing the dependency.
I dont think there are too many steps left now
I also