yii2-openapi icon indicating copy to clipboard operation
yii2-openapi copied to clipboard

Minimal php version for 2.0 release?

Open Insolita opened this issue 4 years ago • 3 comments

Should we still keep the minimal php 7.1 version ? Even 7.2 already reach end of life

Insolita avatar Nov 06 '21 08:11 Insolita

I prefer to define minimum version by compatibility and features used. So I'd raise the minimum version when we find we could improve things by using features form newer php versions.

7.1 is set as minimum version because of type hints and we do not support 7.0 because of nullable hint on type hints.

Is there anything in 7.2, 7.3 or 7.4 that is worth raising this minimum version?

cebe avatar Nov 11 '21 07:11 cebe

Isn't reaching EOL a good reason? :)

demonking avatar Nov 12 '21 12:11 demonking

no, EOL does not reflect real world usage.

cebe avatar Nov 15 '21 08:11 cebe