File tree Expand file tree Collapse file tree 2 files changed +27
-15
lines changed Expand file tree Collapse file tree 2 files changed +27
-15
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ $ header = 'UserFrosting (http://www.userfrosting.com)
4
+
5
+ @link https://github.com/userfrosting/UserFrosting
6
+ @copyright Copyright (c) 2013-2024 Alexander Weissman & Louis Charette
7
+ @license https://github.com/userfrosting/UserFrosting/blob/master/LICENSE.md (MIT License) ' ;
8
+
9
+ $ rules = [
10
+ 'header_comment ' => [
11
+ 'header ' => $ header ,
12
+ ]
13
+ ];
14
+ $ finder = PhpCsFixer \Finder::create ()
15
+ ->in ([
16
+ __DIR__ . '/app/src ' ,
17
+ __DIR__ . '/app/tests ' ,
18
+ __DIR__ . '/public '
19
+ ]);
20
+ $ config = new PhpCsFixer \Config ();
21
+
22
+ return $ config
23
+ ->setRules ($ rules )
24
+ ->setFinder ($ finder )
25
+ ->setUsingCache (true )
26
+ ->setCacheFile (__DIR__ . '/.php_cs.cache ' )
27
+ ->setRiskyAllowed (true );
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments