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

IBX-2432: Removed unused dependency from SelecionConverter #87

Merged
merged 2 commits into from
Mar 2, 2022

Conversation

pspanja
Copy link
Contributor

@pspanja pspanja commented Feb 25, 2022

Question Answer
JIRA issue IBX-2432
Type bug
Target Ibexa version v4.0
BC breaks no

Repository LanguageService is not used in the SelectionConverter and it also does not belong in this layer.

Checklist:

  • Provided PR description.
  • Tested the solution manually.
  • Provided automated test coverage.
  • Checked that target branch is set correctly (main for features, the oldest supported for bugs).
  • Ran PHP CS Fixer for new PHP code (use $ composer fix-cs).
  • Asked for a review (ping @ibexa/engineering).

@pspanja pspanja force-pushed the IBX-2432_selection_converter branch from 97f44ef to 04dbcc9 Compare February 25, 2022 05:50
@pspanja
Copy link
Contributor Author

pspanja commented Feb 25, 2022

@alongosz unsure about the complaints, any tips?

@pspanja pspanja force-pushed the IBX-2432_selection_converter branch from 04dbcc9 to 6e93d5a Compare February 25, 2022 06:19
Copy link
Member

@alongosz alongosz left a comment

Choose a reason for hiding this comment

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

@pspanja this is a PHPStan report. There was a bug - technical debt - committed to ./phpstan-baseline.neon for future review and fixing. It is caused by \Ibexa\Core\Persistence\Legacy\Content\FieldValue\Converter\SelectionConverter::create which invokes constructor without arguments. It was incorrect, now it's correct, since you dropped that argument, so you can remove this report from ./phpstan-baseline.neon (lines 183-187).

@pspanja
Copy link
Contributor Author

pspanja commented Feb 27, 2022

@alongosz thanks, done in 32223ad. The remaining errors do not seem related to this PR.

@alongosz alongosz changed the title IBX-2432: remove unused dependency IBX-2432: Removed unused dependency from SelecionConverter Mar 1, 2022
@adamwojs adamwojs merged commit a5b6277 into ibexa:main Mar 2, 2022
@alongosz
Copy link
Member

alongosz commented Mar 2, 2022

Thank you @pspanja! 🎉

@pspanja pspanja deleted the IBX-2432_selection_converter branch March 2, 2022 13:21
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.

5 participants