Skip to content

Commit

Permalink
Merge pull request #78 from criticalmass-hamburg/fix-underscores
Browse files Browse the repository at this point in the history
criticalmass api will now return underscored names
  • Loading branch information
maltehuebner committed Jul 28, 2020
2 parents 55044d1 + ca3ab43 commit 98f9e71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions config/packages/jms_serializer.yaml
@@ -1,4 +1,6 @@
jms_serializer:
property_naming:
lower_case: true
visitors:
xml:
format_output: '%kernel.debug%'
Expand Down
2 changes: 0 additions & 2 deletions src/Model/Ride.php
Expand Up @@ -13,7 +13,6 @@ class Ride

/**
* @JMS\Type("DateTime<'U'>")
* @JMS\SerializedName("dateTime")
*/
protected \DateTime $dateTime;

Expand Down Expand Up @@ -45,7 +44,6 @@ class Ride

/**
* @JMS\Type("string")
* @JMS\SerializedName("disabledReasonMessage")
*/
protected ?string $disabledReasonMessage;

Expand Down

0 comments on commit 98f9e71

Please sign in to comment.