Commit 917a2af
committed
bug symfony#61667 [Config] Fix
This PR was merged into the 6.4 branch.
Discussion
----------
[Config] Fix `GlobResource` pattern with trailing slash
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
I've noticed that when using exclude patterns in service imports, a trailing slash doesn't always work:
* `../src/Foo/` - works with the trailing slash
* `../src/**/Foo/` - doesn't work with the trailing slash
Commits
-------
ba0712d [Config] Fix `GlobResource` pattern with trailing slashGlobResource pattern with trailing slash (HypeMC)File tree
2 files changed
+8
-12
lines changed- src/Symfony/Component/Config
- Resource
- Tests/Resource
2 files changed
+8
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
Lines changed: 7 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | | - | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 44 | | |
49 | 45 | | |
50 | 46 | | |
| |||
0 commit comments