Closed BinaryMoon closed 4 years ago
Uncaught Error: Class 'Composer\Autoload\AutoloadGenerator' not found in /home/travis/build/BinaryMoon/jarvis/tests/woocommerce-stubs.php:59214
@BinaryMoon You have have stuffed some composer code into WC stubs.
Generally stubs should only contain code you use.
I didn't add it intentionally. I just ran your script. It must have been from the packages directory, that is needed for the WC_REST_Controller
I see! Stubs should be generated from packages/*/src/
only
It is getting nicer-and-nicer :)
It is :) It's not easy though. It's a lot of work to get this stuff up and running; especially when you don't really understand what you're doing.
I'm hoping that once it's all setup I won't have to think about it.
This is the only service I provide (for developer teams) click: https://twitter.com/szepeviktor/status/1172822556493189120
@BinaryMoon Try placing woocommerce-stubs.php as the last stub, it seems to depend on WP-CLI