diff --git a/tests/Core/Config/ReportWidthTest.php b/tests/Core/Config/ReportWidthTest.php index aa5375a42c..144b00caa6 100644 --- a/tests/Core/Config/ReportWidthTest.php +++ b/tests/Core/Config/ReportWidthTest.php @@ -295,7 +295,7 @@ public static function setStaticProperty($name, $value) { $property = new ReflectionProperty('PHP_CodeSniffer\Config', $name); $property->setAccessible(true); - $property->setValue($value); + $property->setValue(null, $value); $property->setAccessible(false); }//end setStaticProperty()