-
Notifications
You must be signed in to change notification settings - Fork 0
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
BOOKING-265: Upgraded to latest Symfony #103
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.
Some comments added.
findUnusedBaselineEntry="true" | ||
findUnusedCode="false" |
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.
These would probably be useful – if they work …
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 ran into this issue: psalm/psalm-plugin-symfony#151
migrations/Version20230810091726.php
Outdated
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'm not sure we should have migrations for the messenger_messages
table which, by default, is managed outside the migrations show, cf. https://symfony.com/doc/current/messenger.html#doctrine-transport. Anyway, we need some configuration to either use migrations for it (auto_setup: false
) or ignore the table in migrations.
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.
Have added auto_setup: false
* @param string $email | ||
* @param string $type | ||
* @param string $from | ||
* @param string $to |
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 hate this kind of so-called documentation … But you're not to blame – blame society!
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 blame me. I could just remove the docblock instead of adding types :)
src/Entity/Resources/AAKResource.php
Outdated
* @ORM\Entity | ||
*/ | ||
class AAKResource | ||
{ | ||
/** | ||
* @Groups({"resource", "minimum"}) | ||
* |
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.
Are these (almost) blank lines a result of updated coding standards or personal taste? I think they don't add any value, e.g. improved readability, and only make the files longer.
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.
Seems to be an issue with php-cs-fixer: PHP-CS-Fixer/PHP-CS-Fixer#6733
Have used solution from: PHP-CS-Fixer/PHP-CS-Fixer#6733 (comment)
… newlines between annotations
Link to ticket
https://jira.itkdev.dk/browse/BOOKING-265
Description
Upgraded to latest Symfony.
Checklist