Skip to content

Commit d82ce92

Browse files
committed
CS Config
1 parent 2d37203 commit d82ce92

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.php_cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php declare(strict_types=1);
2+
3+
use ApiClients\Tools\TestUtilities\PhpCsFixerConfig;
4+
use PhpCsFixer\Config;
5+
6+
return (function (): Config
7+
{
8+
$paths = [
9+
__DIR__ . DIRECTORY_SEPARATOR . 'src',
10+
__DIR__ . DIRECTORY_SEPARATOR . 'tests',
11+
__DIR__ . DIRECTORY_SEPARATOR . 'examples',
12+
];
13+
14+
return PhpCsFixerConfig::create()
15+
->setFinder(
16+
PhpCsFixer\Finder::create()
17+
->in($paths)
18+
->append($paths)
19+
)
20+
->setUsingCache(false)
21+
;
22+
})();

0 commit comments

Comments
 (0)