diff --git a/tests/AutoMapperTest.php b/tests/AutoMapperTest.php index b90385b4..f92bffd6 100644 --- a/tests/AutoMapperTest.php +++ b/tests/AutoMapperTest.php @@ -1363,7 +1363,7 @@ public function testAutoMapperFixtures(string $mapFile, string $directory): void } if ($_SERVER['UPDATE_FIXTURES'] ?? false) { - file_put_contents($expectedFile, $dump); + file_put_contents($expectedFile, $dump . "\n"); } if (!file_exists($expectedFile)) { diff --git a/tests/AutoMapperTest/ArrayAccess/expected.1.data b/tests/AutoMapperTest/ArrayAccess/expected.1.data index 7a611963..39a17c2a 100644 --- a/tests/AutoMapperTest/ArrayAccess/expected.1.data +++ b/tests/AutoMapperTest/ArrayAccess/expected.1.data @@ -6,4 +6,4 @@ AutoMapper\Tests\AutoMapperTest\ArrayAccess\LikeArray { flag::STD_PROP_LIST: false flag::ARRAY_AS_PROPS: false iteratorClass: "ArrayIterator" -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/ArrayAccess/expected.data b/tests/AutoMapperTest/ArrayAccess/expected.data index 7b8a5e54..29159dbb 100644 --- a/tests/AutoMapperTest/ArrayAccess/expected.data +++ b/tests/AutoMapperTest/ArrayAccess/expected.data @@ -1,4 +1,4 @@ AutoMapper\Tests\AutoMapperTest\ArrayAccess\Foo { +foo: "foofoo" +bar: 10 -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/ArrayConsistency/expected.to.data b/tests/AutoMapperTest/ArrayConsistency/expected.to.data index 1c2ee95e..a19f4e5e 100644 --- a/tests/AutoMapperTest/ArrayConsistency/expected.to.data +++ b/tests/AutoMapperTest/ArrayConsistency/expected.to.data @@ -4,4 +4,4 @@ AutoMapper\Tests\AutoMapperTest\ArrayConsistency\To { 2 3 ] -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/ArrayConsistency/expected.toAdder.data b/tests/AutoMapperTest/ArrayConsistency/expected.toAdder.data index 00063b98..eeb5d301 100644 --- a/tests/AutoMapperTest/ArrayConsistency/expected.toAdder.data +++ b/tests/AutoMapperTest/ArrayConsistency/expected.toAdder.data @@ -4,4 +4,4 @@ AutoMapper\Tests\AutoMapperTest\ArrayConsistency\ToAdder { 2 3 ] -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/ArrayConsistency/expected.toAdderCollection.data b/tests/AutoMapperTest/ArrayConsistency/expected.toAdderCollection.data index c3c24195..feadbbc9 100644 --- a/tests/AutoMapperTest/ArrayConsistency/expected.toAdderCollection.data +++ b/tests/AutoMapperTest/ArrayConsistency/expected.toAdderCollection.data @@ -6,4 +6,4 @@ AutoMapper\Tests\AutoMapperTest\ArrayConsistency\ToAdderCollection { 5 => 3 ] } -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/ArrayConsistency/expected.toCollection.data b/tests/AutoMapperTest/ArrayConsistency/expected.toCollection.data index 0edb1928..2a71c686 100644 --- a/tests/AutoMapperTest/ArrayConsistency/expected.toCollection.data +++ b/tests/AutoMapperTest/ArrayConsistency/expected.toCollection.data @@ -6,4 +6,4 @@ AutoMapper\Tests\AutoMapperTest\ArrayConsistency\ToCollection { 3 ] } -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/ArrayNested/expected.array.data b/tests/AutoMapperTest/ArrayNested/expected.array.data index e70aa35e..182db2db 100644 --- a/tests/AutoMapperTest/ArrayNested/expected.array.data +++ b/tests/AutoMapperTest/ArrayNested/expected.array.data @@ -6,4 +6,4 @@ AutoMapper\Tests\AutoMapperTest\ArrayNested\TestTarget { "param2" ] } -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/BuiltinClass/expected.data b/tests/AutoMapperTest/BuiltinClass/expected.data index 0637a088..fe51488c 100644 --- a/tests/AutoMapperTest/BuiltinClass/expected.data +++ b/tests/AutoMapperTest/BuiltinClass/expected.data @@ -1 +1 @@ -[] \ No newline at end of file +[] diff --git a/tests/AutoMapperTest/CircularReferenceDeep/expected.data b/tests/AutoMapperTest/CircularReferenceDeep/expected.data index b28430c2..12d20329 100644 --- a/tests/AutoMapperTest/CircularReferenceDeep/expected.data +++ b/tests/AutoMapperTest/CircularReferenceDeep/expected.data @@ -4,4 +4,4 @@ AutoMapper\Tests\AutoMapperTest\CircularReferenceDeep\CircularFoo {#1 +foo: AutoMapper\Tests\AutoMapperTest\CircularReferenceDeep\CircularFoo {#1} } } -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/ConstructorPropertyPromoted/expected.data b/tests/AutoMapperTest/ConstructorPropertyPromoted/expected.data index 22c6619a..bad4eb34 100644 --- a/tests/AutoMapperTest/ConstructorPropertyPromoted/expected.data +++ b/tests/AutoMapperTest/ConstructorPropertyPromoted/expected.data @@ -7,4 +7,4 @@ "city" => "city" ] ] -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/ConstructorWithRelation/expected.constructor-and-relation-missing.data b/tests/AutoMapperTest/ConstructorWithRelation/expected.constructor-and-relation-missing.data index 84215f4f..ee7747c8 100644 --- a/tests/AutoMapperTest/ConstructorWithRelation/expected.constructor-and-relation-missing.data +++ b/tests/AutoMapperTest/ConstructorWithRelation/expected.constructor-and-relation-missing.data @@ -1,4 +1,4 @@ AutoMapper\Exception\MissingConstructorArgumentsException { +class: "AutoMapper\Exception\MissingConstructorArgumentsException" +message: "Cannot create an instance of "AutoMapper\Tests\AutoMapperTest\ConstructorWithRelation\UserConstructorDTOWithRelation" from mapping data because its constructor requires the following parameters to be present : "$int"." -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/ConstructorWithRelation/expected.constructor-arguments.data b/tests/AutoMapperTest/ConstructorWithRelation/expected.constructor-arguments.data index 7cb9f724..585484cd 100644 --- a/tests/AutoMapperTest/ConstructorWithRelation/expected.constructor-arguments.data +++ b/tests/AutoMapperTest/ConstructorWithRelation/expected.constructor-arguments.data @@ -4,4 +4,4 @@ AutoMapper\Tests\AutoMapperTest\ConstructorWithRelation\UserConstructorDTOWithRe } +name: "foo" +age: 30 -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/ConstructorWithRelation/expected.ok.data b/tests/AutoMapperTest/ConstructorWithRelation/expected.ok.data index 7cb9f724..585484cd 100644 --- a/tests/AutoMapperTest/ConstructorWithRelation/expected.ok.data +++ b/tests/AutoMapperTest/ConstructorWithRelation/expected.ok.data @@ -4,4 +4,4 @@ AutoMapper\Tests\AutoMapperTest\ConstructorWithRelation\UserConstructorDTOWithRe } +name: "foo" +age: 30 -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/ConstructorWithSerializedName/expected.from_array.data b/tests/AutoMapperTest/ConstructorWithSerializedName/expected.from_array.data index 0f05449c..e9a62a87 100644 --- a/tests/AutoMapperTest/ConstructorWithSerializedName/expected.from_array.data +++ b/tests/AutoMapperTest/ConstructorWithSerializedName/expected.from_array.data @@ -1,3 +1,3 @@ AutoMapper\Tests\AutoMapperTest\ConstructorWithSerializedName\Bar { +isStatic: true -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/ConstructorWithSerializedName/expected.to_array.data b/tests/AutoMapperTest/ConstructorWithSerializedName/expected.to_array.data index a749fb42..5f75b6c7 100644 --- a/tests/AutoMapperTest/ConstructorWithSerializedName/expected.to_array.data +++ b/tests/AutoMapperTest/ConstructorWithSerializedName/expected.to_array.data @@ -1,3 +1,3 @@ [ "is_static" => true -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/Covariance/expected.data b/tests/AutoMapperTest/Covariance/expected.data index 9dd6747f..baaab0da 100644 --- a/tests/AutoMapperTest/Covariance/expected.data +++ b/tests/AutoMapperTest/Covariance/expected.data @@ -1,3 +1,3 @@ AutoMapper\Tests\AutoMapperTest\Covariance\ExtendedA { #b: AutoMapper\Tests\AutoMapperTest\Covariance\ExtendedB {} -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/DeepPopulateWithArrayCollection/expected.array.data b/tests/AutoMapperTest/DeepPopulateWithArrayCollection/expected.array.data index bf010e4c..de5e8e09 100644 --- a/tests/AutoMapperTest/DeepPopulateWithArrayCollection/expected.array.data +++ b/tests/AutoMapperTest/DeepPopulateWithArrayCollection/expected.array.data @@ -13,4 +13,4 @@ AutoMapper\Tests\AutoMapperTest\DeepPopulateWithArrayCollection\Foo { +bar: "bar4" } ] -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/DeepPopulateWithArrayCollection/expected.collection.data b/tests/AutoMapperTest/DeepPopulateWithArrayCollection/expected.collection.data index a3e50cd5..0befe574 100644 --- a/tests/AutoMapperTest/DeepPopulateWithArrayCollection/expected.collection.data +++ b/tests/AutoMapperTest/DeepPopulateWithArrayCollection/expected.collection.data @@ -15,4 +15,4 @@ AutoMapper\Tests\AutoMapperTest\DeepPopulateWithArrayCollection\FooWithArrayColl } ] } -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/DifferentSetterGetterType/expected.data b/tests/AutoMapperTest/DifferentSetterGetterType/expected.data index 6270a20c..99777f3b 100644 --- a/tests/AutoMapperTest/DifferentSetterGetterType/expected.data +++ b/tests/AutoMapperTest/DifferentSetterGetterType/expected.data @@ -1,4 +1,4 @@ [ "address" => "flat" "addressDocBlock" => "flat" -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/DiscriminatorMapAndInterface/expected.to-array.data b/tests/AutoMapperTest/DiscriminatorMapAndInterface/expected.to-array.data index a2a2d76e..34a75b80 100644 --- a/tests/AutoMapperTest/DiscriminatorMapAndInterface/expected.to-array.data +++ b/tests/AutoMapperTest/DiscriminatorMapAndInterface/expected.to-array.data @@ -3,4 +3,4 @@ "name" => "my name" "type" => "type_a" ] -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/DiscriminatorMapAndInterface/expected.to-class.data b/tests/AutoMapperTest/DiscriminatorMapAndInterface/expected.to-class.data index ee09e575..dbc62a7f 100644 --- a/tests/AutoMapperTest/DiscriminatorMapAndInterface/expected.to-class.data +++ b/tests/AutoMapperTest/DiscriminatorMapAndInterface/expected.to-class.data @@ -2,4 +2,4 @@ AutoMapper\Tests\AutoMapperTest\DiscriminatorMapAndInterface\Something { +myInterface: AutoMapper\Tests\AutoMapperTest\DiscriminatorMapAndInterface\TypeA { +name: "my name" } -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/DiscriminatorPopulate/expected.data b/tests/AutoMapperTest/DiscriminatorPopulate/expected.data index 5c91abfd..3c1835e5 100644 --- a/tests/AutoMapperTest/DiscriminatorPopulate/expected.data +++ b/tests/AutoMapperTest/DiscriminatorPopulate/expected.data @@ -3,4 +3,4 @@ AutoMapper\Tests\AutoMapperTest\DiscriminatorPopulate\LinkWrapper { +link: "https://example.com/new" +description: "description" } -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/DoctrineCollections/expected.from-array.data b/tests/AutoMapperTest/DoctrineCollections/expected.from-array.data index fee37a27..ae421827 100644 --- a/tests/AutoMapperTest/DoctrineCollections/expected.from-array.data +++ b/tests/AutoMapperTest/DoctrineCollections/expected.from-array.data @@ -12,4 +12,4 @@ AutoMapper\Tests\AutoMapperTest\DoctrineCollections\Library { } ] } -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/DoctrineCollections/expected.to-array.data b/tests/AutoMapperTest/DoctrineCollections/expected.to-array.data index 891b213e..9a0a5959 100644 --- a/tests/AutoMapperTest/DoctrineCollections/expected.to-array.data +++ b/tests/AutoMapperTest/DoctrineCollections/expected.to-array.data @@ -10,4 +10,4 @@ "name" => "Imbalance" ] ] -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/GroupOverride/expected.data b/tests/AutoMapperTest/GroupOverride/expected.data index 2becc6ca..7892733c 100644 --- a/tests/AutoMapperTest/GroupOverride/expected.data +++ b/tests/AutoMapperTest/GroupOverride/expected.data @@ -1,4 +1,4 @@ [ "id" => "id" "name" => "name" -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/Ignore/expected.ignore-in-source.data b/tests/AutoMapperTest/Ignore/expected.ignore-in-source.data index 0637a088..fe51488c 100644 --- a/tests/AutoMapperTest/Ignore/expected.ignore-in-source.data +++ b/tests/AutoMapperTest/Ignore/expected.ignore-in-source.data @@ -1 +1 @@ -[] \ No newline at end of file +[] diff --git a/tests/AutoMapperTest/Ignore/expected.ignore-in-target.data b/tests/AutoMapperTest/Ignore/expected.ignore-in-target.data index 0f9ea646..d3ff6cae 100644 --- a/tests/AutoMapperTest/Ignore/expected.ignore-in-target.data +++ b/tests/AutoMapperTest/Ignore/expected.ignore-in-target.data @@ -1,3 +1,3 @@ AutoMapper\Tests\AutoMapperTest\Ignore\FooIgnore { +id: null -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/Issue111/expected.data b/tests/AutoMapperTest/Issue111/expected.data index 42a89936..ea3b48df 100644 --- a/tests/AutoMapperTest/Issue111/expected.data +++ b/tests/AutoMapperTest/Issue111/expected.data @@ -10,4 +10,4 @@ AutoMapper\Tests\AutoMapperTest\Issue111\Foo { +name: "blue" } ] -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/Issue425/expected.data b/tests/AutoMapperTest/Issue425/expected.data index fca10ec3..85a4eb52 100644 --- a/tests/AutoMapperTest/Issue425/expected.data +++ b/tests/AutoMapperTest/Issue425/expected.data @@ -6,4 +6,4 @@ AutoMapper\Tests\AutoMapperTest\Issue425\Bar { 4 5 ] -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/IssueParamDocBlock/expected.data b/tests/AutoMapperTest/IssueParamDocBlock/expected.data index 59460c53..82531fa4 100644 --- a/tests/AutoMapperTest/IssueParamDocBlock/expected.data +++ b/tests/AutoMapperTest/IssueParamDocBlock/expected.data @@ -4,4 +4,4 @@ "foo1" "foo2" ] -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/MaxDepth/expected.data b/tests/AutoMapperTest/MaxDepth/expected.data index 8fbcb395..7e8fd691 100644 --- a/tests/AutoMapperTest/MaxDepth/expected.data +++ b/tests/AutoMapperTest/MaxDepth/expected.data @@ -6,4 +6,4 @@ "id" => 1 ] "id" => 0 -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/NoProperties/expected.data b/tests/AutoMapperTest/NoProperties/expected.data index bf28778a..d420e5fb 100644 --- a/tests/AutoMapperTest/NoProperties/expected.data +++ b/tests/AutoMapperTest/NoProperties/expected.data @@ -1 +1 @@ -AutoMapper\Tests\AutoMapperTest\NoProperties\FooNoProperties {} \ No newline at end of file +AutoMapper\Tests\AutoMapperTest\NoProperties\FooNoProperties {} diff --git a/tests/AutoMapperTest/NoTypes/expected.data b/tests/AutoMapperTest/NoTypes/expected.data index 4385aec9..2081caa6 100644 --- a/tests/AutoMapperTest/NoTypes/expected.data +++ b/tests/AutoMapperTest/NoTypes/expected.data @@ -1,3 +1,3 @@ [ "city" => "test" -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/ObjectWithPropertyAsUnknownArray/expected.object-to-object-with-property-as-unknown-array.data b/tests/AutoMapperTest/ObjectWithPropertyAsUnknownArray/expected.object-to-object-with-property-as-unknown-array.data index bce8c590..16196809 100644 --- a/tests/AutoMapperTest/ObjectWithPropertyAsUnknownArray/expected.object-to-object-with-property-as-unknown-array.data +++ b/tests/AutoMapperTest/ObjectWithPropertyAsUnknownArray/expected.object-to-object-with-property-as-unknown-array.data @@ -5,4 +5,4 @@ AutoMapper\Tests\AutoMapperTest\ObjectWithPropertyAsUnknownArray\Page { "name" => "my name" ] ] -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/ObjectWithPropertyAsUnknownArray/expected.object-with-property-as-unknown-array-to-object.data b/tests/AutoMapperTest/ObjectWithPropertyAsUnknownArray/expected.object-with-property-as-unknown-array-to-object.data index 44f23018..7a3fac85 100644 --- a/tests/AutoMapperTest/ObjectWithPropertyAsUnknownArray/expected.object-with-property-as-unknown-array-to-object.data +++ b/tests/AutoMapperTest/ObjectWithPropertyAsUnknownArray/expected.object-with-property-as-unknown-array-to-object.data @@ -5,4 +5,4 @@ AutoMapper\Tests\AutoMapperTest\ObjectWithPropertyAsUnknownArray\PageDto { +name: "my name" } ] -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/Paramters/expected.int.data b/tests/AutoMapperTest/Paramters/expected.int.data index cd7a7d84..ed58277c 100644 --- a/tests/AutoMapperTest/Paramters/expected.int.data +++ b/tests/AutoMapperTest/Paramters/expected.int.data @@ -4,4 +4,4 @@ "bar" "baz" ] -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/Paramters/expected.mixed.data b/tests/AutoMapperTest/Paramters/expected.mixed.data index c98cdb87..7f8d1dbe 100644 --- a/tests/AutoMapperTest/Paramters/expected.mixed.data +++ b/tests/AutoMapperTest/Paramters/expected.mixed.data @@ -4,4 +4,4 @@ "azerty" => "bar" 1 => "baz" ] -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/Paramters/expected.string.data b/tests/AutoMapperTest/Paramters/expected.string.data index be593df7..2082671d 100644 --- a/tests/AutoMapperTest/Paramters/expected.string.data +++ b/tests/AutoMapperTest/Paramters/expected.string.data @@ -4,4 +4,4 @@ "bar" => "qwerty" "baz" => "dvorak" ] -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/Private/expected.data b/tests/AutoMapperTest/Private/expected.data index dc85d58d..82044f7e 100644 --- a/tests/AutoMapperTest/Private/expected.data +++ b/tests/AutoMapperTest/Private/expected.data @@ -2,4 +2,4 @@ AutoMapper\Tests\AutoMapperTest\Private\PrivateUserDTO { -id: 10 -firstName: "foo" -lastName: "bar" -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/PrivatePropertyInConstructors/expected.from-array.data b/tests/AutoMapperTest/PrivatePropertyInConstructors/expected.from-array.data index 8761952b..7363931b 100644 --- a/tests/AutoMapperTest/PrivatePropertyInConstructors/expected.from-array.data +++ b/tests/AutoMapperTest/PrivatePropertyInConstructors/expected.from-array.data @@ -1,4 +1,4 @@ AutoMapper\Tests\AutoMapperTest\PrivatePropertyInConstructors\ChildClass { -parentProp: "foo" -childProp: "bar" -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/PrivatePropertyInConstructors/expected.from-class.data b/tests/AutoMapperTest/PrivatePropertyInConstructors/expected.from-class.data index 8761952b..7363931b 100644 --- a/tests/AutoMapperTest/PrivatePropertyInConstructors/expected.from-class.data +++ b/tests/AutoMapperTest/PrivatePropertyInConstructors/expected.from-class.data @@ -1,4 +1,4 @@ AutoMapper\Tests\AutoMapperTest\PrivatePropertyInConstructors\ChildClass { -parentProp: "foo" -childProp: "bar" -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/Provider/expected.bar-foo.data b/tests/AutoMapperTest/Provider/expected.bar-foo.data index e2a5891f..819b107c 100644 --- a/tests/AutoMapperTest/Provider/expected.bar-foo.data +++ b/tests/AutoMapperTest/Provider/expected.bar-foo.data @@ -1,4 +1,4 @@ AutoMapper\Tests\AutoMapperTest\Provider\MyObject { +foo: "foo" +bar: "foo" -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/Provider/expected.bar.data b/tests/AutoMapperTest/Provider/expected.bar.data index 03e04f43..80a8f902 100644 --- a/tests/AutoMapperTest/Provider/expected.bar.data +++ b/tests/AutoMapperTest/Provider/expected.bar.data @@ -1,4 +1,4 @@ AutoMapper\Tests\AutoMapperTest\Provider\MyObject { +foo: "bar" +bar: "foo" -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/Provider/expected.early-return.data b/tests/AutoMapperTest/Provider/expected.early-return.data index 03e04f43..80a8f902 100644 --- a/tests/AutoMapperTest/Provider/expected.early-return.data +++ b/tests/AutoMapperTest/Provider/expected.early-return.data @@ -1,4 +1,4 @@ AutoMapper\Tests\AutoMapperTest\Provider\MyObject { +foo: "bar" +bar: "foo" -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/SkipNullValues/expected.data b/tests/AutoMapperTest/SkipNullValues/expected.data index 14893c26..eed82ed0 100644 --- a/tests/AutoMapperTest/SkipNullValues/expected.data +++ b/tests/AutoMapperTest/SkipNullValues/expected.data @@ -1,3 +1,3 @@ AutoMapper\Tests\AutoMapperTest\SkipNullValues\Entity { -name: "foobar" -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/StdObject/expected.data b/tests/AutoMapperTest/StdObject/expected.data index 2afeee78..4f137697 100644 --- a/tests/AutoMapperTest/StdObject/expected.data +++ b/tests/AutoMapperTest/StdObject/expected.data @@ -3,4 +3,4 @@ +"nestedStd": { +"id": 2 } -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/SymfonyUId/expected.array-to-object-v1.data b/tests/AutoMapperTest/SymfonyUId/expected.array-to-object-v1.data index 1e43e0ef..72545e64 100644 --- a/tests/AutoMapperTest/SymfonyUId/expected.array-to-object-v1.data +++ b/tests/AutoMapperTest/SymfonyUId/expected.array-to-object-v1.data @@ -5,4 +5,4 @@ AutoMapper\Tests\AutoMapperTest\SymfonyUId\SymfonyUuidUser { toBase32: "0AAG8ZXZKS27QSZTN1MWNYTX0J" } +name: "Grégoire Pineau" -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/SymfonyUId/expected.array-to-object-v3.data b/tests/AutoMapperTest/SymfonyUId/expected.array-to-object-v3.data index f0e4650e..d1ddc9a1 100644 --- a/tests/AutoMapperTest/SymfonyUId/expected.array-to-object-v3.data +++ b/tests/AutoMapperTest/SymfonyUId/expected.array-to-object-v3.data @@ -1,4 +1,4 @@ [ "name" => "Grégoire Pineau" "uuid" => "42650c8f-f5d0-3b1d-a338-f821651471ff" -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/SymfonyUId/expected.array-to-object-v4.data b/tests/AutoMapperTest/SymfonyUId/expected.array-to-object-v4.data index 83bab0e2..b2b51368 100644 --- a/tests/AutoMapperTest/SymfonyUId/expected.array-to-object-v4.data +++ b/tests/AutoMapperTest/SymfonyUId/expected.array-to-object-v4.data @@ -5,4 +5,4 @@ AutoMapper\Tests\AutoMapperTest\SymfonyUId\SymfonyUuidUser { toBase32: "4XQVKJSTZ58M788F5V0VN7ZN5Y" } +name: "Grégoire Pineau" -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/SymfonyUId/expected.array-to-object.data b/tests/AutoMapperTest/SymfonyUId/expected.array-to-object.data index 1fee076f..bedd358c 100644 --- a/tests/AutoMapperTest/SymfonyUId/expected.array-to-object.data +++ b/tests/AutoMapperTest/SymfonyUId/expected.array-to-object.data @@ -6,4 +6,4 @@ AutoMapper\Tests\AutoMapperTest\SymfonyUId\SymfonyUlidUser { time: "2021-02-01 07:34:28.260 UTC" } +name: "Grégoire Pineau" -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/SymfonyUId/expected.object-to-array.data b/tests/AutoMapperTest/SymfonyUId/expected.object-to-array.data index 851d646b..bb579552 100644 --- a/tests/AutoMapperTest/SymfonyUId/expected.object-to-array.data +++ b/tests/AutoMapperTest/SymfonyUId/expected.object-to-array.data @@ -1,4 +1,4 @@ [ "name" => "Grégoire Pineau" "ulid" => "01EXE89XR69GERC6GV3J4X38FJ" -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/SymfonyUId/expected.object-to-object.data b/tests/AutoMapperTest/SymfonyUId/expected.object-to-object.data index 10ca8761..3fe6e441 100644 --- a/tests/AutoMapperTest/SymfonyUId/expected.object-to-object.data +++ b/tests/AutoMapperTest/SymfonyUId/expected.object-to-object.data @@ -6,4 +6,4 @@ AutoMapper\Tests\AutoMapperTest\SymfonyUId\SymfonyUlidUser { time: "2021-02-01 07:36:03.157 UTC" } +name: "Grégoire Pineau" -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/TargetToPopulate/expected.data b/tests/AutoMapperTest/TargetToPopulate/expected.data index 152b8559..7b3ac904 100644 --- a/tests/AutoMapperTest/TargetToPopulate/expected.data +++ b/tests/AutoMapperTest/TargetToPopulate/expected.data @@ -5,4 +5,4 @@ AutoMapper\Tests\AutoMapperTest\TargetToPopulate\VatEntity { -standardVatRate: 21.0 -reducedVatRate: 5.5 -displayIncVatPrices: true -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/UninitializedProperties/expected.data b/tests/AutoMapperTest/UninitializedProperties/expected.data index 328d89c6..bbf007ce 100644 --- a/tests/AutoMapperTest/UninitializedProperties/expected.data +++ b/tests/AutoMapperTest/UninitializedProperties/expected.data @@ -2,4 +2,4 @@ AutoMapper\Tests\AutoMapperTest\UninitializedProperties\User { +lastName: "Doe" +firstName: "John" +birthDate: ? ?DateTimeImmutable -} \ No newline at end of file +} diff --git a/tests/AutoMapperTest/UnionProperty/expected.bar.data b/tests/AutoMapperTest/UnionProperty/expected.bar.data index fa690ba7..535716d9 100644 --- a/tests/AutoMapperTest/UnionProperty/expected.bar.data +++ b/tests/AutoMapperTest/UnionProperty/expected.bar.data @@ -2,4 +2,4 @@ "prop" => [ "bar" => "bar" ] -] \ No newline at end of file +] diff --git a/tests/AutoMapperTest/UnionProperty/expected.foo.data b/tests/AutoMapperTest/UnionProperty/expected.foo.data index 6b00326e..dfeb6633 100644 --- a/tests/AutoMapperTest/UnionProperty/expected.foo.data +++ b/tests/AutoMapperTest/UnionProperty/expected.foo.data @@ -2,4 +2,4 @@ "prop" => [ "foo" => "foo" ] -] \ No newline at end of file +]