Steps to reproduce:
- Use make:entity with a namespaced classname that includes a digit (i.e., Foo\v1\Bar)
- Observe ASCII error
|
return preg_match('/^[a-zA-Z\\\\]+$/', $entityName); |
Replace regex in line 832
Old = ^[a-zA-Z\\\\]+$
New = ^[a-zA-Z\\\d]+$
Removes duplicated \ (escaped "") and adds digit as allowable character.