cups-ipp icon indicating copy to clipboard operation
cups-ipp copied to clipboard

Update client compatibility for newer versions PHP >= 7.2, <= 8.1

Open nacholibre opened this issue 2 years ago • 3 comments

I've update a project from symfony 4.4 to symfony 5.4 and I've started to get errors like these:

Compile Error: Declaration of Smalot\\Cups\\Transport\\Client::sendRequest(Psr\\Http\\Message\\RequestInterface $request) must be compatible with Psr\\Http\\Client\\ClientInterface::sendRequest(Psr\\Http\\Message\\RequestInterface $request)

Changelog for this PR:

  1. Drop support for php 5.6, 7 and 7.1 - this was needed because newer versions of the packages required new php versions. I figured it's better to support php 8, so I've decided to drop support of these older php versions. Php 7.1 is EOF anyway.
  2. Update package used for testing atoum/atoum
  3. Add travis tests for all of the php versions - 7.2, 7.3, 7.4, 8.0 and 8.1
  4. Add version requirements for packages, because * can cause problems, like the ones we experience with the Compile Error:

nacholibre avatar Oct 27 '22 06:10 nacholibre