Skip to content

Conversation

@LordSimal
Copy link
Contributor

No description provided.

othercorey and others added 10 commits November 19, 2025 21:14
…#362)

* Handle soon deprecated AttributeKey::STMT_KEY attribute usage on Stmt

* fix cs
)

This adds rector rules to automatically upgrade migrations from the deprecated
PHINX_TYPE_* constants to the new TYPE_* constants introduced in Migrations 5.0.

Changes:
- Add config/rector/migrations50.php entry point
- Add config/rector/sets/migrations50.php with constant rename rules
- Update CakePHPSetList with MIGRATIONS_50 constant
- Update README.md with migrations50 documentation

The rules rename all deprecated PHINX_TYPE_* constants to their new TYPE_*
equivalents, matching the naming conventions of Cake\Database\Schema\TableSchemaInterface:
- PHINX_TYPE_STRING -> TYPE_STRING
- PHINX_TYPE_TINY_INTEGER -> TYPE_TINYINTEGER
- PHINX_TYPE_BINARYUUID -> TYPE_BINARY_UUID
- etc.

See: cakephp/migrations#948

Co-authored-by: Rector Bot <rector-bot@example.com>
Fix connection helper rector processing unrelated nodes
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
# Conflicts:
#	.github/workflows/ci.yml
#	src/Command/RectorCommand.php
#	src/Rector/Set/CakePHPSetList.php
@LordSimal LordSimal merged commit ee7ad10 into 6.x Nov 27, 2025
6 checks passed
@LordSimal LordSimal deleted the 6.x-merge branch November 27, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants