Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit69ae98c

Browse files
authored
Update header_comment (#3)
* Update header_comment* Update header_comment
1 parente8ca20f commit69ae98c

File tree

8 files changed

+45
-50
lines changed

8 files changed

+45
-50
lines changed

‎.php-cs-fixer.php‎

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
<?php
2+
3+
declare(strict_types=1);
24
/**
3-
* This file is part of Simps
5+
* This file is part of Simps.
46
*
5-
* @link https://github.com/simps/mqtt
7+
* @link https://github.com/simps/mqtt-cli
68
* @contact Lu Fei <lufei@simps.io>
79
*
810
* For the full copyright and license information,
9-
* please view the LICENSE file that was distributed with this source code
11+
* please view the LICENSE file that was distributed with this source code.
1012
*/
11-
12-
declare(strict_types=1);
13-
1413
$header = <<<'TEXT'
15-
This file is part of Simps
14+
This file is part of Simps.
1615
17-
@link https://github.com/simps/mqtt
16+
@link https://github.com/simps/mqtt-cli
1817
@contact Lu Fei <lufei@simps.io>
1918
2019
For the full copyright and license information,
21-
please view the LICENSE file that was distributed with this source code
20+
please view the LICENSE file that was distributed with this source code.
2221
TEXT;
2322

2423
return (newPhpCsFixer\Config())
@@ -31,8 +30,8 @@
3130
'header_comment' => [
3231
'comment_type' =>'PHPDoc',
3332
'header' =>$header,
34-
'separate' =>'bottom',
35-
'location' =>'after_open',
33+
'separate' =>'none',
34+
'location' =>'after_declare_strict',
3635
],
3736
'array_syntax' => [
3837
'syntax' =>'short',

‎bin/mqtt‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
#!/usr/bin/env php
22
<?php
3+
4+
declare(strict_types=1);
35
/**
4-
* This file is part of Simps
6+
* This file is part of Simps.
57
*
6-
* @see https://github.com/simps/mqtt
8+
* @see https://github.com/simps/mqtt-cli
79
* @contact Lu Fei <lufei@simps.io>
810
*
911
* For the full copyright and license information,
10-
* please view the LICENSE file that was distributed with this source code
12+
* please view the LICENSE file that was distributed with this source code.
1113
*/
1214
foreach (
1315
[

‎src/Command/PublishCommand.php‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
2+
3+
declare(strict_types=1);
24
/**
3-
* This file is part of Simps
5+
* This file is part of Simps.
46
*
5-
* @link https://github.com/simps/mqtt
7+
* @link https://github.com/simps/mqtt-cli
68
* @contact Lu Fei <lufei@simps.io>
79
*
810
* For the full copyright and license information,
9-
* please view the LICENSE file that was distributed with this source code
11+
* please view the LICENSE file that was distributed with this source code.
1012
*/
11-
12-
declare(strict_types=1);
13-
1413
namespaceSimps\MQTTCLI\Command;
1514

1615
useSimps\MQTTCLI\Handler\PublishHandler;

‎src/Command/SubscribeCommand.php‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
2+
3+
declare(strict_types=1);
24
/**
3-
* This file is part of Simps
5+
* This file is part of Simps.
46
*
5-
* @link https://github.com/simps/mqtt
7+
* @link https://github.com/simps/mqtt-cli
68
* @contact Lu Fei <lufei@simps.io>
79
*
810
* For the full copyright and license information,
9-
* please view the LICENSE file that was distributed with this source code
11+
* please view the LICENSE file that was distributed with this source code.
1012
*/
11-
12-
declare(strict_types=1);
13-
1413
namespaceSimps\MQTTCLI\Command;
1514

1615
useSimps\MQTTCLI\Handler\SubscribeHandler;

‎src/Event/AbstractEvent.php‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
2+
3+
declare(strict_types=1);
24
/**
3-
* This file is part of Simps
5+
* This file is part of Simps.
46
*
5-
* @link https://github.com/simps/mqtt
7+
* @link https://github.com/simps/mqtt-cli
68
* @contact Lu Fei <lufei@simps.io>
79
*
810
* For the full copyright and license information,
9-
* please view the LICENSE file that was distributed with this source code
11+
* please view the LICENSE file that was distributed with this source code.
1012
*/
11-
12-
declare(strict_types=1);
13-
1413
namespaceSimps\MQTTCLI\Event;
1514

1615
useSimps\MQTT\Client;

‎src/Handler/AbstractHandler.php‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
2+
3+
declare(strict_types=1);
24
/**
3-
* This file is part of Simps
5+
* This file is part of Simps.
46
*
5-
* @link https://github.com/simps/mqtt
7+
* @link https://github.com/simps/mqtt-cli
68
* @contact Lu Fei <lufei@simps.io>
79
*
810
* For the full copyright and license information,
9-
* please view the LICENSE file that was distributed with this source code
11+
* please view the LICENSE file that was distributed with this source code.
1012
*/
11-
12-
declare(strict_types=1);
13-
1413
namespaceSimps\MQTTCLI\Handler;
1514

1615
useSimps\MQTT\Client;

‎src/Handler/PublishHandler.php‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
2+
3+
declare(strict_types=1);
24
/**
3-
* This file is part of Simps
5+
* This file is part of Simps.
46
*
5-
* @link https://github.com/simps/mqtt
7+
* @link https://github.com/simps/mqtt-cli
68
* @contact Lu Fei <lufei@simps.io>
79
*
810
* For the full copyright and license information,
9-
* please view the LICENSE file that was distributed with this source code
11+
* please view the LICENSE file that was distributed with this source code.
1012
*/
11-
12-
declare(strict_types=1);
13-
1413
namespaceSimps\MQTTCLI\Handler;
1514

1615
useSimps\MQTT\Hex\ReasonCode;

‎src/Handler/SubscribeHandler.php‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
2+
3+
declare(strict_types=1);
24
/**
3-
* This file is part of Simps
5+
* This file is part of Simps.
46
*
5-
* @link https://github.com/simps/mqtt
7+
* @link https://github.com/simps/mqtt-cli
68
* @contact Lu Fei <lufei@simps.io>
79
*
810
* For the full copyright and license information,
9-
* please view the LICENSE file that was distributed with this source code
11+
* please view the LICENSE file that was distributed with this source code.
1012
*/
11-
12-
declare(strict_types=1);
13-
1413
namespaceSimps\MQTTCLI\Handler;
1514

1615
useSimps\MQTT\Hex\ReasonCode;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp