Ticket #837 (closed defect: fixed)

Opened 16 months ago

Last modified 16 months ago

doctrine generate-migration allows bad name characters

Reported by: malte Owned by: lsmith
Priority: trivial Milestone: 0.10.4
Component: Import/Export Version: 0.10.0
Severity: Keywords:
Cc: Has Test:
Status: Has Patch:

Description

doctrines generate-migration task allows you to pass a name like 'this-is-not-going-to-work' as the migration file name. Doctrine then takes the name and tries to use it as the php class name, but php classes do not allow hyphens in them, so the migration file becomes broken.

Change History

Changed 16 months ago by jwage

  • status changed from new to closed
  • resolution set to fixed

(In [4074]) fixes #837

Note: See TracTickets for help on using tickets.