php-fig / container

MIT License
9.93k stars 52 forks source link

Why dependency on PHP 7.4.0 #43

Closed faisalrehmanlums closed 2 years ago

faisalrehmanlums commented 2 years ago

Hi,

I'm unable to understand why this package psr/container require PHP 7.4.0 as its just collection on some interfaces. I think it should require not more than php: >=5.4.0

Thanks!

roxblnfk commented 2 years ago

Don't worry the version 1.0.0 requires php >=5.3 https://github.com/php-fig/container/blob/b7ce3b176482dbbc1245ebf52b181af44c2cf55f/composer.json#L15

Jean85 commented 2 years ago

Exactly. The bump on the PHP requirement was done in #20; you can read on the PSR process evolution here: https://www.php-fig.org/bylaws/psr-evolution/

faisalrehmanlums commented 2 years ago

Thanks for your reply :)