kimhf / advanced-custom-fields-stubs
Stubs for the Advanced Custom Fields WordPress plugin, used for static analysis.
v5.9.1
2020-10-31 14:25 UTC
Requires (Dev)
- php: >=7.1
- giacocorsiglia/stubs-generator: ^0.5
- wpackagist-plugin/advanced-custom-fields: 5.9.1
README
Advanced Custom Fields Stubs is used to statically analyse codebases to ensure compatibility with the Advanced Custom Fields WordPress plugin.
Usage with Psalm
Update the Psalm config to include the stubs for Advanced Custom Fields:
<stubs> <file name="vendor/kimhf/advanced-custom-fields-stubs/advanced-custom-fields-stubs.php" /> </stubs>