ory / sdk

The place where ORY's SDKs are being auto-generated
Apache License 2.0
139 stars 86 forks source link

ory/client-php is full of deprecation notices in PHP 8.1 #250

Open BrandonNoad opened 1 year ago

BrandonNoad commented 1 year ago

Preflight checklist

Describe the bug

Examples: Cursor_and_Demo_College

See the following article for more context: https://php.watch/versions/8.1/internal-method-return-types

Upgrading openapi-generator may fix the issue as it looks like the issue has been fixed there: https://github.com/OpenAPITools/openapi-generator/pull/11743

Reproducing the bug

Run the login example from https://www.ory.sh/docs/getting-started/integrate-auth/php in PHP 8.1

Relevant log output

No response

Relevant configuration

No response

Version

Ory Network

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Ory Network

Additional Context

No response