PHP 7.2: New `PHPCompatibility.ParameterValues.ForbiddenSessionModuleNameUser` sniff by jrfnl · Pull Request #1138 · PHPCompatibility/PHPCompatibility

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@jrfnl

Copy link Copy Markdown

Member

@jrfnl jrfnl commented

Jun 29, 2020

From: https://www.php.net/manual/en/function.session-module-name.php#refsect1-function.session-module-name-changelog

It is now explicitly forbidden to set the module name to "user". Formerly, this has been silently ignored.

This sniff addresses that change.

Includes unit tests.

…leNameUser` sniff

From: https://www.php.net/manual/en/function.session-module-name.php#refsect1-function.session-module-name-changelog

> It is now explicitly forbidden to set the module name to "user". Formerly, this has been silently ignored.

This sniff addresses that change.

Includes unit tests.

@wimg wimg merged commit 1403aca into develop

Jul 11, 2020

@wimg wimg deleted the feature/new-forbiddensessionmodulenameuser-sniff branch

July 11, 2020 12:05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@wimg wimg wimg approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

10.0.0-alpha1

Development

Successfully merging this pull request may close these issues.

2 participants

@jrfnl @wimg