Skip to content

Commit 8871008

Browse files
committed
Fix suffix defaulting to 'src' #28
1 parent d7b7a46 commit 8871008

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ documented in this file.
66
The format is based on [Keep a Changelog](http://keepachangelog.com/)
77
and this project adheres to [Semantic Versioning](http://semver.org/).
88

9+
## [3.1.1] - 2018-03-21
10+
11+
- Fix for default `suffix` when whitelisting directories being defined as `src`.
12+
See #28 for information.
13+
914
## [3.1.0] - 2017-10-17 - Legacy maintenance release
1015

1116
- Update PHP requirement to `>=5.6` (from `>=5.3.10`)

src/Extension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function configure(ArrayNodeDefinition $builder)
148148
->useAttributeAsKey('name')
149149
->prototype('array')
150150
->children()
151-
->scalarNode('prefix')->defaultValue('src')->end()
151+
->scalarNode('prefix')->defaultValue('')->end()
152152
->scalarNode('suffix')->defaultValue('.php')->end()
153153
->end()
154154
->end()

0 commit comments

Comments
 (0)