Skip to content

PHP 7.2: New PHPCompatibility.ParameterValues.ForbiddenSessionModuleNameUser sniff#1138

Merged
wimg merged 1 commit intodevelopfrom
feature/new-forbiddensessionmodulenameuser-sniff
Jul 11, 2020
Merged

PHP 7.2: New PHPCompatibility.ParameterValues.ForbiddenSessionModuleNameUser sniff#1138
wimg merged 1 commit intodevelopfrom
feature/new-forbiddensessionmodulenameuser-sniff

Conversation

@jrfnl
Copy link
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants