3 ms·
I worked on a large PHP codebase for a few years, and that sounds very familiar. We never did get it untangled enough to test before I left. Do you have a stat
by adambard 15y ago
I worked on a large PHP codebase for a few years, and that sounds very familiar. We never did get it untangled enough to test before I left.
Do you have a static analyzer or something like it that enforces the no-circular-dependencies rule, or is it just a procedural thing?
- bbillings 15y agoWe have a static analyzer that runs when we submit a diff yes or try to commit, but in our "require_module" we also check for circular dependencies at run time. If you create one you get the module stack dumped into your log and promptly exited with an error message.