1
0
mirror of https://github.com/halaxa/json-machine.git synced 2025-01-19 05:47:57 +01:00

73 Commits

Author SHA1 Message Date
Filip Halaxa
f8b1827b2a Failing test 2021-04-06 11:34:02 +02:00
Filip Halaxa
b0249a5e95 Fixed argument passing to run.sh 2021-04-03 21:52:15 +02:00
Filip Halaxa
69a7a6970c Getting a scalar value from an array using json pointer 2020-12-23 18:22:09 +01:00
Filip Halaxa
1230023e91 Getting scalar value from object also provides the key if necessary 2020-12-19 22:00:36 +01:00
Filip Halaxa
2bf91eb689 Implemented scalar value matching 2020-12-15 14:57:34 +01:00
Filip Halaxa
430ad84537 Better test method name 2020-12-13 21:27:44 +01:00
Filip Halaxa
3b1c4582f8 Typo 2020-12-11 20:27:26 +01:00
Filip Halaxa
b8881a92b6 End iteration after subtree has ended, fixes #39 2020-12-11 20:24:38 +01:00
Filip Halaxa
258db0520f Parser readability 2020-12-10 13:42:32 +01:00
Filip Halaxa
e88ea0a06f Dropped PhpUnit mocks because of incompatibility with old php 2020-12-06 21:40:38 +01:00
Filip Halaxa
5a16d75f38 ErrorWrappingDecoder implementation 2020-12-06 21:40:38 +01:00
Filip Halaxa
59051e1927 Fixed JsonDecoder test directory structure 2020-12-06 21:40:38 +01:00
Filip Halaxa
81bbc0a6df Introduced FileChunks to correctly free file resource 2020-12-05 13:59:27 +01:00
Filip Halaxa
8b5f5fb0d4 (String|Stream)Bytes renamed to (String|Stream)Chunks 2020-12-05 13:59:27 +01:00
Filip Halaxa
067c34da4e Revert "Dropped PHP 5 support"
This reverts commit c81414a2f543459d204782f92c7873f2f0dc8839.
2020-12-05 13:59:27 +01:00
Filip Halaxa
ed8cc59dcb Fixed build 2020-12-01 21:10:49 +01:00
Filip Halaxa
0926b35cb3 Merge branch '0_4' 2020-12-01 20:58:22 +01:00
Filip Halaxa
17c52541b5 JsonMachine::getPosition() 2020-12-01 20:34:17 +01:00
Filip Halaxa
c81414a2f5 Dropped PHP 5 support 2020-11-11 12:45:00 +01:00
Filip Halaxa
5a2275ae67 Changelog + param types to annotations 2020-11-09 12:24:07 +01:00
Gabriel Memmel
dfa50658bb Unexpected end as syntax error #26, #27. All exceptions inherited from JsonMachineException #2 2020-11-09 12:03:22 +01:00
Gabriel Memmel
43941b5d82 Added unexpected end exception with tests 2020-11-09 12:03:22 +01:00
Filip Halaxa
9b97df182e Updated XDEBUG in testing suite 2020-11-08 16:28:15 +01:00
Filip Halaxa
4e624a6120 Reverting DOCKER_IMAGE_TAG - no need for point release anyway 2020-11-07 22:56:24 +01:00
Witold Wasiczko
4308c93909
Update local tests on all platforms 2020-11-05 17:30:01 +01:00
Filip Halaxa
9184c0c317 Make deprecations silent in tests 2020-04-17 15:11:30 +02:00
Filip Halaxa
1d14d4567c testPassThruDecodeValue 2020-04-16 22:39:10 +02:00
Filip Halaxa
09990382a0 DecodersTest 2020-04-16 22:39:10 +02:00
Filip Halaxa
e84d8a5f62 ExtJsonDecoderTest 2020-04-16 22:39:10 +02:00
Filip Halaxa
3d9bbf590e Added test for malformed keys 2020-04-16 15:31:25 +02:00
Filip Halaxa
89c83562c6 Swappable json decoder 2020-04-16 15:22:53 +02:00
Filip Halaxa
7c0a313c2b Definition of deprecated httpClientChunks moved to examples 2020-04-16 13:30:24 +02:00
Filip Halaxa
89c98b887b Function httpClientChunks is deprecated 2020-04-16 13:16:34 +02:00
Filip Halaxa
6f1e4aa3bf Correct naming 2020-04-16 09:32:51 +02:00
Filip Halaxa
edfe81352f JsonMachine::fromIterable + Symfony HttpClient support 2019-12-20 15:49:04 +01:00
Filip Halaxa
c3aa1f7c62 Merge remote-tracking branch 'pr19/master' 2019-12-19 19:26:25 +01:00
Filip Halaxa
b7ffc662c9 Fixes #6 - falsy pointer does not match falsy path 2019-12-13 22:02:29 +01:00
Filip Halaxa
f7f4d7be62 Supports stable PHP 7.4 2019-12-13 17:52:29 +01:00
Filip Halaxa
15fee5e7c8 Fixed #19 - currentPath building process is fixed 2019-12-12 22:24:04 +01:00
Bas de Groot
5e95d9fbce set pointer of the failing test to the exact place where it fails. 2019-12-02 10:54:46 +01:00
Bas de Groot
6d45dfabd9 Failing unittest:
in src/Parser.php at line 112 $currentPath[$currentLevel] holds thepreviously found attribute string ("previous_download") which is then used for a calculation.

Error:
A non-numeric value encountered

src/Parser.php:112
test/JsonMachineTest/JsonPointerTest.php:16
2019-12-02 10:47:07 +01:00
Filip Halaxa
c892385db9 Tests pass on PHP 7.4 RC 2019-10-15 12:31:20 +02:00
Filip Halaxa
cbc45bdcff Helper function to cast iterator of arrays to iterator of objects 2019-10-15 12:21:03 +02:00
Fabien
ed7b0ea914 Add test for UTF-8 BOM detection 2019-10-15 11:51:50 +02:00
Nathan Bishop
4e75db9600 Remove testing of positional information 2019-06-12 13:15:41 +02:00
Filip Halaxa
b4817b8cc8 Added dataset captions 2019-06-12 13:15:41 +02:00
Filip Halaxa
f55f6d8bbf Added some crlf confusion :) 2019-06-12 13:15:41 +02:00
Nathan Bishop
f942d27eba Add tests for verifying behaviour of tracking a lexemes position within a JSON file 2019-06-12 13:15:41 +02:00
Filip Halaxa
bd667f515b Removed leading newlines in run.sh 2019-03-24 16:54:36 +01:00
Filip Halaxa
b8915261ef echo replaced by printf 2019-03-24 16:45:24 +01:00