-
Notifications
You must be signed in to change notification settings - Fork 1
Release 7.3.0 - Update to php 8.3 #304
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
Conversation
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.
Good to see that no code changes were needed.
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.
If you would, please update composer dependencies along with this PHP version upgrade
Do we even used LDAP at all? Rather than fixing the code, I think removing it might be cleaner. Less is more. |
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'd prefer recommended tiny clean ups before approving, though this code is functional (at least from eye-balling it).
|
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.
Since we can't test that this new LDAP implementation works, I don't like the idea of pushing out a release with it.
Yeah, I don't like doing both. Other option would be to upgrade PHP without any dependencies updated (I think everything still works) and then remove this. |
There were a lot of dependency updates, so it's kind of a gamble what will or will not work on 8.3 |
If there are models involved, the base models may not be generating well since Yii 2.0.52. Check the scoping and data typing in the base models on constants. If it is lacking, check out MailAdmin's gii folder, and console.php in the config directory. Then generate with "psr-12" like in scripts' tables.sh, which is triggered by make baseModels. |
@jason-jackson Is this PR still in progress? I see that we have a separate 7.2.0 release already (so this might be 7.3.0 now), but those changes haven't been pulled into this feature branch yet. I wonder if this should be set aside until after we finish removing LDAP support (if we can / are going to do that). Or maybe that's already your plan? If needed, you could also do a separate dependency update first, then do the PHP-8.3-upgrade-with-another-dependency-update, to help keep each set of changes smaller. Just an idea, though I don't know if that would 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.
Thanks for patiently working through this.
I edited the PR title |
|
Yes it's still in progress, but should be good to look at again. I'll need a final approval from you (@forevermatt) to remove the changes requested so I can merge this (date tbd). We'll have to do a quick sync with JAARS to ensure it still works and then roll back if it doesn't. |
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.
Are the reconnections in the same test necessary? This was just cleaning up generally though, so it's okay.
The PHP dependencies were updated, so my requested changes were done.
I believe they are setup for the actual test, and then the test. Probably better ways to handle it, but that was how they were written. |
ITSE-1300
Changed
adldap2/adldap2
todirectorytree/ldaprecord
PR Checklist
Release x.y.z - Summary of changes
)make composershow