Skip to content

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
"surfnet/stepup-gssp-bundle": "^5.0",
"symfony/asset": "^6.4",
"symfony/console": "^6.4",
"surfnet/stepup-gssp-bundle": "dev-feature/update#e667625",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Merge upstream before merging

- 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)
`js-yaml` was introduced as a resolution, then kept around. It's not needed.
@johanib johanib requested a review from MKodde January 22, 2026 14:28
ci/qa/phpcpd Outdated
Copy link
Member

Choose a reason for hiding this comment

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

Given this project has NPM packages, you could opt for a jscpd alternative. As we have in Stepup-RA.

No deal breaker, but it could be nice to retain the CPD capability if possible.

See: https://github.com/OpenConext/Stepup-RA/blob/879c40a355078c1f88a2db15284d9e7962100a2f/ci/qa/jscpd

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 👍

Comment on lines 84 to 87
"frontend-install": [
"yarn install",
"yarn encore prod"
],
Copy link
Member

@MKodde MKodde Jan 29, 2026

Choose a reason for hiding this comment

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

Maybe extend your frontend-install task with the suggestion I stated above?

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