-
-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy path.php_cs.dist
More file actions
25 lines (20 loc) · 643 Bytes
/
.php_cs.dist
File metadata and controls
25 lines (20 loc) · 643 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
<?php
$date = date('Y');
$header = <<<EOF
Isotope eCommerce for Contao Open Source CMS
Copyright (C) 2009 - $date terminal42 gmbh & Isotope eCommerce Workgroup
@link https://isotopeecommerce.org
@license https://opensource.org/licenses/lgpl-3.0.html
EOF;
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules([
'header_comment' => ['header' => $header],
'native_function_invocation' => ['include' => ['@compiler_optimized']],
])
->setFinder(
PhpCsFixer\Finder::create()
->exclude('modules/isotope/library/UnitedPrototype')
->in([__DIR__.'/system'])
)
;