BinaryMoon / jarvis

A speedy Gutenberg ready theme
https://prothemedesign.com
GNU General Public License v2.0
51 stars 5 forks source link

Merge Dev version #61

Closed BinaryMoon closed 4 years ago

szepeviktor commented 4 years ago

@BinaryMoon Try placing woocommerce-stubs.php as the last stub, it seems to depend on WP-CLI

szepeviktor commented 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.

BinaryMoon commented 4 years ago

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

szepeviktor commented 4 years ago

I see! Stubs should be generated from packages/*/src/ only

szepeviktor commented 4 years ago

It is getting nicer-and-nicer :)

BinaryMoon commented 4 years ago

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.

szepeviktor commented 4 years ago

This is the only service I provide (for developer teams) click: https://twitter.com/szepeviktor/status/1172822556493189120