forked from lob/lob-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.php_cs
More file actions
23 lines (22 loc) · 665 Bytes
/
.php_cs
File metadata and controls
23 lines (22 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
return PhpCsFixer\Config::create()
->setUsingCache(true)
->setRules([
"@PSR2" => true,
"ordered_imports" => true,
"phpdoc_order" => true,
"array_syntax" => ["syntax" => "short"],
"strict_comparison" => true,
"strict_param" => true,
"no_trailing_whitespace" => false,
"no_trailing_whitespace_in_comment" => false,
"braces" => false,
"single_blank_line_at_eof" => false,
"blank_line_after_namespace" => false,
])
->setFinder(
PhpCsFixer\Finder::create()
->exclude("test")
->exclude("tests")
->in(__DIR__)
);