-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathPhpPreset.php
More file actions
37 lines (33 loc) · 899 Bytes
/
PhpPreset.php
File metadata and controls
37 lines (33 loc) · 899 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
31
32
33
34
35
36
37
<?php
declare(strict_types=1);
namespace Stolt\LeanPackage\Presets;
use Stolt\LeanPackage\Preset;
final class PhpPreset extends CommonPreset implements Preset
{
public function getPresetGlob(): array
{
return \array_unique(\array_merge($this->getCommonGlob(), [
'*.lock',
'phpunit*',
'appveyor.yml',
'box.json',
'composer-dependency-analyser*',
'collision-detector*',
'captainhook.json',
'peck.json',
'infection*',
'phpstan*',
'sonar*',
'rector*',
'phpkg.con*',
'package*',
'pint.{json,php}',
'renovate.json',
'*debugbar.json',
'phpinsights*',
'ecs*',
'RMT',
'{{M,m}ake,{B,b}ox,{V,v}agrant,{P,p}hulp}file'
]));
}
}