Skip to content

Commit

Permalink
Replace empty namespace autoloader with classmap (#69)
Browse files Browse the repository at this point in the history
This fixes the issue described here: wp-cli/wp-cli#5731

Co-authored-by: Daniel Bachhuber <[email protected]>
  • Loading branch information
mweimerskirch and danielbachhuber authored Feb 17, 2023
1 parent 4d6846f commit d076b07
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"": "src/"
},
"files": [
"find-command.php"
]
"classmap": [
"src/"
],
"files": [ "find-command.php" ]
},
"require": {
"php": ">=5.4",
Expand Down

0 comments on commit d076b07

Please sign in to comment.