mezzio / mezzio-swoole

Swoole support for Mezzio

Home Page:https://docs.mezzio.dev/mezzio-swoole/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unused configuration property "enable" and misleading documentation about static resources

thexpand opened this issue · comments

Not really a bug, but I noticed that the ConfigProvider has the key static-files which inside of it has the key enable - but that one is not used anywhere.

'static-files' => [
'enable' => true,
],

I checked the history of this package and noticed that at some point there was such a parameter, but it was removed as part of the "feat: event-driven handler runner" commit, check the references:

As a matter of fact, I think the lines from the documentation for disabling static resources are not relevant at all:

But the cookbook seems to be up to date with the correct information, though: