Skip to content

Commit dc92d31

Browse files
committed
Expands the PHP preset
1 parent 5d8e8a2 commit dc92d31

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
77

88
## [Unreleased]
99

10+
### Added
11+
- Expanded the PHP preset patterns.
12+
1013
## [v6.3.1] - 2026-10-15
1114

1215
### Fixed

‎src/Presets/PhpPreset.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ public function getPresetGlob(): array
1212
{
1313
return \array_unique(\array_merge($this->getCommonGlob(), [
1414
'*.lock',
15+
'castor.php',
1516
'phpunit*',
1617
'appveyor.yml',
1718
'box.json',
1819
'composer-dependency-analyser*',
1920
'collision-detector*',
2021
'captainhook.json',
22+
'extension.neon',
2123
'peck.json',
2224
'infection*',
2325
'phpstan*',

‎tests/AnalyserTest.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1930,10 +1930,12 @@ public function returnsExpectedDefaultGlobPatterns(): void
19301930
'appveyor.yml',
19311931
'box.json',
19321932
'captainhook.json',
1933+
'castor.php',
19331934
'collision-detector*',
19341935
'composer-dependency-analyser*',
19351936
'ecs*',
19361937
'infection*',
1938+
'extension.neon',
19371939
'package*',
19381940
'peck.json',
19391941
'phpinsights*',

0 commit comments

Comments
 (0)