pachico / slim-swoole

Convenient library to run SlimPHP applications with Swoole
https://github.com/pachico/slim-swoole/
MIT License
95 stars 12 forks source link

Swoole doesn't build in PHP versions < 7.0 #3

Closed pachico closed 6 years ago

pachico commented 6 years ago

Detailed description

Travis doesn't seem to be able to build in PHP 5.*. Not sure it's Travis or Swoole has dropped support for it and PEAR repository doesn't include a valid version of it anymore.

pachico commented 6 years ago

Indeed, from Travis log:

WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
pecl/swoole requires PHP (version >= 7.0.0), installed version is 5.6.32
No valid packages found
install failed

This requires to drop support for 5.*, which means classes can be strongly typed.