Skip to content

Remove deprecated code from SenderInterface#221

Open
Rafikooo wants to merge 3 commits intoSylius:3.0from
Rafikooo:sender-outdated-code
Open

Remove deprecated code from SenderInterface#221
Rafikooo wants to merge 3 commits intoSylius:3.0from
Rafikooo:sender-outdated-code

Conversation

@Rafikooo
Copy link
Contributor

@Rafikooo Rafikooo commented Feb 7, 2024

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets #152
License MIT

We neglected to remove outdated code before the 2.0 release

@Rafikooo Rafikooo added the Maintenance Configurations, READMEs, releases, etc. label Feb 7, 2024
@Rafikooo Rafikooo requested a review from a team as a code owner February 7, 2024 21:19
@lchrusciel
Copy link
Contributor

The only problem with that is... we will have to release 3.0 xd

@Rafikooo
Copy link
Contributor Author

@lchrusciel

The only problem with that is... we will have to release 3.0 xd

https://github.com/Sylius/SyliusMailerBundle/pull/152/files#diff-d35d1dd923e4c4e041393cf2b058d9e1fb0556e5d6b71657f36b18c999c92b37R25

If I am seeing correctly, deprecations were introduced in[v1.8.0-BETA.1](https://github.com/Sylius/SyliusMailerBundle/releases/tag/v1.8.0-BETA.1) so couldn't we release a minor version like 2.2.0 instead?

@lchrusciel
Copy link
Contributor

Unfortunately, no, because once we released 2.0, we created a new contract. But it is not a big deal to do so

@Zales0123
Copy link
Contributor

Let's maybe just open a 3.0 branch, why not? 😅

@Zales0123 Zales0123 changed the base branch from 2.0 to 3.0 July 29, 2024 15:36
@Zales0123 Zales0123 force-pushed the sender-outdated-code branch 4 times, most recently from 94a2b40 to 6c01c23 Compare July 29, 2024 20:01
@Rafikooo Rafikooo force-pushed the sender-outdated-code branch from 6c01c23 to c6fe673 Compare January 13, 2026 13:47
Remove obsolete PHPStan ignore patterns for $ccRecipients and
$bccRecipients parameters that now exist in the interface.
Fix spec test to use CcAwareSenderAdapterInterface when testing
sendWithCC functionality.
Address review feedback: use let() method to set up default
construction with SenderAdapterInterface, and only use
beConstructedWith() in tests that need different adapters.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintenance Configurations, READMEs, releases, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants