A valid class name starts with a letter or underscore, followed by any number of letters, numbers, or underscores. As a regular expression, it would be expressed thus: ^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$.
fix
If AbstractCommand:: migrationToClassName called with invalid class name, throw InvalidArgumentException.
problem
Even if
generate command
is executed with invalid 'name' argument, migration class is generated.valid class name
http://php.net/manual/en/language.oop5.basic.php#language.oop5.basic.class
fix
If
AbstractCommand:: migrationToClassName
called with invalid class name, throw InvalidArgumentException.