Skip to content

Commit 8f8d9fa

Browse files
author
DKravtsov
committed
updated composer dependencies
1 parent 1c73397 commit 8f8d9fa

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.php_cs.dist renamed to .php-cs-fixer.dist.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?php
22

33
// https://mlocati.github.io/php-cs-fixer-configurator/
4-
return PhpCsFixer\Config::create()
4+
$finder = PhpCsFixer\Finder::create()->in(__DIR__)->exclude('somedir');
5+
6+
return (new PhpCsFixer\Config())
57
->setRules([
68
'@Symfony' => true,
79
'array_syntax' => ['syntax' => 'short'],
@@ -27,5 +29,4 @@
2729
'not_operator_with_successor_space' => false,
2830
'single_line_throw' => false,
2931

30-
])
31-
;
32+
])->setFinder($finder);

docs/phpstorm/Inspections.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
</inspection_tool>
108108
<inspection_tool class="PhpCSValidationInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
109109
<option name="CODING_STANDARD" value="PSR12" />
110-
<option name="CUSTOM_RULESET_PATH" value=".php_cs.dist" />
110+
<option name="CUSTOM_RULESET_PATH" value=".php-cs-fixer.dist.php" />
111111
<option name="SHOW_SNIFF_NAMES" value="true" />
112112
<option name="EXTENSIONS" value="php,js,css,inc" />
113113
</inspection_tool>

0 commit comments

Comments
 (0)