-
Notifications
You must be signed in to change notification settings - Fork 2
Drupal 11 support #115
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
Drupal 11 support #115
Conversation
|
I'm not too familiar with this module so not sure the best way to get this tested. There are a couple of test failures for Drupal 11 on PHP 8.3 |
|
I've used this to get through a test upgrade to D11. Afterwards it seems fine with some basic testing : I can edit an existing webform and create a new webform. |
composer.json
Outdated
| "minimum-stability": "dev", | ||
| "require": { | ||
| "drupal/webform": "^6.0", | ||
| "drupal/webform": "^6.3@beta", |
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.
Would we be able to stick to ^6.2 here? Just that this involves installing a beta that has quite a bit of rewrites. To install localgov_forms I think you need a minimum stability of dev anyway so it should allow webform 6.3 beta to install.
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 assume you mean ^6.2 || ^6.3@beta?
The main difference between the two, at least at the beginning seems to have been 11 support. I've not checked how far they've diverged since.
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.
Agree that the ^6.2 requirement should install 6.2 and 6.3 beta, but no harm in explicitly stating this, so have updated the requirement with Ekes' suggestion.
|
@Adnan-cds you got any idea about this |
|
Fixed the test failing on the missing TransactionManager by using the mysql one. Maybe we need to stub our own as I can't find a stub class for this. |
I will have a better look and get back within a day. |
tests/modules/localgov_forms_test/src/Driver/Database/FakeLts/Connection.php
Show resolved
Hide resolved
ekes
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.
Manual testing by @nccchris in addition.
Tests now pass thanks to @Adnan-cds 's addition since last week.
What does this change?
Add support for Drupal 11
How to test
Install in a Drupal 11 site.