diff --git a/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.1.inc b/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.1.inc index b52bd83a2d..764e47331d 100644 --- a/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.1.inc +++ b/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.1.inc @@ -100,7 +100,7 @@ function functionName( ?string $arg1 = 'foo' , ?int & $arg2 , $arg3 ) {} function functionName(string $arg1, ... $arg2) {} function functionName(string $arg1, int ... $arg2) {} function functionName(string $arg1, & ... $arg2) {} - +function functionName(string $arg1,int $arg2) {} $a = function ($var1, $var2=false) use ( $longVar1, & $longerVar1, diff --git a/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.1.inc.fixed b/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.1.inc.fixed index 98a981e9ba..1de259a75d 100644 --- a/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.1.inc.fixed +++ b/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.1.inc.fixed @@ -100,7 +100,7 @@ function functionName(?string $arg1='foo', ?int &$arg2, $arg3) {} function functionName(string $arg1, ...$arg2) {} function functionName(string $arg1, int ...$arg2) {} function functionName(string $arg1, &...$arg2) {} - +function functionName(string $arg1, int $arg2) {} $a = function ($var1, $var2=false) use ( $longVar1, &$longerVar1, diff --git a/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.php b/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.php index ea783e0b35..79854ca9b1 100644 --- a/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.php +++ b/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.php @@ -69,6 +69,7 @@ public function getErrorList($testFile='') 100 => 2, 101 => 2, 102 => 2, + 103 => 1, 106 => 1, 107 => 2, 111 => 3,