silverstripe / module-standardiser

Tool that standardises some files in Silverstripe modules
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Use the new module_name() method instead of checking if a module's name is in the directory path #12

Open GuySartorelli opened 1 year ago

GuySartorelli commented 1 year ago

We have a lot of places where we check if a directory path contains some module's name - we should use module_name() instead.