|
1 | 1 | <?php |
| 2 | + |
| 3 | +declare(strict_types=1); |
2 | 4 | /** |
3 | | - * This file is part of Simps |
| 5 | + * This file is part of Simps. |
4 | 6 | * |
5 | | - * @link https://github.com/simps/mqtt |
| 7 | + * @link https://github.com/simps/mqtt-cli |
6 | 8 | * @contact Lu Fei <lufei@simps.io> |
7 | 9 | * |
8 | 10 | * 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. |
10 | 12 | */ |
11 | | - |
12 | | -declare(strict_types=1); |
13 | | - |
14 | 13 | $header = <<<'TEXT' |
15 | | -This file is part of Simps |
| 14 | +This file is part of Simps. |
16 | 15 |
|
17 | | -@link https://github.com/simps/mqtt |
| 16 | +@link https://github.com/simps/mqtt-cli |
18 | 17 | @contact Lu Fei <lufei@simps.io> |
19 | 18 |
|
20 | 19 | 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. |
22 | 21 | TEXT; |
23 | 22 |
|
24 | 23 | return (newPhpCsFixer\Config()) |
|
31 | 30 | 'header_comment' => [ |
32 | 31 | 'comment_type' =>'PHPDoc', |
33 | 32 | 'header' =>$header, |
34 | | -'separate' =>'bottom', |
35 | | -'location' =>'after_open', |
| 33 | +'separate' =>'none', |
| 34 | +'location' =>'after_declare_strict', |
36 | 35 | ], |
37 | 36 | 'array_syntax' => [ |
38 | 37 | 'syntax' =>'short', |
|