Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When will a PHP 8.1 release be made? #131

Open
HughDuggan opened this issue Aug 16, 2022 · 4 comments
Open

When will a PHP 8.1 release be made? #131

HughDuggan opened this issue Aug 16, 2022 · 4 comments

Comments

@HughDuggan
Copy link

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?

@Robertkeli
Copy link

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.

@daledavies
Copy link

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",
    }

@danlafreniere
Copy link

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",
    }

This worked for me as well; thanks kindly!

@daledavies
Copy link

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",
    }

This worked for me as well; thanks kindly!

You're welcome, glad I could help 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants