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.
mezzio-swoole/src/ConfigProvider.php
Lines 68 to 70 in 8058289
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:
- 9d05452#diff-ed3c456b054020246a5f40d326c3f57f6ac996ff6784937638ac9014982d0384L54-L58
- 9d05452#diff-ed3c456b054020246a5f40d326c3f57f6ac996ff6784937638ac9014982d0384L66-L70
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: