0xffff-one / flarum-0x

🔧 Customized Flarum for the 0xFFFF Community.
https://0xffff.one
MIT License
44 stars 5 forks source link

Use composer override instead of generate a patch for PHP class #52

Open zgq354 opened 1 year ago

zgq354 commented 1 year ago

Creating and editing a patch file may not be very maintainable, it would be better to save and edit a full `.php' file.

example: https://github.com/FriendsOfFlarum/nightmode/blob/fcc97af9028a9ff7dda00cf74392fae10432fc3d/composer.json#L63-L67

ref: https://discuss.flarum.org/d/30868-completely-disable-s9e-text-formatter/2