-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.php-cs-fixer.dist.php
More file actions
26 lines (21 loc) · 763 Bytes
/
.php-cs-fixer.dist.php
File metadata and controls
26 lines (21 loc) · 763 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
<?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__);
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,
])
;