Task #13486

Composer dependencies don't work in PHP 7.2

Added by José Raddaoui Marín about 1 month ago. Updated about 1 month ago.

Status:VerifiedStart date:03/22/2021
Priority:MediumDue date:
Assignee:-% Done:

0%

Category:Continuous Integration
Target version:Release 2.7.0
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:

Description

The latest update of Composer dependencies upgraded a dependency to a version that requires PHP 7.3:

https://github.com/artefactual/atom/blob/qa/2.x/composer.lock#L1085

While this dependency is only required for development and testing, it breaks the CI process and the tests over PHP 7.2 (after fixing #13485).

PHP 7.2 is no longer a supported version (https://www.php.net/supported-versions.php), so we should decide if we want to drop its support for AtoM 2.7 (and remove it from the CI process), or pin the PHPUnit dependency to a version that supports PHP 7.2 to able to test in that version.


Related issues

Related to Access to Memory (AtoM) - Bug #13488: Use PHP 7.4 and Composer 2 in Docker environment Verified 03/22/2021
Related to Access to Memory (AtoM) - Task #13485: The CI process should use the composer.lock file to insta... Verified 03/22/2021

History

#1 Updated by José Raddaoui Marín about 1 month ago

  • Related to Bug #13488: Use PHP 7.4 and Composer 2 in Docker environment added

#2 Updated by José Raddaoui Marín about 1 month ago

  • Related to Task #13485: The CI process should use the composer.lock file to install dependencies added

#3 Updated by José Raddaoui Marín about 1 month ago

Decided that we will support Ubuntu 20.04 and PHP 7.4 (and ideally PHP 8 and CentOS) for the 2.7 release, so we'll remove 7.2 and 7.3 from the CI process.

#4 Updated by José Raddaoui Marín about 1 month ago

  • Status changed from New to Code Review
  • Assignee deleted (José Raddaoui Marín)

#5 Updated by José Raddaoui Marín about 1 month ago

  • Status changed from Code Review to Verified

Merged in qa/2.x. Unit tests are only running in Ubuntu 20.04 and PHP 7.4 at the moment, using composer install.

https://github.com/artefactual/atom/actions/runs/682040510

Also available in: Atom PDF