-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.php_cs
More file actions
28 lines (23 loc) · 683 Bytes
/
.php_cs
File metadata and controls
28 lines (23 loc) · 683 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
26
27
28
<?php
$finder = PhpCsFixer\Finder::create()
->in('src')
;
$header = <<<EOT
This file is part of the tmilos/scim-schema package.
(c) Milos Tomic <tmilos@gmail.com>
This source file is subject to the MIT license that is bundled
with this source code in the file LICENSE.
EOT;
return PhpCsFixer\Config::create()
->setRules(array(
'@Symfony' => true,
'simplified_null_return' => false,
'phpdoc_no_empty_return' => false,
'yoda_style' => null,
'self_accessor' => false,
'no_mixed_echo_print' => ['use' => 'print'],
'header_comment' => ['header' => $header],
))
->setUsingCache(false)
->setFinder($finder)
;