-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.php-cs-fixer.dist.php
More file actions
33 lines (25 loc) · 811 Bytes
/
Copy path.php-cs-fixer.dist.php
File metadata and controls
33 lines (25 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
declare(strict_types=1);
use PhpCsFixer\Config;
require __DIR__ . '/vendor/autoload.php';
$finder = PhpCsFixer\Finder::create()
->in([
__DIR__ . '/src',
__DIR__ . '/tests',
]);
return (new Config())
->setFinder($finder)
->setRules([
'@Symfony' => true,
'header_comment' => [
'comment_type' => 'comment',
'header' => <<<HEREDOC
This file is part of jwt-auth.
(c) 2014-2021 Sean Tymon <tymon148@gmail.com>
(c) 2021 PHP Open Source Saver
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
HEREDOC,
'location' => 'after_declare_strict',
]
]);