Skip to content

Clean up ext/session errors - #6111

Closed
kocsismate wants to merge 3 commits into
php:masterfrom
kocsismate:session-callback
Closed

Clean up ext/session errors#6111
kocsismate wants to merge 3 commits into
php:masterfrom
kocsismate:session-callback

Conversation

@kocsismate

@kocsismatekocsismate commented Sep 10, 2020

Copy link
Copy Markdown
Member

Apparently, ext/session has the most typos and grammatical errors in its error messages among all the extensions.

Comment threadext/session/mod_files.c Outdated
Comment threadext/session/session.c Outdated
Comment threadext/session/mod_user.c Outdated
Comment threadext/session/session.c Outdated
Comment threadext/session/session.c Outdated
Comment threadext/session/session.c Outdated
@nikic

Copy link
Copy Markdown
Member

Some of those error conditions can likely be promoted. But I guess it's hard to say which for this extension.

@kocsismate

Copy link
Copy Markdown
MemberAuthor

@nikic Yeah, I didn't do much promotions exactly because of this reason :( I think the cases could be promoted when a session is not active. The other issues with session handling (e.g. headers are already sent or session is already active) seem too disruptive for a promotion.

Comment threadext/session/tests/session_set_save_handler_type_error.phpt Outdated
@kocsismate
kocsismate deleted the session-callback branch September 11, 2020 10:02
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@kocsismate@nikic