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

Enhancement: Recipient rework #102

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

OskarStark
Copy link
Contributor

No description provided.

@slunak
Copy link
Owner

slunak commented Sep 24, 2024

Hey @OskarStark

Few points:

  1. Rector is not happy, need to use attributes.
  2. trigger_deprecation() seems to be from symfony packages, what if user does not have it?
  3. Maybe first answer from https://stackoverflow.com/questions/194121/how-to-deprecate-a-function-in-php ?

composer.json Outdated
@@ -20,7 +20,8 @@
"require": {
"php": ">=8.2",
"ext-curl": "*",
"ext-json": "*"
"ext-json": "*",
"symfony/deprecation-contracts": "^3.5"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgot to add this @slunak

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually would like to avoid any dependencies. I would be ok to use point 3 above.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I come back later here, feel free to take over, I am a bit busy at the moment. sorry

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@OskarStark I have removed the dependency. I wonder, if trigger_error should be silenced though?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes 👍

@OskarStark
Copy link
Contributor Author

Should be good now

@OskarStark
Copy link
Contributor Author

Ready to merge I guess

@slunak slunak merged commit e1f2b27 into slunak:master Oct 9, 2024
6 checks passed
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