Skip to content

Commit 3e7eeb6

Browse files
committed
feat: bring the changes
1 parent 6817212 commit 3e7eeb6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+8621
-264
lines changed

.gitignore

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/vendor/
2-
composer.lock
31
*.cache
4-
*.log
2+
*.log
3+
vendor/

.php-cs-fixer.php

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

33
$header = <<<'EOF'
4-
This file is part of Hyperf.
4+
This file is part of Hyperf + OpenCodeCo
55
6-
@link https://www.hyperf.io
6+
@link https://opencodeco.dev
77
@document https://hyperf.wiki
8-
9-
@license https://github.com/hyperf/hyperf/blob/master/LICENSE
8+
9+
@license https://github.com/opencodeco/hyperf-metric/blob/main/LICENSE
1010
EOF;
1111

1212
return (new PhpCsFixer\Config())
@@ -85,13 +85,15 @@
8585
'single_quote' => true,
8686
'standardize_not_equals' => true,
8787
'multiline_comment_opening_closing' => true,
88+
'global_namespace_import' => [
89+
'import_classes' => true,
90+
'import_constants' => true,
91+
'import_functions' => true,
92+
],
8893
])
8994
->setFinder(
9095
PhpCsFixer\Finder::create()
91-
->exclude('bin')
92-
->exclude('public')
93-
->exclude('runtime')
9496
->exclude('vendor')
9597
->in(__DIR__)
9698
)
97-
->setUsingCache(false);
99+
->setUsingCache(true);

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) Hyperf
3+
Copyright (c) Hyperf & OpenCodeCo
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
"phpstan/phpstan": "^1.10",
4141
"phpstan/phpstan-mockery": "^1.1",
4242
"rector/rector": "^0.17.5",
43-
"slickdeals/statsd": "^3.1"
43+
"slickdeals/statsd": "^3.1",
44+
"swoole/ide-helper": "^5.0"
4445
},
4546
"suggest": {
4647
"slickdeals/statsd": "Required to use StatdD driver.",

0 commit comments

Comments
 (0)