forked from GeniusesOfSymfony/WebSocketBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.php_cs.dist
More file actions
24 lines (23 loc) · 757 Bytes
/
.php_cs.dist
File metadata and controls
24 lines (23 loc) · 757 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
<?php declare(strict_types=1);
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'@PHPUnit75Migration:risky' => true,
'array_syntax' => ['syntax' => 'short'],
'blank_line_after_opening_tag' => false,
'declare_strict_types' => true,
'fopen_flags' => false,
'ordered_imports' => true,
'protected_to_private' => true,
'void_return' => true,
])
->setRiskyAllowed(true)
->setFinder(
PhpCsFixer\Finder::create()
->notPath('vendor')
->in(__DIR__)
->append([__DIR__.'/GosWebSocketBundle.php', __FILE__])
->append([__DIR__.'/GosWebSocketEvents.php', __FILE__])
)
;