1
0
mirror of https://github.com/halaxa/json-machine.git synced 2025-03-16 01:19:39 +01:00

402 Commits

Author SHA1 Message Date
Filip Halaxa
0d28290d93 Added @covers annotations in tests 2022-01-27 13:05:57 +01:00
Filip Halaxa
d804498649 Tests radability 2022-01-27 13:05:57 +01:00
Filip Halaxa
aac5ad3547 Set theme jekyll-theme-cayman 2022-01-26 22:01:03 +01:00
Filip Halaxa
1abd05ee2b Credit to @fwolfsjaeger 2022-01-26 16:45:30 +01:00
Filip Halaxa
438e8fea4f Proper deprecation of \JsonMachine\Parser::getJsonPointer() 2022-01-26 15:45:27 +01:00
Filip Halaxa
6622299be5 Test for Items::getJsonPointers() 2022-01-26 14:37:07 +01:00
Filip Halaxa
46d068252b Tests for Items::getMatchedJsonPointer() and Items::getCurrentJsonPointer() 2022-01-26 14:31:55 +01:00
Filip Halaxa
e68452db63 Added test cases to testGetCurrentJsonPointer and testGetMatchedJsonPointer 2022-01-25 21:56:28 +01:00
Filip Halaxa
27f93442c8 SRP: Split test method into two 2022-01-25 13:12:06 +01:00
Filip Halaxa
74004d430c Merge branch 'master' into pr-61-multiple-json-pointers 2022-01-25 12:41:16 +01:00
Filip Halaxa
5fadf1c7d1 Deleted .scrutinizer.yml and .travis.yml 2022-01-24 21:47:54 +01:00
Filip Halaxa
79728aff56 One more workflow rename 2022-01-24 20:44:13 +01:00
Filip Halaxa
92a866ccf4 Makefile workflow name fixed 2 2022-01-24 17:07:47 +01:00
Filip Halaxa
4e4b0e9946 Makefile workflow name fixed 2022-01-24 17:05:12 +01:00
Filip Halaxa
ee46f75d2b Makefile workflow renamed 2022-01-24 17:04:10 +01:00
Filip Halaxa
a8113c95e0 'make cs' renamed to 'make cs-check' 2022-01-24 16:41:31 +01:00
Filip Halaxa
0a235f6a29 No need to have 'make docker-pull' with automatic pulling in place since previous commit. 2022-01-24 16:32:35 +01:00
Filip Halaxa
41da9ff508 Fix docker's build images to minor version 2022-01-24 15:49:14 +01:00
Filip Halaxa
604c435481 Trigger build 2022-01-24 14:56:10 +01:00
Filip Halaxa
484c6126f0 Test layer caching 2022-01-24 14:48:56 +01:00
Filip Halaxa
69ea059428 Trigger build 2022-01-24 14:39:57 +01:00
Filip Halaxa
4060bc5f14 Updated build badge 2022-01-24 14:37:31 +01:00
Filip Halaxa
e15b2ddf33 Fixed whitespace in Makefile 2022-01-24 14:19:28 +01:00
Filip Halaxa
462a678ded Don't require interactive terminal for docker in scripts 2022-01-24 14:10:54 +01:00
Filip Halaxa
38ac3850eb
Create makefile.yml 2022-01-24 14:08:05 +01:00
Filip Halaxa
75dd7e7172 Fixed build 2022-01-24 13:52:41 +01:00
Filip Halaxa
c549c323e5 make cs-fix 2022-01-23 12:38:20 +01:00
Filip Halaxa
caaa4d7e73 Fixed failing tests because of strpos() behaviour for PHP<8 2022-01-23 12:35:26 +01:00
Filip Halaxa
0498cb4af8 Improved exception messages 2022-01-22 22:19:40 +01:00
Filip Halaxa
1394a1b30e CHANGELOG 2022-01-22 22:09:35 +01:00
Filip Halaxa
592e71ba92 \JsonMachine\Parser::getJsonPointer(): Keep pre-PR signature 2022-01-22 22:08:34 +01:00
Filip Halaxa
3ec236d6b0 Parser::getJsonPointerPath() reverted to pre-PR state to keep the functionality during deprecation 2022-01-22 22:04:39 +01:00
Filip Halaxa
4b158928ca REAMDE typo 2022-01-22 21:38:20 +01:00
Filip Halaxa
45f4fc2e59 CHANGELOG updated 2022-01-22 21:34:25 +01:00
Filip Halaxa
0720de6839 REAMDE reflects new functionality 2022-01-22 21:13:34 +01:00
Filip Halaxa
3b66b0856f Added edge test cases proving correct order of decoding and encoding of JSON Pointer 2022-01-22 15:40:59 +01:00
Filip Halaxa
9fa05acd41 Object properties should not be unset 2022-01-22 14:40:10 +01:00
Filip Halaxa
f29c31bdf4 make cs-fix 2022-01-22 14:35:26 +01:00
Filip Halaxa
6126020b20 Options validation factored out to separate ItemsOptions class 2022-01-22 14:33:25 +01:00
Filip Halaxa
151e46b9ee testGetJsonPointers() 2022-01-20 19:10:38 +01:00
Filip Halaxa
f3bc7ba589 Backwards compatible Parser::getJsonPointer() behavior 2022-01-20 19:05:51 +01:00
Filip Halaxa
c7abb78f61 Fixed some stuff in tests 2022-01-20 18:55:31 +01:00
Filip Halaxa
90d11ecb96 Proper deprecation of Parser::getJsonPointerPaths() 2022-01-20 18:47:26 +01:00
Filip Halaxa
19768a44fc Revert "Amended pointer check with pointers array"
This reverts commit 460d2624c4ea9e9e01fe8ee1a4f4afbfa31f3b70.
2022-01-20 18:37:05 +01:00
Filip Halaxa
8e02affedf Rename isSingleJsonPointer to hasSingleJsonPointer 2022-01-20 18:20:30 +01:00
Filip Halaxa
718bb5a5c5 Parser: Factor out decode and encode methods + some renames 2022-01-20 18:17:55 +01:00
Filip Halaxa
59c25097b0 make cs-fix 2022-01-20 17:00:56 +01:00
Florian Wolfsjäger
a8272d4125
Renamed JSON pointer variable
Always return the first passed pointer in getJsonPointer()
2022-01-20 15:50:16 +01:00
Florian Wolfsjäger
460d2624c4
Amended pointer check with pointers array 2022-01-20 15:02:30 +01:00
Florian Wolfsjäger
0d92dafb0b
Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	src/Parser.php
2022-01-20 14:01:40 +01:00