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

Add PHP Attributes compatibility #24

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

guillaume-ro-fr
Copy link
Contributor

This PR contains the code for adding compatibility with PHP 8 attributes, without having to modify the minimum version of PHP or Doctrine annotations. A minor version can therefore be published.

In a major version, I suggest removing Doctrine annotations, or at least adding a minimum version at 1.12 to have named constructors.

It would be interesting to add compatibility with Symfony's HTTP client via contracts.

@farmatholin farmatholin merged commit 72ece7a into farmatholin:master Jan 30, 2024
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

Successfully merging this pull request may close these issues.

2 participants