Skip to content

Commit ab0eed9

Browse files
committed
fix: Manual handler registration
1 parent 5040247 commit ab0eed9

File tree

6 files changed

+480
-22
lines changed

6 files changed

+480
-22
lines changed

composer.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@
2222
},
2323
"require": {
2424
"php": ">=8.0",
25-
"automattic/jetpack-constants": "^2|^3",
25+
"automattic/jetpack-constants": "^2 || ^3",
2626
"php-di/php-di": "^7",
2727
"symfony/polyfill-php81": "^1.31",
2828
"x-wp/helper-classes": "^1.13",
2929
"x-wp/helper-functions": "^1.13"
3030
},
3131
"require-dev": {
32+
"automattic/jetpack-autoloader": "*",
3233
"oblak/wordpress-coding-standard": "^1.1",
3334
"php-stubs/woocommerce-stubs": "^9.5",
3435
"php-stubs/wordpress-stubs": "^6.6",
@@ -37,19 +38,24 @@
3738
"phpstan/phpstan-deprecation-rules": "^1.2",
3839
"swissspidy/phpstan-no-private": "^0.2",
3940
"symfony/polyfill-php82": "^1.31",
41+
"symfony/var-dumper": "^5.4",
4042
"szepeviktor/phpstan-wordpress": "^1.3",
41-
"wp-cli/wp-cli": "^2.11"
43+
"wp-cli/wp-cli": "^2.11",
44+
"x-wp/whoops": "^1.1"
4245
},
4346
"conflict": {
4447
"oblak/wp-hook-di": "*"
4548
},
4649
"provide": {
47-
"psr/container-implementation": "1.1|2.0",
50+
"psr/container-implementation": "1.1 || 2.0",
4851
"x-wp/di-implementation": "self.version"
4952
},
5053
"suggest": {
5154
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
5255
},
56+
"autoload-dev": {
57+
"XWP\\DI\\T\\": "test/fixtures/shared/"
58+
},
5359
"autoload": {
5460
"psr-4": {
5561
"XWP\\DI\\": "src/"

0 commit comments

Comments
 (0)