-
Notifications
You must be signed in to change notification settings - Fork 2
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
Symfony 6.4 upgrade #620
Symfony 6.4 upgrade #620
Conversation
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.
Recurring issues:
- I noticed a lot of commented strict_type declarations. Why did you disable them? If we are not adding strict types there, please remove them. But even better, I much prefer we enable strict typing throughout the app.
- A lot of PHPDoc type hints are still present. Please remove them and at those points I missed type definitions.
- The removal of the
if (empty($foobar))
condition that you replaced with the!=='' || == '0' || ..
construction does not sit right with me. I'd like to see the original to return. Or that you implement an alternative that is not so expressive.
src/Surfnet/ServiceProviderDashboard/Application/Assembler/ServiceStatusAssembler.php
Outdated
Show resolved
Hide resolved
src/Surfnet/ServiceProviderDashboard/Application/Assembler/ServiceStatusAssembler.php
Show resolved
Hide resolved
src/Surfnet/ServiceProviderDashboard/Application/Assembler/ServiceStatusAssembler.php
Outdated
Show resolved
Hide resolved
...erviceProviderDashboard/Application/Command/Entity/SaveOidcngResourceServerEntityCommand.php
Show resolved
Hide resolved
src/Surfnet/ServiceProviderDashboard/Application/Command/Entity/UpdateEntityAclCommand.php
Outdated
Show resolved
Hide resolved
src/Surfnet/ServiceProviderDashboard/Application/Command/Entity/UpdateEntityAclCommand.php
Show resolved
Hide resolved
src/Surfnet/ServiceProviderDashboard/Application/Command/Service/CreateServiceCommand.php
Show resolved
Hide resolved
src/Surfnet/ServiceProviderDashboard/Application/Command/Service/CreateServiceCommand.php
Show resolved
Hide resolved
...iceProviderDashboard/Application/CommandHandler/Entity/EntityChangeRequestCommandHandler.php
Outdated
Show resolved
Hide resolved
...iceProviderDashboard/Application/CommandHandler/Entity/EntityChangeRequestCommandHandler.php
Show resolved
Hide resolved
...rviceProviderDashboard/Application/CommandHandler/Entity/PublishEntityTestCommandHandler.php
Outdated
Show resolved
Hide resolved
src/Surfnet/ServiceProviderDashboard/Application/Dto/ServiceStatusDto.php
Outdated
Show resolved
Hide resolved
36ecc86
to
3c04dcb
Compare
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.
- The Test integration run is not green yet. Hangs on a lockfile issue as it seems
- I'd still like to discuss the introduction of this logic. The code maybe became more type safe that way, but readability took a big hit here IMHO.
$entity->getId() === null || $entity->getId() === '' || $entity->getId() === '0';
Perhaps we can move this check to a helper function, reinstate the old behavior, ... insert your ideas here ...
src/Surfnet/ServiceProviderDashboard/Application/Command/Entity/UpdateEntityAclCommand.php
Outdated
Show resolved
Hide resolved
fe57b7c
to
67c979c
Compare
I think all rleft over review points are addressed now |
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.
Ship it, my Spanish friend. Would you be so kind to:
- First rebase the recent Jira changes?
- Update the PR description
- Update the Wiki checklist
- Review the git history of this PR, you can decide to leave the log, or to squash merge them into 1. I think the log is good'enuff to merge it as is. But your the judge in the end.
- Create a new release branch for this release (and update the changelog.md accordingly)
- Tag it
de724aa
to
5844d59
Compare
5844d59
to
44be7d5
Compare
Also, phpstan compains about empty return statements, so had to implement a fake return on IssueRepository
Upgraded to php 8.2 and symfony 6.4
Added phpstan