mirror of
https://gitee.com/yansongda/pay.git
synced 2024-11-29 18:58:38 +08:00
update
This commit is contained in:
parent
ef4bed656d
commit
d51cafb038
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -6,3 +6,5 @@ phpunit.php export-ignore
|
||||
phpunit.xml export-ignore
|
||||
phpunit.xml.dist export-ignore
|
||||
.php_cs export-ignore
|
||||
.scrutinizer.yml export-ignore
|
||||
.styleci.yml
|
||||
|
4
.php_cs
4
.php_cs
@ -8,11 +8,9 @@ return PhpCsFixer\Config::create()
|
||||
->setUsingCache(false)
|
||||
->setRules([
|
||||
'@Symfony' => true,
|
||||
'blank_line_after_opening_tag' => true,
|
||||
'class_attributes_separation' => true,
|
||||
'no_unused_imports' => true,
|
||||
'ordered_class_elements' => true,
|
||||
'ordered_imports' => true,
|
||||
'ordered_imports' => ['sort_algorithm' => 'alpha'],
|
||||
'line_ending' => true,
|
||||
'single_quote' => true,
|
||||
'array_syntax' => ['syntax' => 'short'],
|
||||
|
6
.scrutinizer.yml
Normal file
6
.scrutinizer.yml
Normal file
@ -0,0 +1,6 @@
|
||||
filter:
|
||||
excluded_paths:
|
||||
- tests/*
|
||||
|
||||
checks:
|
||||
php: true
|
8
.styleci.yml
Normal file
8
.styleci.yml
Normal file
@ -0,0 +1,8 @@
|
||||
preset: symfony
|
||||
|
||||
enabled:
|
||||
- recommended
|
||||
|
||||
finder:
|
||||
exclude:
|
||||
- "tests"
|
21
src/Service/HttpClientService.php
Normal file
21
src/Service/HttpClientService.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Yansongda\Pay\Service;
|
||||
|
||||
use Pimple\Container;
|
||||
use Yansongda\Pay\Contract\ServiceInterface;
|
||||
|
||||
class HttpClientService implements ServiceInterface
|
||||
{
|
||||
/**
|
||||
* Registers services on the given container.
|
||||
*
|
||||
* This method should only be used to configure services and parameters.
|
||||
* It should not get services.
|
||||
*
|
||||
* @param Container $pimple A container instance
|
||||
*/
|
||||
public function register(Container $pimple)
|
||||
{
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user