Documentation

NoReservedKeywordParameterNamesSniff.php

PHPCSExtra, a collection of sniffs and standards for use with PHP_CodeSniffer.

Tags
copyright

2020 PHPCSExtra Contributors

license

https://opensource.org/licenses/LGPL-3.0 LGPL3

link
https://github.com/PHPCSStandards/PHPCSExtra

Table of Contents

Classes

NoReservedKeywordParameterNamesSniff
Verifies that parameters in function declarations do not use PHP reserved keywords as this can lead to confusing code when using PHP 8.0+ named parameters in function calls.

        
On this page

Search results