Deployer: php7.3.1 is not support

Created on 18 Jan 2019  Â·  6Comments  Â·  Source: deployphp/deployer

Problem 1
- fabpot/php-cs-fixer v2.5.0 requires php ^5.6 || >=7.0 <7.2 -> your PHP version (7.3.1) does not satisfy that requirement.
- fabpot/php-cs-fixer v2.5.0 requires php ^5.6 || >=7.0 <7.2 -> your PHP version (7.3.1) does not satisfy that requirement.
- fabpot/php-cs-fixer v2.5.0 requires php ^5.6 || >=7.0 <7.2 -> your PHP version (7.3.1) does not satisfy that requirement.
- Installation request for fabpot/php-cs-fixer (locked at v2.5.0, required as ^2.5) -> satisfiable by fabpot/php-cs-fixer[v2.5.0].

bug

All 6 comments

composer install deployer/deployer?

composer global require deployer/deployer

Hmm, will check why fabpot/php-cs-fixer is required. Or maybe just update composer deps?

I fix it by

curl -LO https://deployer.org/deployer.phar
mv deployer.phar /usr/local/bin/dep
chmod +x /usr/local/bin/dep

@antonmedv @OMGZui I tested it myself and Deployer works nicely with PHP 7.3.1. I suspect that you (@OMGZui) also installed fabpot/php-cs-fixer as a global dependency, where these two conflict with each other. Could you confirm this by returning your output from cat ~/.composer/composer.json?

â–¶ php -v
PHP 7.3.1 (cli) (built: Jan 10 2019 13:15:37) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.1, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.1, Copyright (c) 1999-2018, by Zend Technologies

â–¶ composer require deployer/deployer
Using version ^6.4 for deployer/deployer
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 10 installs, 0 updates, 0 removals
  - Installing symfony/polyfill-ctype (v1.10.0): Loading from cache
  - Installing symfony/yaml (v4.2.2): Downloading (100%)         
  - Installing symfony/process (v4.2.2): Downloading (100%)         
  - Installing symfony/polyfill-mbstring (v1.10.0): Loading from cache
  - Installing symfony/contracts (v1.0.2): Downloading (100%)         
  - Installing symfony/console (v4.2.2): Downloading (100%)         
  - Installing psr/container (1.0.0): Loading from cache
  - Installing pimple/pimple (v3.2.3): Downloading (100%)         
  - Installing deployer/phar-update (v2.1.0): Downloading (100%)         
  - Installing deployer/deployer (v6.4.3): Downloading (100%)         
symfony/contracts suggests installing psr/cache (When using the Cache contracts)
symfony/contracts suggests installing symfony/cache-contracts-implementation
symfony/contracts suggests installing symfony/service-contracts-implementation
symfony/contracts suggests installing symfony/translation-contracts-implementation
symfony/console suggests installing psr/log-implementation (For using the console logger)
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
Writing lock file
Generating autoload files

@cafferata You are right, i remove fabpot/php-cs-fixer and it ok.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

flashios09 picture flashios09  Â·  4Comments

k-solnushkin picture k-solnushkin  Â·  5Comments

brunodevel picture brunodevel  Â·  3Comments

greatwitenorth picture greatwitenorth  Â·  4Comments

dima-stefantsov picture dima-stefantsov  Â·  5Comments