When will a PHP 8.1 release be made?
Hi,
I note that there is already a fix for a PHP 8.1 incompatibility and it was merged to 'master' in April 2022 [https://github.com/unsplash/unsplash-php/commit/ae77fb8f9c5845579883853b5b7ad08a8654abf1]. But the last general release (3.2.1) was in January 2022.
Are there any timescales for a new release (3.2.2?) which will include this fix and will therefore work better on PHP 8.1?
Asking the same question as well, trying to use the package with PHP 8.1 is proving to be problematic due to the incessant deprecation warnings.
I hit this problem too, but for now using something like the foloowing in composer.json seems to work fine...
"repositories": [
{
"type": "git",
"url": "https://github.com/unsplash/unsplash-php.git"
}
],
"require": {
"unsplash/unsplash": "dev-master#429ad0daa4f498b9ed42fe4f0053a44fb47645b7",
}
I hit this problem too, but for now using something like the foloowing in
composer.jsonseems to work fine..."repositories": [ { "type": "git", "url": "https://github.com/unsplash/unsplash-php.git" } ], "require": { "unsplash/unsplash": "dev-master#429ad0daa4f498b9ed42fe4f0053a44fb47645b7", }
This worked for me as well; thanks kindly!
I hit this problem too, but for now using something like the foloowing in
composer.jsonseems to work fine..."repositories": [ { "type": "git", "url": "https://github.com/unsplash/unsplash-php.git" } ], "require": { "unsplash/unsplash": "dev-master#429ad0daa4f498b9ed42fe4f0053a44fb47645b7", }This worked for me as well; thanks kindly!
You're welcome, glad I could help 😀