Skip to content

Upgrade to Symfony 7.4#136

Merged
johanib merged 9 commits intomainfrom
feature/upgrade
Feb 18, 2026
Merged

Upgrade to Symfony 7.4#136
johanib merged 9 commits intomainfrom
feature/upgrade

Conversation

@johanib
Copy link
Contributor

@johanib johanib commented Jan 22, 2026

No description provided.

- Upgrade PHPstan & fix issues
- Add rector (no rules applied yet)
- Fix phplint cache dir
- Cleanup composer.json by removing non-existant namespaces
- Apply rectors:
* ThisCallOnStaticMethodToStaticCallRector
* NullToStrictStringFuncCallArgRector
* RemoveUselessReturnTagRector
* AnnotationToAttributeRector
* RenameAttributeRector
- User Deprecated: Since symfony/http-kernel 6.3: Parameter "container.dumper.inline_class_loader" is deprecated, use ".container.dumper.inline_class_loader" instead.
sass-migrator division assets/scss/**/*.scss

Remove warnings like during compilation:
Module Warning (from ./node_modules/sass-loader/dist/cjs.js):
Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(18em, 14) or calc(18em / 14)
@johanib johanib requested a review from MKodde January 22, 2026 14:28
Copy link
Member

@MKodde MKodde left a comment

Choose a reason for hiding this comment

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

While testing the changes in my dev environment, I found out quite some SASS parser deprecation warnings remain in the project. No blocker for me, just saying..

Also: while testing, I noticed your frontend-install modifications you made in the other projects is not included here. Leaving me with permission issues after running the frontend install task. Maybe add the following section here?

    "frontend-install": [
      "yarn install",
      "yarn encore prod",
      "./bin/console cache:clear",
      "@fix-dev-permissions"
    ],
    "fix-dev-permissions": [
      "chown -R www-data:www-data /var/www/html/var/log",
      "chown -R www-data:www-data /var/www/html/var/cache"
    ],

I'm happy to report that your changes result in a functioning demo gssp that can be used for registrations and authentications. So big up there 👍

@johanib johanib requested a review from MKodde February 4, 2026 08:55
@johanib johanib force-pushed the feature/upgrade branch 4 times, most recently from f6ecc47 to fe2d354 Compare February 5, 2026 14:02
@johanib
Copy link
Contributor Author

johanib commented Feb 5, 2026

While testing the changes in my dev environment, I found out quite some SASS parser deprecation warnings remain in the project. No blocker for me, just saying..

Also: while testing, I noticed your frontend-install modifications you made in the other projects is not included here. Leaving me with permission issues after running the frontend install task. Maybe add the following section here?

    "frontend-install": [
      "yarn install",
      "yarn encore prod",
      "./bin/console cache:clear",
      "@fix-dev-permissions"
    ],
    "fix-dev-permissions": [
      "chown -R www-data:www-data /var/www/html/var/log",
      "chown -R www-data:www-data /var/www/html/var/cache"
    ],

I'm happy to report that your changes result in a functioning demo gssp that can be used for registrations and authentications. So big up there 👍

Added the fix-dev-permissions

@johanib johanib requested a review from MKodde February 5, 2026 14:12
@johanib johanib requested a review from kayjoosten February 16, 2026 13:36
johanib and others added 5 commits February 18, 2026 08:48
`js-yaml` was introduced as a resolution, then kept around. It's not needed.
Prior to this change, no copy-paste detection was performed as phpcpd was abanodoned.

This change installs jscpd and checks the src dir.
The remaining ones are from `compass-mixins`
Prior to this change, consistent import style was not enforced.

This change applies the phpcs rules for clean imports (no fqn, sorted, no unused).
@johanib johanib merged commit 47f90c9 into main Feb 18, 2026
1 check passed
@johanib johanib deleted the feature/upgrade branch February 18, 2026 13:38
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.

3 participants