-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.php-cs-fixer.php
34 lines (31 loc) · 979 Bytes
/
.php-cs-fixer.php
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
34
<?php
declare(strict_types=1);
/**
* This file is part of laravel-horizon-restart.
*
* @link https://github.com/huangdijia/laravel-horizon-restart
* @document https://github.com/huangdijia/laravel-horizon-restart/blob/main/README.md
* @contact [email protected]
*/
use Huangdijia\PhpCsFixer\Config;
require __DIR__ . '/vendor/autoload.php';
return (new Config())
->setHeaderComment(
projectName: 'laravel-horizon-restart',
projectLink: 'https://github.com/huangdijia/laravel-horizon-restart',
projectDocument: 'https://github.com/huangdijia/laravel-horizon-restart/blob/main/README.md',
contacts: [
],
)
->setFinder(
PhpCsFixer\Finder::create()
->exclude('public')
->exclude('runtime')
->exclude('vendor')
->in(__DIR__)
->append([
__FILE__,
])
)
->setUsingCache(false);