We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f0c418f + 4592b34 commit cde7e33Copy full SHA for cde7e33
src/Php70.php
@@ -0,0 +1,33 @@
1
+<?php
2
+
3
+namespace M6Web\CS\Config;
4
5
+use PhpCsFixer\Config;
6
7
+final class Php70 extends Config
8
+{
9
+ public function __construct()
10
+ {
11
+ parent::__construct('M6Web (PHP 7.0)');
12
13
+ $this->setRiskyAllowed(true);
14
+ }
15
16
+ public function getRules()
17
18
+ $rules = [
19
+ '@Symfony' => true,
20
+ 'array_syntax' => [
21
+ 'syntax' => 'short',
22
+ ],
23
+ 'no_unreachable_default_argument_value' => false,
24
+ 'braces' => [
25
+ 'allow_single_line_closure' => true,
26
27
+ 'heredoc_to_nowdoc' => false,
28
+ 'phpdoc_summary' => false,
29
+ ];
30
31
+ return $rules;
32
33
+}
0 commit comments