Skip to content

Commit a3eb218

Browse files
authored
Improve PHP-CS-Fixer configuration (#225)
1 parent 66e7e29 commit a3eb218

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.php-cs-fixer.dist.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Liquid package.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @package Liquid
10+
*/
11+
312
$header = <<<'EOF'
413
This file is part of the Liquid package.
514
@@ -11,6 +20,7 @@
1120

1221
$config = new PhpCsFixer\Config();
1322
$config
23+
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
1424
->setRiskyAllowed(true)
1525
->setRules([
1626
'@PSR2' => true,
@@ -40,6 +50,7 @@
4050
->setFinder(
4151
PhpCsFixer\Finder::create()
4252
->in(__DIR__)
53+
->append([__FILE__])
4354
)
4455
;
4556

0 commit comments

Comments
 (0)