forked from prokerala/astrology-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.php_cs
More file actions
29 lines (26 loc) · 709 Bytes
/
.php_cs
File metadata and controls
29 lines (26 loc) · 709 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
29
<?php
// for more info see:
// https://github.com/FriendsOfPHP/PHP-CS-Fixer#usage
// https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/UPGRADE.md
$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
;
return PhpCsFixer\Config::create()
->setRules([
'@PSR1' => true,
'@PSR2' => true,
'@Symfony' => true,
'@PhpCsFixer' => true,
'@PHP71Migration' => true,
'cast_spaces' => ['space' => 'none'],
'concat_space' => ['spacing' => 'one'],
'class_definition' => true,
'phpdoc_separation' => false,
'phpdoc_summary' => false,
'semicolon_after_instruction' => false,
'no_short_echo_tag' => false,
'no_alternative_syntax' => false,
])
->setLineEnding("\n")
->setFinder($finder)
;