Skip to content

v1.5.3 — Map Doctrine type ‘tuuid’ to itself instead of ‘guid’

Choose a tag to compare

@CreativeNative CreativeNative released this 15 Nov 10:36
· 229 commits to master since this release

What’s Changed

  • Fixed: In TmiTranslationExtension, updated mapping from registerDoctrineTypeMapping('tuuid', 'guid') to registerDoctrineTypeMapping('tuuid', 'tuuid').
  • Fixed: Resolved several PHPStan-reported issues to improve static analysis — cleaner types, better safety.
  • Improved: Ensures that the custom Doctrine type tuuid now correctly matches the entity column definition and avoids mapping mismatches.
  • Improved: Tests updated (unit/integration) to verify the corrected type registration and mapping behavior.

Why It Matters

  • Type Consistency: The Doctrine mapping now exactly matches the tuuid custom type used in your entities, eliminating potential inconsistencies.
  • Static Analysis: PHPStan errors fixed — this increases code reliability and maintainability.
  • Stability: Upgrading to v1.5.2 ensures no more “unknown type” errors and gives better test & type-safety guarantees.

Full Changelog: v1.5.2...v1.5.3