Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit 1d64a62

Browse files
committed
Merge branch 'develop' into docs/cleanup-docs-for-1.0.0
2 parents b24e9d2 + 86bf7b2 commit 1d64a62

File tree

3 files changed

+48
-2
lines changed

3 files changed

+48
-2
lines changed

composer.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
1515
"wimg/php-compatibility": "^8.1",
1616
"woocommerce/woocommerce": "dev-feature/more-order-tests",
17+
"woocommerce/woocommerce-git-hooks": "*",
1718
"woocommerce/woocommerce-sniffs": "^0.0.1",
1819
"wp-coding-standards/wpcs": "^0.14"
1920
},
@@ -27,6 +28,18 @@
2728
]
2829
},
2930
"scripts": {
31+
"pre-update-cmd": [
32+
"WooCommerce\\GitHooks\\Hooks::preHooks"
33+
],
34+
"pre-install-cmd": [
35+
"WooCommerce\\GitHooks\\Hooks::preHooks"
36+
],
37+
"post-install-cmd": [
38+
"WooCommerce\\GitHooks\\Hooks::postHooks"
39+
],
40+
"post-update-cmd": [
41+
"WooCommerce\\GitHooks\\Hooks::postHooks"
42+
],
3043
"test-coverage": [
3144
"phpunit --testsuite=plugin --coverage-html=tests/coverage"
3245
]

composer.lock

Lines changed: 34 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpcs.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
<rule ref="PHPCompatibility">
1818
<exclude name="PHPCompatibility.PHP.NewKeywords.t_namespaceFound" />
19-
<exclude-pattern>includes/class-wc-custom-order-table-cli.php</exclude-pattern>
19+
<exclude-pattern>includes/class-woocommerce-custom-orders-table-cli.php</exclude-pattern>
2020
</rule>
2121

2222
<!-- Check all PHP files in directory tree by default. -->

0 commit comments

Comments
 (0)