Skip to content

Conversation

@dereuromark
Copy link
Member

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

  • removed the non-en translations as they are too outdated, lying and clearly not worth maintaining with such a cli dev plugin
  • fixed up docs

Copy link

Copilot AI left a 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 AbstractMigration and AbstractSeed references with BaseMigration and BaseSeed
  • Updated imports from Phinx\* namespaces to Migrations\* 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

Comment on lines +28 to +29
"symfony/config": "^6.0 || ^7.0",
"symfony/console": "^6.0 || ^7.0"
Copy link
Member

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.

@dereuromark
Copy link
Member Author

Feel free to finish up

@dereuromark dereuromark merged commit a5728f7 into 5.x Aug 6, 2025
13 checks passed
@dereuromark dereuromark deleted the 5.x-remove-phinx branch August 6, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants