{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":16281650,"defaultBranch":"master","name":"jsonmapper","ownerLogin":"cweiske","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2014-01-27T14:39:55.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/59036?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1709064879.0","currentOid":""},"activityList":{"items":[{"before":"99fea88d3258c31f120c131170250901fd32fd5f","after":"2868e3623e36601fc7029a5021e9a9a8e565c9b4","ref":"refs/heads/master","pushedAt":"2024-05-18T05:50:20.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Add Makefile for easy code style + unit test runs","shortMessageHtmlLink":"Add Makefile for easy code style + unit test runs"}},{"before":"d8798318b75b7707874baf786514e65147e85712","after":"99fea88d3258c31f120c131170250901fd32fd5f","ref":"refs/heads/master","pushedAt":"2024-05-17T16:25:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Support \"?type\" syntax for nullable types\n\nIn addition to \"int|null\", JsonMapper now also supports \"?int\"\n- a syntax that was added to PHP in versino 7.1.0\n(\"Nullable type syntactic sugar\").\n\nResolves: https://github.com/cweiske/jsonmapper/pull/235","shortMessageHtmlLink":"Support \"?type\" syntax for nullable types"}},{"before":"0871d350b6966b7a05b5ce338989429105d7d92f","after":"d8798318b75b7707874baf786514e65147e85712","ref":"refs/heads/master","pushedAt":"2024-05-17T16:12:43.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Fix mapping objects implementing ArrayAccess (not collections)\n\nOnly handle objects as array when they implement both\nArrayAccess and Traversable.\n\nBC break!\n\n----\n\nOriginally, JsonMapper handled objects extending ArrayObject as arrays.\n\nExtending own collection classes from ArrayObject is not always feasible\n(issue #175, https://github.com/cweiske/jsonmapper/issues/175),\nso a way was sought to rely on interfaces only.\n\nPatch #197 (https://github.com/cweiske/jsonmapper/pull/197) changed\nthe implementation to check for the ArrayAccess interface instead of\nArrayObject.\n\nThis unfortunately breaks\nobjects-that-allow-array-access-but-are-not-traversable-arrays\n(issue #224, https://github.com/cweiske/jsonmapper/pull/224),\nfor example when you allow array access to properties stored\nin some internal variable.\n\nThe correct solution is to check that the object implements\nArrayAcces *and* Traversable - then we can be sure the object\nis intended to be used with e.g. foreach().\n\nResolves: https://github.com/cweiske/jsonmapper/pull/224","shortMessageHtmlLink":"Fix mapping objects implementing ArrayAccess (not collections)"}},{"before":"10aceb926ec70a64c5b52e21b859420d95987be4","after":"0871d350b6966b7a05b5ce338989429105d7d92f","ref":"refs/heads/master","pushedAt":"2024-05-17T16:05:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Fix mapping objects implementing ArrayAccess (not collections)\n\nOnly handle objects as array when they implement both\nArrayAccess and Traversable.\n\nBC break!\n\n----\n\nOriginally, JsonMapper handled objects extending ArrayObject as arrays.\n\nExtending own collection classes from ArrayObject is not always feasible\n(issue #175, https://github.com/cweiske/jsonmapper/issues/175),\nso a way was sought to rely on interfaces only.\n\nPatch #197 (https://github.com/cweiske/jsonmapper/pull/197) changed\nthe implementation to check for the ArrayAccess interface instead of\nArrayObject.\n\nThis unfortunately breaks\nobjects-that-allow-array-access-but-are-not-traversable-arrays\n(issue #224, https://github.com/cweiske/jsonmapper/pull/224),\nfor example when you allow array access to properties stored\nin some internal variable.\n\nThe correct solution is to check that the object implements\nArrayAcces *and* Traversable - then we can be sure the object\nis intended to be used with e.g. foreach().\n\nResolves: https://github.com/cweiske/jsonmapper/pull/224","shortMessageHtmlLink":"Fix mapping objects implementing ArrayAccess (not collections)"}},{"before":"0b5b5593daf1b13b72f811e4157f7d76a5a5b1a7","after":"10aceb926ec70a64c5b52e21b859420d95987be4","ref":"refs/heads/master","pushedAt":"2024-05-16T19:13:59.000Z","pushType":"push","commitsCount":13,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Condense unit test assertions\n\nResolves: https://github.com/cweiske/jsonmapper/pull/232","shortMessageHtmlLink":"Condense unit test assertions"}},{"before":"49f1fb2295507499fce48cfb3c959982e5d8415e","after":"0b5b5593daf1b13b72f811e4157f7d76a5a5b1a7","ref":"refs/heads/master","pushedAt":"2024-03-17T17:28:33.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Fix wrong phpdoc typehints based off PHPStan level 5 suggestions","shortMessageHtmlLink":"Fix wrong phpdoc typehints based off PHPStan level 5 suggestions"}},{"before":"dddcdc084dc75e4b20cd0de07720ef57c0fba84f","after":"49f1fb2295507499fce48cfb3c959982e5d8415e","ref":"refs/heads/master","pushedAt":"2024-03-17T17:27:12.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Add autoload-dev and remove all require_once in tests\n\nAll non-namespaced classes in JsonMapperTest are made part of the PSR0 autoloading.\nException still made for the \"Zoo\" collection of classes.","shortMessageHtmlLink":"Add autoload-dev and remove all require_once in tests"}},{"before":"132c75c7dd83e45353ebb9c6c9f591952995bbf0","after":"dddcdc084dc75e4b20cd0de07720ef57c0fba84f","ref":"refs/heads/master","pushedAt":"2024-02-27T20:14:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Automatically run tests and code style checks via Github actions\n\nResolves: https://github.com/cweiske/jsonmapper/issues/221\nResolves: https://github.com/cweiske/jsonmapper/pull/227","shortMessageHtmlLink":"Automatically run tests and code style checks via Github actions"}},{"before":"dddcdc084dc75e4b20cd0de07720ef57c0fba84f","after":null,"ref":"refs/heads/testes","pushedAt":"2024-02-27T20:14:39.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"}},{"before":null,"after":"dddcdc084dc75e4b20cd0de07720ef57c0fba84f","ref":"refs/heads/testes","pushedAt":"2024-02-27T20:13:14.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Automatically run tests and code style checks via Github actions\n\nResolves: https://github.com/cweiske/jsonmapper/issues/221\nResolves: https://github.com/cweiske/jsonmapper/pull/227","shortMessageHtmlLink":"Automatically run tests and code style checks via Github actions"}},{"before":"18133a2d8c24e10e58e02b700308ed3a4a60c97f","after":"132c75c7dd83e45353ebb9c6c9f591952995bbf0","ref":"refs/heads/master","pushedAt":"2024-01-31T06:19:28.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Fix crash for case-insentive match without docblock\n\nError message:\n> Call to a member function hasMethod() on bool at src/JsonMapper.php:564\n\nResolves: https://github.com/cweiske/jsonmapper/pull/222\nResolves: https://github.com/cweiske/jsonmapper/issues/223","shortMessageHtmlLink":"Fix crash for case-insentive match without docblock"}},{"before":"1b9454cee8bffba1a2435f72ffd408744a4cf0ac","after":"18133a2d8c24e10e58e02b700308ed3a4a60c97f","ref":"refs/heads/master","pushedAt":"2024-01-28T07:31:44.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Release 4.4.0","shortMessageHtmlLink":"Release 4.4.0"}},{"before":"f94839946c3bd19bdeb9c7d81f6b4fe7e378ddc3","after":"1b9454cee8bffba1a2435f72ffd408744a4cf0ac","ref":"refs/heads/master","pushedAt":"2024-01-28T07:30:38.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Release 4.4.0","shortMessageHtmlLink":"Release 4.4.0"}},{"before":"a73f90a501f742247262b7ca26e15811d3dbd8aa","after":"f94839946c3bd19bdeb9c7d81f6b4fe7e378ddc3","ref":"refs/heads/master","pushedAt":"2024-01-27T14:57:01.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Release 4.3.0","shortMessageHtmlLink":"Release 4.3.0"}},{"before":"7dc32f56b5dc8ee064a726f4642a8a66ac90509c","after":"a73f90a501f742247262b7ca26e15811d3dbd8aa","ref":"refs/heads/master","pushedAt":"2024-01-27T14:46:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Remove travis badge from README","shortMessageHtmlLink":"Remove travis badge from README"}},{"before":"090a72f6843862eb659e24a6813bacbc912b8d11","after":"7dc32f56b5dc8ee064a726f4642a8a66ac90509c","ref":"refs/heads/master","pushedAt":"2024-01-27T14:36:35.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Add support for PHP 8.0 constructor property promotion","shortMessageHtmlLink":"Add support for PHP 8.0 constructor property promotion"}},{"before":"59e2c2a3858f0614040e74e2a29ab751a22e8936","after":"090a72f6843862eb659e24a6813bacbc912b8d11","ref":"refs/heads/master","pushedAt":"2024-01-27T14:28:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Update .gitattributes to ignore all non-runtime files\n\nSee https://git-scm.com/docs/gitattributes#_export_ignore","shortMessageHtmlLink":"Update .gitattributes to ignore all non-runtime files"}},{"before":"ffc08ba992a48c43a7d97e4f8ba8cc249334750a","after":"59e2c2a3858f0614040e74e2a29ab751a22e8936","ref":"refs/heads/master","pushedAt":"2024-01-27T14:24:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Support native \"mixed\" class properties in PHP 8\n\nhttps://wiki.php.net/rfc/mixed_type_v2","shortMessageHtmlLink":"Support native \"mixed\" class properties in PHP 8"}},{"before":"59e2c2a3858f0614040e74e2a29ab751a22e8936","after":null,"ref":"refs/heads/jorrit-mixedtype","pushedAt":"2024-01-27T14:24:05.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"}},{"before":null,"after":"59e2c2a3858f0614040e74e2a29ab751a22e8936","ref":"refs/heads/jorrit-mixedtype","pushedAt":"2024-01-27T14:23:56.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Support native \"mixed\" class properties in PHP 8\n\nhttps://wiki.php.net/rfc/mixed_type_v2","shortMessageHtmlLink":"Support native \"mixed\" class properties in PHP 8"}},{"before":"b9bf57418e4d6b7eaa958879e8f238d0aa09fb7c","after":"ffc08ba992a48c43a7d97e4f8ba8cc249334750a","ref":"refs/heads/master","pushedAt":"2023-08-01T09:18:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Throw exception when mapping non-flat values in flat typed properties\n\nFlat types can all be casted to each other,\nbut objects and arrays can't be casted to flat types.\n\nPreviously an E_NOTICE has been raised:\n> Array to string conversion\n\nThis is prevented now, and a proper JsonMapper_Exception is thrown.\n\nResolves: https://github.com/cweiske/jsonmapper/pull/210","shortMessageHtmlLink":"Throw exception when mapping non-flat values in flat typed properties"}},{"before":"f60565f8c0566a31acf06884cdaa591867ecc956","after":"b9bf57418e4d6b7eaa958879e8f238d0aa09fb7c","ref":"refs/heads/master","pushedAt":"2023-08-01T09:17:33.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Throw exception when mapping non-flat values in flat typed properties\n\nFlat types can all be casted to each other,\nbut objects and arrays can't be casted to flat types.\n\nPreviously an E_NOTICE has been raised:\n> Array to string conversion\n\nThis is prevented now, and a proper JsonMapper_Exception is thrown.","shortMessageHtmlLink":"Throw exception when mapping non-flat values in flat typed properties"}},{"before":"ed5f95b96955533dd0684b677d71882a307701f0","after":null,"ref":"refs/heads/test-phpunit10","pushedAt":"2023-08-01T09:17:31.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"}},{"before":"d63a7a8285e3292f1eb12b73ef5c10e731edbe65","after":null,"ref":"refs/heads/test-210","pushedAt":"2023-08-01T09:17:27.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"}},{"before":"cf3167ffb7275c9fb26c4b3bd777ab89544720c5","after":"d63a7a8285e3292f1eb12b73ef5c10e731edbe65","ref":"refs/heads/test-210","pushedAt":"2023-08-01T09:13:40.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Throw exception when mapping non-flat values in flat typed properties\n\nFlat types can all be casted to each other,\nbut objects and arrays can't be casted to flat types.\n\nPreviously an E_NOTICE has been raised:\n> Array to string conversion\n\nThis is prevented now, and a proper JsonMapper_Exception is thrown.","shortMessageHtmlLink":"Throw exception when mapping non-flat values in flat typed properties"}},{"before":"d54d4ffc4c489ee319658aafbe679072cb1a3bc2","after":"cf3167ffb7275c9fb26c4b3bd777ab89544720c5","ref":"refs/heads/test-210","pushedAt":"2023-08-01T09:09:48.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Throw exception when mapping non-flat values in flat typed properties\n\nFlat types can all be casted to each other,\nbut objects and arrays can't be casted to flat types.\n\nPreviously an E_NOTICE has been raised:\n> Array to string conversion\n\nThis is prevented now, and a proper JsonMapper_Exception is thrown.","shortMessageHtmlLink":"Throw exception when mapping non-flat values in flat typed properties"}},{"before":"8d81e909a2e19960f7410eb29ed2370f7cc1be56","after":"d54d4ffc4c489ee319658aafbe679072cb1a3bc2","ref":"refs/heads/test-210","pushedAt":"2023-08-01T09:04:15.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Throw exception when mapping non-flat values in flat typed properties\n\nFlat types can all be casted to each other,\nbut objects and arrays can't be casted to flat types.\n\nPreviously an E_NOTICE has been raised:\n> Array to string conversion\n\nThis is prevented now, and a proper JsonMapper_Exception is thrown.","shortMessageHtmlLink":"Throw exception when mapping non-flat values in flat typed properties"}},{"before":"062c124486d73e79979e0bf0026b9e172632bc0b","after":"8d81e909a2e19960f7410eb29ed2370f7cc1be56","ref":"refs/heads/test-210","pushedAt":"2023-08-01T09:00:49.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Throw exception when mapping non-flat values in flat typed properties\n\nFlat types can all be casted to each other,\nbut objects and arrays can't be casted to flat types.\n\nPreviously an E_NOTICE has been raised:\n> Array to string conversion\n\nThis is prevented now, and a proper JsonMapper_Exception is thrown.","shortMessageHtmlLink":"Throw exception when mapping non-flat values in flat typed properties"}},{"before":null,"after":"062c124486d73e79979e0bf0026b9e172632bc0b","ref":"refs/heads/test-210","pushedAt":"2023-08-01T08:57:18.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Throw exception when mapping non-flat values in flat typed properties\n\nFlat types can all be casted to each other,\nbut objects and arrays can't be casted to flat types.\n\nPreviously an E_NOTICE has been raised:\n> Array to string conversion\n\nThis is prevented now, and a proper JsonMapper_Exception is thrown.","shortMessageHtmlLink":"Throw exception when mapping non-flat values in flat typed properties"}},{"before":null,"after":"ed5f95b96955533dd0684b677d71882a307701f0","ref":"refs/heads/test-phpunit10","pushedAt":"2023-08-01T08:43:54.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"cweiske","name":"Christian Weiske","path":"/cweiske","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/59036?s=80&v=4"},"commit":{"message":"Allow running tests with PHPUnit 10\n\n.. which is better for PHP 8.1+","shortMessageHtmlLink":"Allow running tests with PHPUnit 10"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAETXmiRwA","startCursor":null,"endCursor":null}},"title":"Activity ยท cweiske/jsonmapper"}