Skip to content

Commit

Permalink
Generate stubs for WooCommerce 9.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Dec 17, 2024
1 parent 7b43c74 commit 813f3ca
Show file tree
Hide file tree
Showing 3 changed files with 1,651 additions and 1,086 deletions.
14 changes: 14 additions & 0 deletions finder.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@
->depth('< 1')
->path('AccessiblePrivateMethods.php')
)
// WC_Abstract_Order uses these internal traits
->append(
\StubsGenerator\Finder::create()
->in(['source/woocommerce/src/Internal/CostOfGoodsSold'])
->files()
->depth('< 1')
)
->append(
\StubsGenerator\Finder::create()
->in(['source/woocommerce/src/Internal'])
->files()
->depth('< 1')
->path('RegisterHooksInterface.php')
)
->append(
\StubsGenerator\Finder::create()
->in(['source/woocommerce/src/Internal/Admin/BlockTemplates'])
Expand Down
2 changes: 1 addition & 1 deletion source/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"ext-json": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"woocommerce/woocommerce": "9.4.3"
"woocommerce/woocommerce": "9.5.0"
},
"minimum-stability": "stable",
"extra": {
Expand Down
Loading

0 comments on commit 813f3ca

Please sign in to comment.