-
Notifications
You must be signed in to change notification settings - Fork 3
Composer update patch versions #470
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
2990856 to
3528277
Compare
MKodde
left a comment
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.
Nice work! See some remarks below.
Feel free to discuss the points I'm touching on regarding conventions. If they no longer fit your needs, or work against you.
262d744 to
1f89d25
Compare
f5a2c49 to
14b835b
Compare
|
@MKodde I updated the surfnet libraries. I think this should be ready as is. Only thing I'm considering is cleaning up the commits a bit, but I don't want to make your review job more difficult, so might do that after the review. Also: I'm doing the frontend in a serparate PR. |
14b835b to
91369d0
Compare
MKodde
left a comment
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.
What a bunch of work again!
I think your latest changes look good in general. I found three things of which 1 or 2 need some attention the other is a nitpick.
Feel free to rebase, squash or rewrite history as you please.
src/Surfnet/StepupGateway/GatewayBundle/Container/ContainerController.php
Show resolved
Hide resolved
src/Surfnet/StepupGateway/GatewayBundle/DependencyInjection/Configuration.php
Outdated
Show resolved
Hide resolved
Prior to this change, the test files had errors in the namespace, triggering errors during `composer dump-autoload`. This change corrects the namespacing errors.
Prior to this change, running the functional behat tests would fail after a clear-cache. This happened because clear-cache removes the cache dir, and recreates it as root (because cache-clear is run as root). This causes the web php runner to not be able to write the cache, resulting in errors. This causes the functional tests to fail. Also scoutfix the phpcbf not fixing anything by default. It should match phpcs.
Upgrade phpstan, and rulesets. Use the phpstan extension loader, to ensure added rulesets are loaded automatically. Fix the typehint of secondfactor.id to varchar, as it is not an int in the db. Also fix `doctrine.finalConstructor`.
Prior to this change, in development / test mode, it was not possible to reliably and consistently see the deprecation notices triggered by the pipeline. This change logs all deprecations triggered during PHPUnit and behat to the deprecation.log file.
Prior to this change, PHPUnit would complain about using a legacy configuration file. This change commits the new phpunit.xml as generated by the `phpunit --migrate-configuration` script.
Attributes are not supported by PHPUnit 9, so update to 10 as well. PHPCpd is eol, remove as it is not installable alongside PHPUnit 10.
Prior to this change, if the doctrine mapping was invalid, the build would still be green. This change ensures the doctrine mapping is validated in the qa check.
* `nelmio/security-bundle` * 'doctrine/orm' 2 > 3
e0c72b7 to
c603724
Compare
AddReturnTypeDeclarationRector MagicClosureTwigExtensionToNativeMethodsRector SimplifyFormRenderingRector RenameAttributeRector
Remove duplicated code in the ContainerController as it causes issues with phpstan.
Prior to this change, the application was using the deprecated `xss_protection` option from nelmio/security-bundle (deprecated since v3.4.0), which caused deprecation warnings in the logs. Additionally, the X-XSS-Protection HTTP header is obsolete and no longer supported by modern browsers. Also fix an inline style attribute that violated the Content Security Policy. This change removes the deprecated `xss_protection` configuration and fixes the CSP violation by refactoring the inline style in templates/form/fields.html.twig to use a CSS class `.icon-inverted` instead. See - https://github.com/nelmio/NelmioSecurityBundle/releases/tag/v3.4.0 - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection
reinstate phpcpd Update packages & commit config from monitor from flex.
c603724 to
de1f119
Compare
Cleaned the commits a bit, but I think it would be better to merge them as is, as each does an isolated task. |
6.0.0
Upgrade instructions:
database_server_versionsetting in parameters.yaml is up-to-date with the production db server version. e.g.10.6.23-MariaDBAttention:
jms/translation-bundleseems EOL, it relies ondoctrine/annotations, which is abandoned. See jms/translation-bundle is EOL #471