fix tests: "PHP Fatal error: Uncaught PhpParser\Error: Variadic parameter cannot have a default value on line 767"
fix tests: "Type mismatch array_key_exists: $array"
fix tests: "parameter 'withComments' with typehint 'bool' but typehints available only since php 7"