Skip to content

Commit

Permalink
improve: use class_map to override hyperf components
Browse files Browse the repository at this point in the history
  • Loading branch information
albertcht committed Aug 16, 2023
1 parent 9f326ca commit 58a023c
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 335 deletions.
8 changes: 2 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,11 @@
},
"autoload": {
"exclude-from-classmap": [
"vendor/hyperf/di/src/Container.php",
"vendor/hyperf/database/src/Commands/Migrations/BaseCommand.php",
"vendor/hyperf/database/src/Commands/Seeders/BaseCommand.php",
"vendor/hyperf/database/src/Migrations/Migration.php"
"vendor/hyperf/di/src/Container.php"
],
"psr-4": {
"App\\": "app/",
"Hyperf\\Di\\": "overrides/Hyperf/Di/",
"Hyperf\\Database\\": "overrides/Hyperf/Database/"
"Hyperf\\Di\\": "overrides/Hyperf/Di/"
},
"files": []
},
Expand Down
60 changes: 0 additions & 60 deletions overrides/Hyperf/Database/Commands/Migrations/BaseCommand.php

This file was deleted.

39 changes: 0 additions & 39 deletions overrides/Hyperf/Database/Commands/Seeders/BaseCommand.php

This file was deleted.

42 changes: 0 additions & 42 deletions overrides/Hyperf/Database/Migrations/Migration.php

This file was deleted.

188 changes: 0 additions & 188 deletions overrides/Hyperf/Di/Container.php

This file was deleted.

0 comments on commit 58a023c

Please sign in to comment.