-
Notifications
You must be signed in to change notification settings - Fork 13
No legacy #39
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
No legacy #39
Conversation
Oh. Interesting. I was just it would be a BC break. I’ll review this carefully shortly. |
We can use PHPStan's baseline feature to continue, so no worries about a dependency on that 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strictly speaking. I think there are BC breaks.
I like that you rebased this and I do think it makes sense to let 1.1.0
(or 1.1.1
) be the last 1.x release and then release 2.0 with this change.
It would make this library sooo much simpler. =)
* | ||
* @author Tobias Nyholm <tobias.nyholm@gmail.com> | ||
*/ | ||
class SymfonyPort |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is removing this class a BC break?
@@ -58,18 +58,8 @@ final class FileStorage implements Storage, TransferableStorage | |||
* @param array $dir | |||
* @param array $options | |||
*/ | |||
public function __construct($writer, $reader, array $dir, array $options = []) | |||
public function __construct(TranslationWriterInterface $writer, TranslationReaderInterface $reader, array $dir, array $options = []) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the possibility to use TranslationLoader
here is a BC break Im afraid.
I merge this PR. TODO before v2:
|
Wohoo! |
This is a rebase of #32
It removes a lot of classes, it will be way easier to run php-cs-fixer & PHPStan! ^^
(Need a major release)