- changed status to resolved
composer setup does not work on php5.6
Issue #19
resolved
using docker run -it php:5.6.32 /bin/bash
and the following commands:
apt-get update && apt-get install -y unzip git
git clone https://simon_massey@bitbucket.org/simon_massey/thinbus-php.git
cd thinbus-php
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
composer install
vendor/bin/phpunit ThinbusTestQuick.php
I get 15 errors like:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for phpdocumentor/reflection-docblock 4.2.0 -> satisfiable by phpdocumentor/reflection-docblock[4.2.0].
- phpdocumentor/reflection-docblock 4.2.0 requires php ^7.0 -> your PHP version (5.6.32) does not satisfy that requirement.
Problem 2
- Installation request for phpunit/php-code-coverage 5.3.0 -> satisfiable by phpunit/php-code-coverage[5.3.0].
- phpunit/php-code-coverage 5.3.0 requires php ^7.0 -> your PHP version (5.6.32) does not satisfy that requirement.
Problem 3
- Installation request for phpunit/php-token-stream 2.0.2 -> satisfiable by phpunit/php-token-stream[2.0.2].
- phpunit/php-token-stream 2.0.2 requires php ^7.0 -> your PHP version (5.6.32) does not satisfy that requirement.
Problem 4
- Installation request for phpunit/phpunit 6.5.4 -> satisfiable by phpunit/phpunit[6.5.4].
- phpunit/phpunit 6.5.4 requires php ^7.0 -> your PHP version (5.6.32) does not satisfy that requirement.
Comments (1)
-
reporter - Log in to comment
Have created a tar and instructions for php5.6 so as to not have to fix this on php5.6 as active support stopped 9 days ago and it will stop getting security fixes after 2018 so people who are concerned with security need to get off it now.