Skip to content

Commit

Permalink
feat: bring the changes
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante committed Jul 12, 2023
1 parent 6817212 commit 3e7eeb6
Show file tree
Hide file tree
Showing 68 changed files with 8,621 additions and 264 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/vendor/
composer.lock
*.cache
*.log
*.log
vendor/
18 changes: 10 additions & 8 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

$header = <<<'EOF'
This file is part of Hyperf.
This file is part of Hyperf + OpenCodeCo
@link https://www.hyperf.io
@link https://opencodeco.dev
@document https://hyperf.wiki
@contact group@hyperf.io
@license https://github.com/hyperf/hyperf/blob/master/LICENSE
@contact leo@opencodeco.dev
@license https://github.com/opencodeco/hyperf-metric/blob/main/LICENSE
EOF;

return (new PhpCsFixer\Config())
Expand Down Expand Up @@ -85,13 +85,15 @@
'single_quote' => true,
'standardize_not_equals' => true,
'multiline_comment_opening_closing' => true,
'global_namespace_import' => [
'import_classes' => true,
'import_constants' => true,
'import_functions' => true,
],
])
->setFinder(
PhpCsFixer\Finder::create()
->exclude('bin')
->exclude('public')
->exclude('runtime')
->exclude('vendor')
->in(__DIR__)
)
->setUsingCache(false);
->setUsingCache(true);
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) Hyperf
Copyright (c) Hyperf & OpenCodeCo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-mockery": "^1.1",
"rector/rector": "^0.17.5",
"slickdeals/statsd": "^3.1"
"slickdeals/statsd": "^3.1",
"swoole/ide-helper": "^5.0"
},
"suggest": {
"slickdeals/statsd": "Required to use StatdD driver.",
Expand Down
Loading

0 comments on commit 3e7eeb6

Please # to comment.