cebe / yii2-openapi

REST API application generator for Yii2, openapi 3.0 YAML -> Yii2
MIT License
130 stars 23 forks source link

Minimal php version for 2.0 release? #87

Open Insolita opened 3 years ago

Insolita commented 3 years ago

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

cebe commented 3 years ago

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?

demonking commented 3 years ago

Isn't reaching EOL a good reason? :)

cebe commented 3 years ago

no, EOL does not reflect real world usage.