-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breeding a mule #27
Comments
Or all of your args are from WP core? No manual additions? I'd like to overcome core's referencing policy: https://github.com/WordPress/wordpress-develop/blob/ac3de7c5b3c6eeeda485e00cc0d94da5b40e023f/src/wp-includes/class-wp-customize-manager.php#L4056-L4058 |
They're about 90% from WP core, with some manual adjustments to increase the strictness and add extra constraints for PHPStan. I suppose we could use this Args library to generate the Related discussion about references: |
Thank you for the links. So in a format like https://github.com/php-stubs/wordpress-stubs/blob/master/functionMap.php we could export array shapes from Args and import into wp-stubs? |
Hey. @szepeviktor pointed me to this package, good stuff here! Feel free to use anything from Q: What's the benefit of the approach of this library as opposed to stubs? Bundling any 3rd party library in a WordPress plugin is a huge pain, so I'd like to know the benefits. |
Could we somehow inject your args into wordpress-stubs?
The text was updated successfully, but these errors were encountered: