cups-ipp
cups-ipp copied to clipboard
Update client compatibility for newer versions PHP >= 7.2, <= 8.1
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:
- 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.
- Update package used for testing
atoum/atoum
- Add travis tests for all of the php versions - 7.2, 7.3, 7.4, 8.0 and 8.1
- Add version requirements for packages, because
*
can cause problems, like the ones we experience with theCompile Error: