Skip to content

Commit 16889bf

Browse files
Replace empty namespace autoloader with classmap (#57)
This fixes the issue described here: wp-cli/wp-cli#5731
1 parent fc5c62e commit 16889bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
]
4545
},
4646
"autoload": {
47-
"psr-4": {
48-
"": "src/"
49-
},
47+
"classmap": [
48+
"src/"
49+
],
5050
"files": [
5151
"widget-command.php"
5252
]

0 commit comments

Comments
 (0)