php-stubs / woocommerce-stubs

WooCommerce function and class declaration stubs for static analysis
https://packagist.org/packages/php-stubs/woocommerce-stubs
MIT License
83 stars 10 forks source link

Update PHPStan recommended config to scanFiles #7

Closed dennisameling closed 4 years ago

dennisameling commented 4 years ago

Based on the comment in https://github.com/php-stubs/woocommerce-stubs/pull/6#issuecomment-696942193 :smile:

szepeviktor commented 4 years ago

If we tell it everybody they will use it and all those extending a WC class will Complain.

dennisameling commented 4 years ago

Makes sense, let's leave it as-is then with the PR you just merged :) https://github.com/php-stubs/woocommerce-stubs/commits/master

szepeviktor commented 4 years ago

Can you share where you use these stubs?

dennisameling commented 4 years ago

It's in a private repo for a customer's WP plugin, sorry :( thanks a lot for providing the stubs in the first place, much appreciated 😊 🚀