rector
rector copied to clipboard
Alternate file extensions
I am working to convert an old application that utilized alternate extensions (not file.php). I'm working to edit rector to edit those files to convert from phpexcel to phpspreadsheet.
In vendor/bin/rector I changed line 14 to the extension I needed. Are there other files that would need to be altered?
There should be an option for it.
$parameters->set(Option::FILE_EXTENSIONS, ['inc', 'php']);
Set this option in your rector configuration file.
@ahardylaniertech I don´t think you need other files to change regarding the suffix.