Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Saner defaults
Browse files Browse the repository at this point in the history
this is behaviourally BC-breaking, but for the PM case this is fine. We always want these set anyway.
  • Loading branch information
dktapps committed Feb 23, 2024
1 parent 3f05a44 commit 42ebab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/JsonMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class JsonMapper
*
* @var boolean
*/
public $bExceptionOnMissingData = false;
public $bExceptionOnMissingData = true;

/**
* If the types of map() parameters shall be checked.
Expand All @@ -64,7 +64,7 @@ class JsonMapper
*
* @var boolean
*/
public $bStrictObjectTypeChecking = false;
public $bStrictObjectTypeChecking = true;

/**
* Throw an exception, if null value is found
Expand Down

0 comments on commit 42ebab3

Please sign in to comment.