Skip to content

Commit 35cca5a

Browse files
Replace empty namespace autoloader with classmap (#62)
This fixes the issue described here: wp-cli/wp-cli#5731
1 parent c2b9a81 commit 35cca5a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@
3434
]
3535
},
3636
"autoload": {
37-
"psr-4": {
38-
"": "src/",
39-
"WP_CLI\\": "src/WP_CLI"
40-
},
37+
"classmap": [
38+
"src/"
39+
],
4140
"files": [
4241
"shell-command.php"
4342
]

0 commit comments

Comments
 (0)