Composer update?

  • - IMSCP: 1.5.3

    - Distribution: Debian 9

    - Proftpd

    - PHP FPM

    - MariaDB 10.1

    - Dovecot

    - Roundcube

    - Web2FTP

    - Plugins: PMA Captcha, RoundCubePlugins, SpamAssassin , LetsEncrypt, PHPswitcher, ClamAV



    is there a way to update the composer package without using the i-mscp installer - means only composer update from 1.8.0 to 2.1.3?

    Code
    1. nano /usr/local/src/imscp-1.5.3-mod-new/engine/PerlLib/iMSCP/Composer.pm
    2. # search for
    3. $self->{'composer_version'} = '1.8.0';
    4. # change to
    5. $self->{'composer_version'} = '2.1.3';

    that works so far, but I don't want to use the installer for some installations because of. special adaptations

  • installtion works, but afterwards when create a new reseller or client the panel shows

    Code
    1. Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/imscp/gui/library/vendor/Zend/library/Zend/Form.php on line 1173 Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/imscp/gui/library/vendor/Zend/library/Zend/Form.php on line 1690

    seems the ZEND library conflicts with composer 2.x ...

    any idea?