Skip to content

Commit 3d2b2bb

Browse files
committed
Format code.
1 parent 3ee8a92 commit 3d2b2bb

18 files changed

+21
-36
lines changed

.php_cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $header = <<<'EOF'
44
This file is part of Hyperf.
55
66
@link https://www.hyperf.io
7-
@document https://doc.hyperf.io
7+
@document https://hyperf.wiki
88
99
@license https://github.com/hyperf/hyperf/blob/master/LICENSE
1010
EOF;
@@ -62,11 +62,13 @@ return PhpCsFixer\Config::create()
6262
'multiline_whitespace_before_semicolons' => [
6363
'strategy' => 'no_multi_line',
6464
],
65+
'constant_case' => [
66+
'case' => 'lower',
67+
],
6568
'class_attributes_separation' => true,
6669
'combine_consecutive_unsets' => true,
6770
'declare_strict_types' => true,
6871
'linebreak_after_opening_tag' => true,
69-
'lowercase_constants' => true,
7072
'lowercase_static_reference' => true,
7173
'no_useless_else' => true,
7274
'no_unused_imports' => true,

src/ConfigProvider.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
* This file is part of Hyperf.
66
*
77
* @link https://www.hyperf.io
8-
* @document https://doc.hyperf.io
8+
* @document https://hyperf.wiki
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12-
1312
namespace Hyperf\Pimple;
1413

1514
class ConfigProvider

src/Container.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
* This file is part of Hyperf.
66
*
77
* @link https://www.hyperf.io
8-
* @document https://doc.hyperf.io
8+
* @document https://hyperf.wiki
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12-
1312
namespace Hyperf\Pimple;
1413

1514
use Hyperf\Contract\ContainerInterface;

src/ContainerFactory.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
* This file is part of Hyperf.
66
*
77
* @link https://www.hyperf.io
8-
* @document https://doc.hyperf.io
8+
* @document https://hyperf.wiki
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12-
1312
namespace Hyperf\Pimple;
1413

1514
use Hyperf\Utils\ApplicationContext;

src/Exception/InvalidDefinitionException.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
* This file is part of Hyperf.
66
*
77
* @link https://www.hyperf.io
8-
* @document https://doc.hyperf.io
8+
* @document https://hyperf.wiki
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12-
1312
namespace Hyperf\Pimple\Exception;
1413

1514
use Psr\Container\ContainerExceptionInterface;

src/Exception/NotFoundException.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
* This file is part of Hyperf.
66
*
77
* @link https://www.hyperf.io
8-
* @document https://doc.hyperf.io
8+
* @document https://hyperf.wiki
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12-
1312
namespace Hyperf\Pimple\Exception;
1413

1514
use Psr\Container\NotFoundExceptionInterface;

src/Exception/NotSupportException.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
* This file is part of Hyperf.
66
*
77
* @link https://www.hyperf.io
8-
* @document https://doc.hyperf.io
8+
* @document https://hyperf.wiki
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12-
1312
namespace Hyperf\Pimple\Exception;
1413

1514
use Psr\Container\ContainerExceptionInterface;

src/ProviderInterface.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
* This file is part of Hyperf.
66
*
77
* @link https://www.hyperf.io
8-
* @document https://doc.hyperf.io
8+
* @document https://hyperf.wiki
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12-
1312
namespace Hyperf\Pimple;
1413

1514
use Hyperf\Contract\ContainerInterface;

tests/Cases/AbstractTestCase.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
* This file is part of Hyperf.
66
*
77
* @link https://www.hyperf.io
8-
* @document https://doc.hyperf.io
8+
* @document https://hyperf.wiki
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12-
1312
namespace HyperfTest\Cases;
1413

1514
use PHPUnit\Framework\TestCase;

tests/Cases/ContainerFactoryTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
* This file is part of Hyperf.
66
*
77
* @link https://www.hyperf.io
8-
* @document https://doc.hyperf.io
8+
* @document https://hyperf.wiki
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12-
1312
namespace HyperfTest\Cases;
1413

1514
use Hyperf\Pimple\Container;

0 commit comments

Comments
 (0)