Closed TheFox closed 1 year ago
We test it against 7.4
How can I know? How do you know? There is no composer.json or something.
You can see here with which HumHub version the module is compatible. https://github.com/humhub/polls/blob/master/module.json#L8
The requirements for the modules are the same as for the respective HumHub version.
@luke- But the website https://docs.humhub.org/docs/admin/requirements#php-environment says we can you PHP 8.1 ? So what's right here?
Why are some of the Yes
in bold and some not?
@TheFox Yes, the latest version should work with PHP 8.1 to 7.4. If there is a problem here, feel free to open a bug report.
Bold are recommended versions.
But you wrote
We test it against 7.4
So you also testing against 8.0 and 8.1 ?
@TheFox Ah sorry, I meant the minimum version we are testing is 7.4
.
Currently 7.4
, 8.0
and 8.1
should be tested automatically.
See here: https://github.com/humhub/polls/actions/runs/3387741168
What is the minimum required PHP version for this module? I saw some of the code is probably PHP 7, but I am not sure. Are there any plans for migrating it to PHP 7 and further to PHP 8?
For example the old array syntax using
array()
is used instead of the new[]
.Also the fully qualified class name is used as a string instead of
::class
.