Skip to content

Commit c72b45d

Browse files
authored
chore: update Fixer config (#29)
1 parent 7d8421b commit c72b45d

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

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

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
<?php
22

3+
/*
4+
* This file is part of PHP CS Fixer / PHPUnit Constraint XmlMatchesXsd.
5+
*
6+
* (c) SpacePossum
7+
* Dariusz Rumiński <[email protected]>
8+
*
9+
* This source file is subject to the MIT license that is bundled
10+
* with this source code in the file LICENSE.
11+
*/
12+
13+
use PhpCsFixer\Config;
14+
use PhpCsFixer\Finder;
15+
316
$header = <<<'EOF'
417
This file is part of PHP CS Fixer / PHPUnit Constraint XmlMatchesXsd.
518
@@ -10,12 +23,13 @@
1023
with this source code in the file LICENSE.
1124
EOF;
1225

13-
$finder = PhpCsFixer\Finder::create()
26+
$finder = Finder::create()
1427
->exclude('tests/Fixtures')
1528
->in(__DIR__)
29+
->append([__FILE__])
1630
;
1731

18-
return (new PhpCsFixer\Config())
32+
return (new Config())
1933
->setRiskyAllowed(true)
2034
->setRules([
2135
'@PhpCsFixer' => true,

0 commit comments

Comments
 (0)