nystudio107 / generator-craftplugin

generator-craftplugin is a Yeoman generator for Craft CMS plugins
MIT License
73 stars 30 forks source link

Leaving Fieldtype input blank leads to ".php" file being written #44

Closed mildlygeeky closed 6 years ago

mildlygeeky commented 6 years ago

Subject pretty much says it all — Craft 3.x, enabled "Fieldtype" but left the input blank, and it wrote a ".php" filename and the PHP class didn't have a name.

mildlygeeky commented 6 years ago

Other issues as well — asset bundle files are saved as ".css", ".js", etc.

khalwat commented 6 years ago

Fixed in 1.3.13:

https://github.com/nystudio107/generator-craftplugin/releases/tag/1.3.13

chasegiunta commented 5 years ago

This seems to be happening leaving ElementTypes input blank as well.