We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9bf1e2 commit a413081Copy full SHA for a413081
2 files changed
.php-cs-fixer.headers.php
@@ -0,0 +1,27 @@
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);
.styleci.yml
0 commit comments