Open rickschippers opened 5 years ago
Thanks for catching that.
I've pushed a fix to branch dev
. Have a look at it.
When I have more time I'll do some more testing and merge to master.
I tested dev-dev@dev. That doesn't fix the issue yet. I made a pull request with a possible solution:
Seem like dev-dev@dev through composer still gives me an older commit. Let me check again with your fix.
I didn't update composer. Now I have. Can you test again please.
dev-dev@dev now gives me your commit with the fix. That indeed fixes the issue. It will parse correct.
[VirtualHost.Include.0] => conf-available/php7.2-fpm.conf
[VirtualHost.Include.1] => expires.conf
Great! I guess its time for those GitHub Hooks for Packagist. I have always postponed this.
I'm using the library to parse apache configurations. I have a configuration like this:
When this is parsed the
VirtualHost.Include
config will have theexpires.conf
. During parsing it has overwritten theconf-available/php7.1-fpm.conf
, since the are both stored in in theInclude
key. But since you can have multiple Include statements in apache configuration they should not overwrite.