-
Notifications
You must be signed in to change notification settings - Fork 968
refactor(app): modernize and tidy up public entrypoint #7463
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
Signed-off-by: Josh <[email protected]>
Signed-off-by: Josh <[email protected]>
895a860 to
4a2d5bb
Compare
| $dataConst = $container->get(\AIO\Data\DataConst::class); | ||
| ini_set('session.save_path', $dataConst->GetSessionDirectory()); | ||
|
|
||
| // Auto logout on browser close |
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.
A lot of these comments are useful intention revealing. I'd like to keep them
|
There are unfortunately some conflicts now, so this needs a rebase |
|
I like some of these changes, e.g. adding type hints. But having all changes in one commit makes it really hard to review, especially if actual changes are mixed with reordering lines. For a proper review I would need this cleaned up into smaller commits, or at least stripped by the reordering. |
Code was already pretty tidy; this just elevates it a bit more while cleaning up some minor tidbits.
php/public/index.phpfor improved readability, maintainability, and adherence to best practices$groupin SlimServerRequestInterfacerather thanRequestInterfaceprofilealias for the/containers/routeNot offended if you don't merge this, but I was reading through it anyhow. ;-)
Shouldn't be any breaking changes; largely cosmetic. If something is broken it's probably a typo on my part. ;-)