---------- begin diff ----------
--- Original
+++ New
@@ -245,6 +245,7 @@
*/
private function validateParam(string $param)
{
+ $aggregatedParams = null;
static $aggregatedParams = null;
if (null === $aggregatedParams) {
----------- end diff -----------
Applied rectors:
* Rector\Php\Rector\FunctionLike\AddDefaultValueForUndefinedVariableRector
As you can see, the rector doesn't consider the variable is still declared as static and, nstead, declares it again but as non static.
As you can see, the rector doesn't consider the variable is still declared as static and, nstead, declares it again but as non static.