yii2tech/ar-softdelete

Instalation via Composer fail, using php version 7.3.7

budimm opened this issue · 1 comments

What steps will reproduce the problem?

php composer.phar require --prefer-dist yii2tech/ar-softdelete

What is the expected result?

Instalation success

What do you get instead?

Using version ^1.0 for yii2tech/ar-softdelete
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - mpdf/mpdf 7.0.2 requires php ^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 -> your PHP version (7.3.7) does not satisfy that requirement.
    - mpdf/mpdf 7.0.2 requires php ^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 -> your PHP version (7.3.7) does not satisfy that requirement.
    - mpdf/mpdf 7.0.2 requires php ^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 -> your PHP version (7.3.7) does not satisfy that requirement.
    - Installation request for mpdf/mpdf (locked at 7.0.2) -> satisfiable by mpdf/mpdf[7.0.2].

Additional info

| Q                     | A
| --------------------- | ---
| This Package Version  | ^1.0.0
| Yii Framework Version | 2.0.0
| PHP version           |  7.3.7
| Operating system      | Ubuntu 18.04

Unable to reproduce.
This package is successfully installed with PHP 7.3 via Travis:
https://travis-ci.org/yii2tech/ar-softdelete/jobs/565434437

From the composer error message you provided, it is clear your trouble comes from "mpdf/mpdf" library, which PHP version constraint is "^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0".