Skip to content

Commit

Permalink
Optimize (#22)
Browse files Browse the repository at this point in the history
* Remove branch-alias

* Remove useless code
  • Loading branch information
huangdijia authored Sep 9, 2022
1 parent 0bd4820 commit 38e8f53
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@
"sort-packages": true
},
"extra": {
"branch-alias": {
"3.x-dev": "3.0-dev"
},
"hyperf": {
"config": "FriendsOfHyperf\\Tinker\\ConfigProvider"
}
Expand Down
10 changes: 0 additions & 10 deletions src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,7 @@ class ConfigProvider
{
public function __invoke(): array
{
// fix for IDE
defined('BASE_PATH') or define('BASE_PATH', '');

return [
// 'annotations' => [
// 'scan' => [
// 'paths' => [
// __DIR__,
// ],
// ],
// ],
'commands' => [
TinkerCommand::class,
],
Expand Down

0 comments on commit 38e8f53

Please sign in to comment.