"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Neos.Flow/Tests/Unit/Property/PropertyMapperTest.php" between
flow-development-collection-5.2.1.tar.gz and flow-development-collection-5.2.2.tar.gz

About: TYPO3 Flow is a web application platform enabling developers creating fast, reliable and complex web solutions ("the next level of PHP programming"; old name "FLOW3").

PropertyMapperTest.php  (flow-development-collection-5.2.1):PropertyMapperTest.php  (flow-development-collection-5.2.2)
skipping to change at line 531 skipping to change at line 531
['source' => 'foo', 'fullTargetType' => 'string|null'], ['source' => 'foo', 'fullTargetType' => 'string|null'],
['source' => 'foo', 'fullTargetType' => 'array|null'], ['source' => 'foo', 'fullTargetType' => 'array|null'],
['source' => 'foo', 'fullTargetType' => 'array<string>|null'], ['source' => 'foo', 'fullTargetType' => 'array<string>|null'],
['source' => 'foo', 'fullTargetType' => 'SplObjectStorage|null'], ['source' => 'foo', 'fullTargetType' => 'SplObjectStorage|null'],
['source' => 'foo', 'fullTargetType' => 'SplObjectStorage<Some\Eleme nt\Type>|null'], ['source' => 'foo', 'fullTargetType' => 'SplObjectStorage<Some\Eleme nt\Type>|null'],
]; ];
} }
/** /**
* @test * @test
* @doesNotPerformAssertions
* @dataProvider convertCallsCanConvertFromWithNullableTargetTypeDataProvide r * @dataProvider convertCallsCanConvertFromWithNullableTargetTypeDataProvide r
*/ */
public function convertCallsCanConvertFromWithNullableTargetType($source, $f ullTargetType) public function convertCallsCanConvertFromWithNullableTargetType($source, $f ullTargetType)
{ {
$fullTargetTypeWithoutNull = TypeHandling::stripNullableType($fullTarget Type); $fullTargetTypeWithoutNull = TypeHandling::stripNullableType($fullTarget Type);
$mockTypeConverter = $this->getMockTypeConverter(); $mockTypeConverter = $this->getMockTypeConverter();
$mockTypeConverter->expects($this->atLeastOnce())->method('canConvertFro m')->with($source, $fullTargetTypeWithoutNull); $mockTypeConverter->expects($this->atLeastOnce())->method('canConvertFro m')->with($source, $fullTargetTypeWithoutNull);
$truncatedTargetType = TypeHandling::truncateElementType($fullTargetType WithoutNull); $truncatedTargetType = TypeHandling::truncateElementType($fullTargetType WithoutNull);
$mockTypeConverters = [ $mockTypeConverters = [
gettype($source) => [ gettype($source) => [
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added

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