Sometimes I need to use your awesome software to mock native PHP functions. Unfortunately, I struggle understanding what the schema is, and what the possible locations are. We can get an idea of some of the schema from the examples, but from what I understand there's more to it. Where to actually put the patchwork.json file I was able to find out by trial and error, and also got some hints from Brain-WP/BrainMonkey#97.
Suggested Solution
Add the schema and location resolution mechanics to documentation.
The Problem
Sometimes I need to use your awesome software to mock native PHP functions. Unfortunately, I struggle understanding what the schema is, and what the possible locations are. We can get an idea of some of the schema from the examples, but from what I understand there's more to it. Where to actually put the
patchwork.json
file I was able to find out by trial and error, and also got some hints from Brain-WP/BrainMonkey#97.Suggested Solution
Add the schema and location resolution mechanics to documentation.