-
Notifications
You must be signed in to change notification settings - Fork 1
Ilariaorlando symfony 80 #58
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
base: main
Are you sure you want to change the base?
Conversation
Symfony\Component\Validator\Constraints\PasswordStrength constraint is no longer supported.
Reviewer's GuideUpgrades the project to PHP 8.5 and Symfony 8.0 (including related bundles/tools) and adjusts CI, deployment, and a couple of validation attributes to be compatible with the new versions. Updated class diagram for user password DTOs with Symfony 8 validationclassDiagram
class UserDataTransferObject
class RegisterUser {
+string password
+constraints NotBlank
+constraints PasswordStrength minScore_STRENGTH_STRONG
+constraints NotCompromisedPassword
+constraints Length min_12
}
class ResetPassword {
+string password
+constraints PasswordStrength minScore_STRENGTH_STRONG
+constraints NotCompromisedPassword
+constraints Length min_12
}
RegisterUser --|> UserDataTransferObject
class PasswordStrengthConstraint {
+int STRENGTH_STRONG
+int minScore
}
RegisterUser --> PasswordStrengthConstraint
ResetPassword --> PasswordStrengthConstraint
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey - I've left some high level feedback:
- Removing
doctrine.dbal.use_savepointschanges transaction behavior (especially around nested transactions/rollbacks); double-check this is intentional and that any code or tests relying on savepoints still behave as expected under the new default. - In
composer.json,symfony/maker-bundleis still constrained as*; now that you're on Symfony 8 it may be safer to pin it to a compatible major/minor range to avoid unexpected BC breaks on future installs.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Removing `doctrine.dbal.use_savepoints` changes transaction behavior (especially around nested transactions/rollbacks); double-check this is intentional and that any code or tests relying on savepoints still behave as expected under the new default.
- In `composer.json`, `symfony/maker-bundle` is still constrained as `*`; now that you're on Symfony 8 it may be safer to pin it to a compatible major/minor range to avoid unexpected BC breaks on future installs.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
| set('php_version', '8.5'); | ||
|
|
||
| // Define staging | ||
| host('dev02.sumocoders.eu') |
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.
Pas dit eens aan naar dev03.sumocoders.eu aub
Mag je negeren.
Is misschien wel geen slecht idee? Eventueel op |
upgrade to symfony 8.0 and php 8.5
Summary by Sourcery
Upgrade the project to PHP 8.5 and Symfony 8, updating related dependencies and CI/deployment configuration.
Enhancements:
Build:
CI:
Deployment: