-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.php-cs-fixer.dist.php
More file actions
30 lines (25 loc) · 840 Bytes
/
.php-cs-fixer.dist.php
File metadata and controls
30 lines (25 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
$license = <<<LICENSE
This file is part of the community-maintained Playwright PHP project.
It is not affiliated with or endorsed by Microsoft.
(c) 2025-Present - Playwright PHP - https://github.com/playwright-php
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
LICENSE;
$finder = (new PhpCsFixer\Finder())
->in([
__DIR__.'/config',
__DIR__.'/src',
__DIR__.'/tests',
]);
return (new PhpCsFixer\Config())
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
->setFinder($finder)
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'declare_strict_types' => true,
'header_comment' => ['header' => $license],
'no_unused_imports' => true,
])
;