ForbiddenSessionModuleNameUser: add support for named parameters by jrfnl · Pull Request #1373 · PHPCompatibility/PHPCompatibility
1. Add support for function calls using named parameters by implementing the new PHPCSUtils 1.0.0-alpha4 `PassedParameters::getParameterFromStack()` method.
2. Verified the parameter name used is in line with the name as per the PHP 8.0 release.
PHP itself renamed a lot of parameters in PHP 8.0. As named parameters did not exist before PHP 8.0, the parameter name as per PHP 8.0 (or above) is the only relevant name.
Name verification reference:
* `session_module_name`: https://3v4l.org/aTuiE
Includes adding/adjusting the unit tests to include tests using named parameters.
jrfnl
mentioned this pull request
41 tasks
wimg approved these changes Oct 29, 2022
wimg
deleted the
feature/1239-forbiddensessionmodulenameuser-support-named-params
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters