Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

christian_H's avatar

I've heavily modified my Spark source code. What are the consequences?

So, I've violated Spark's best practice and modified many of Spark's source files. Spark didn't really work for what I needed without extensive modification, so I took matters into my own hands. I realize that this means I won't be able to update Spark, but how serious of an issue is that, really? If it turns out there are security holes that future updates fix, I feel confident I can look at the changes in the update and make the necessary modifications myself.

I'm just curious as to hear other people's thoughts on this. I realize I probably should have gone with a different approach from the start but at this point the changes are so integrated with my application it feels like a waste of time to go back through and undo everything. What would you guys do in my situation, is this something I should be worried about?

0 likes
4 replies
jlrdw's avatar

You will have to walk the gangplank.

1 like
jlrdw's avatar

I would consider only modify the things that are ok to, and try to write custom classes to deal with the other.

christian_H's avatar

@jlrdw that's the plan for future projects, but for this project it feels like I've already modified it so much, continuing to do it that way won't make much difference

Please or to participate in this conversation.