"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Framework/MockObject/Invocation.php" between
phpunit-9.5.6.tar.gz and phpunit-9.5.7.tar.gz

About: PHPUnit is a unit testing software framework for software written in PHP.

Invocation.php  (phpunit-9.5.6):Invocation.php  (phpunit-9.5.7)
skipping to change at line 151 skipping to change at line 151
case 'string': case 'string':
return ''; return '';
case 'float': case 'float':
return 0.0; return 0.0;
case 'int': case 'int':
return 0; return 0;
case 'bool': case 'bool':
case 'false':
return false; return false;
case 'array': case 'array':
return []; return [];
case 'static': case 'static':
return (new Instantiator)->instantiate(get_class($this->object)) ; return (new Instantiator)->instantiate(get_class($this->object)) ;
case 'object': case 'object':
return new stdClass; return new stdClass;
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)