Skip to content

Commit 0c60f0a

Browse files
committed
Expands the Php preset
1 parent e553eba commit 0c60f0a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Presets/PhpPreset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function getPresetGlob(): array
2525
'rector*',
2626
'phpkg.con*',
2727
'package*',
28-
'pint.json',
28+
'pint.{json,php}',
2929
'renovate.json',
3030
'*debugbar.json',
3131
'ecs*',

tests/AnalyserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ public function returnsExpectedDefaultGlobPatterns(): void
15531553
'phpkg.con*',
15541554
'phpstan*',
15551555
'phpunit*',
1556-
'pint.json',
1556+
'pint.{json,php}',
15571557
'rector*',
15581558
'renovate.json',
15591559
'sonar*',

tests/Commands/InitCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function createsExpectedDefaultLpvFile(): void
9999
rector*
100100
phpkg.con*
101101
package*
102-
pint.json
102+
pint.{json,php}
103103
renovate.json
104104
*debugbar.json
105105
ecs*

0 commit comments

Comments
 (0)