File tree 1 file changed +16
-2
lines changed
1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
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
+
3
16
$ header = <<<'EOF'
4
17
This file is part of PHP CS Fixer / PHPUnit Constraint XmlMatchesXsd.
5
18
10
23
with this source code in the file LICENSE.
11
24
EOF;
12
25
13
- $ finder = PhpCsFixer \ Finder::create ()
26
+ $ finder = Finder::create ()
14
27
->exclude ('tests/Fixtures ' )
15
28
->in (__DIR__ )
29
+ ->append ([__FILE__ ])
16
30
;
17
31
18
- return (new PhpCsFixer \ Config ())
32
+ return (new Config ())
19
33
->setRiskyAllowed (true )
20
34
->setRules ([
21
35
'@PhpCsFixer ' => true ,
You can’t perform that action at this time.
0 commit comments