php-stubs / wp-cli-stubs

WP-CLI function and class declaration stubs for static analysis.
https://packagist.org/packages/php-stubs/wp-cli-stubs
MIT License
23 stars 2 forks source link

Release new version for dependency #11

Closed kkmuffme closed 1 year ago

kkmuffme commented 1 year ago

Could you release a new version bc of:

php-stubs/wp-cli-stubs[v2.5.0, ..., v2.6.0] require php-stubs/wordpress-stubs ^4.7 || ^5.0 -> found php-stubs/wordpress-stubs[v4.7.14, ..., v4.9.20, v5.0, ..., v5.9.5] but it conflicts with your root composer.json require (^6.0).

when using this with the WP stubs separately.

Are the wordpress-stubs really required to be a dependency for the CLI stubs?

While you're at it, would it be possible to regenerate stubs for CLI 2.7.0?

szepeviktor commented 1 year ago

Hello @kkmuffme !

Are the wordpress-stubs really required to be a dependency for the CLI stubs?

Yes, WP-CLI uses WP core functions and classes.

szepeviktor commented 1 year ago

Done 🍏

kkmuffme commented 1 year ago

Thanks!