-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
Move some namespaces on Exceptions #768
Move some namespaces on Exceptions #768
Conversation
loic425
commented
Nov 2, 2023
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Related tickets | |
License | MIT |
|
||
namespace Sylius\Resource\Exception; | ||
|
||
final class VariantWithNoOptionsValuesException extends \Exception |
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.
Why this exception is necessary in sylius/resource
, which doesn't know anything about variants?
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.
I don't know bro... should be on Product package I think
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.
Issue created #867
522bca7
to
faf5da4
Compare
@diimpp I've just rebased this PR to solve conflicts but I still have to work on your suggestions. |
660d7dd
to
a70297e
Compare
@diimpp @lchrusciel I've fixed conflicts again on this one. |
@@ -22,6 +24,16 @@ function it_extends_an_exception(): void | |||
$this->shouldHaveType(\Exception::class); | |||
} | |||
|
|||
function it_is_a_runtime_exception(): void |
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.
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.
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.
You're right 👍 done
2e265a9
to
cc473c0
Compare
Thank you, @loic425! |