Jordi Boggiano
|
27aac31970
|
Fix tests for autocrlf=true checkouts, fixes #4049
|
9 years ago |
Possum
|
29ca21f30e
|
PHP version checks tweaking
|
10 years ago |
Jordi Boggiano
|
21e92b869e
|
Merge pull request #4000 from SpacePossum/json_testing
On Json tests failures show more test failure details
|
10 years ago |
Possum
|
d7f7418243
|
some more test failure details
|
10 years ago |
Possum
|
2e99b9fdf5
|
Use https where possible
|
10 years ago |
Jordi Boggiano
|
ab02867015
|
Use natural sort to sort packages, refs #3872
|
10 years ago |
Jordi Boggiano
|
081e26f4d7
|
Merge remote-tracking branch 'localheinz/feature/sort-packages'
|
10 years ago |
Jordi Boggiano
|
00ca2a91a3
|
Fix typo
|
10 years ago |
Jordi Boggiano
|
a5dfaafa02
|
Add a fixture for the schema validation
|
10 years ago |
Jordi Boggiano
|
fa398e14c7
|
Fix indent detection in json files when an empty line starts the object
|
10 years ago |
Jordi Boggiano
|
32a479a1e7
|
Fix subkey manipulation when the main key does not exist yet
|
10 years ago |
Andreas Möller
|
32538a21a2
|
Enhancement: Sort packages by importance, then alphabetically
|
10 years ago |
Rob Bast
|
d02eb8760b
|
strict check, testcase(s)
|
10 years ago |
Jordi Boggiano
|
6c971c3028
|
Fix regex matching and add more tests for addSubNode, refs #3721, fixes #3716
|
10 years ago |
Rob Bast
|
fb54429941
|
solve edge case for `composer remove vendor/pkg`
|
10 years ago |
Jordi Boggiano
|
bef89604e2
|
Fix parsing of strings, fixes #3543
|
10 years ago |
Andreas Möller
|
6ddd8d4ec7
|
Enhancement: Add sort-packages option which allows sorting of packages
|
10 years ago |
Jordi Boggiano
|
94926218e8
|
CS fixes
|
10 years ago |
Jordi Boggiano
|
109f4ffd5e
|
Normalize json across all php versions, fixes #3226
|
10 years ago |
Jordi Boggiano
|
ed54e8346d
|
Fix json test, fixes #3326
|
10 years ago |
Jordi Boggiano
|
55a6a1c3d4
|
Add support for nested arrays in the json manipulator, fixes #3296
|
10 years ago |
Jordi Boggiano
|
8881cec174
|
Simplify version ranges (hopefully includes hhvm), refs #3049
|
10 years ago |
Jordi Boggiano
|
3874a11238
|
Update json test
|
10 years ago |
Jordi Boggiano
|
ac497feaba
|
CS fixes
|
10 years ago |
Jordi Boggiano
|
7131607ad1
|
Fix regression in handling github-oauth settings in auth.json
|
10 years ago |
Jordi Boggiano
|
4392be4d29
|
Fix some more inconsistencies in json manipulation
|
11 years ago |
Jordi Boggiano
|
d742ffca4f
|
Fix removal of missing keys
|
11 years ago |
Jordi Boggiano
|
604a65cc31
|
Fix indenting, refs #2788
|
11 years ago |
Sylvain Filteau
|
92e283973f
|
Skip test requiring mbstring when it's not installed
|
11 years ago |
Sandy Pleyte
|
3a2815b778
|
Added extra unit test from the example in the ticket.
|
11 years ago |
Sandy Pleyte
|
f92f2f45a9
|
Fix for #2613, when using php < 5.4 there was an unnecessary backslash before each utf-8 char. The problem was that the regexp matched all utf-8 encoded chars (included the ones that where escaped). The new regexp uses the lookbehind feature to check if the backslash isn't prefixed with an other backslash.
|
11 years ago |
Sandy Pleyte
|
7a902ed96d
|
Fix for #2613, when using php < 5.4 there was an unnecessary backslash before each utf-8 char. The problem was that the regexp matched all utf-8 encoded chars (included the ones that where escaped). The new regexp uses the lookbehind feature to check if the backslash isn't prefixed with an other backslash.
|
11 years ago |
Zbigniew
|
94635c0d14
|
[tests] Unit tests for JsonValidationException class
|
11 years ago |
Jordi Boggiano
|
99f5b5a238
|
Fix backtracking issue in json manipulations, fixes #2583
|
11 years ago |
Jordi Boggiano
|
3b48a1fea6
|
Fix JsonManipulator handling of package links, fixes #1465
|
12 years ago |
Jordi Boggiano
|
3bd6af690d
|
Allow JsonManipulator::addMainKey to update top level keys as well
|
12 years ago |
Jordi Boggiano
|
3d953384fa
|
Fix indenting detection in JsonManipulator, fixes #1788
|
12 years ago |
Jordi Boggiano
|
b4d691e46d
|
Add test for escape sequences
|
12 years ago |
Jordi Boggiano
|
e348642aa7
|
Fix json manipulator handling of escaped backslashes, fixes #1588
|
12 years ago |
Jordi Boggiano
|
a7c950cddd
|
Add support for github-oauth in config command
|
12 years ago |
Jordi Boggiano
|
dea4bdf8f0
|
Expand {} into a new line before manipulating json, fixes #1481
|
12 years ago |
Jordi Boggiano
|
24963fb4c8
|
Fix handling of arrays in json manipulator
|
12 years ago |
Jordi Boggiano
|
5cb9a6ead7
|
Write in the json directly without reformatting the whole file - skip validation since that is not really the job of the config command
|
12 years ago |
Jordi Boggiano
|
521bbe6556
|
CS fixes
|
12 years ago |
Jordi Boggiano
|
db16f68fbf
|
Tweak exception messages
|
12 years ago |
Robert Schönthal
|
e96e06946f
|
fixed json file tests
|
12 years ago |
Robert Schönthal
|
c517ac6404
|
fixed issue #347 added file to json validation exception
|
12 years ago |
Jordi Boggiano
|
f5e0918104
|
Add JsonManipulator class for doing raw manipulation of json strings
|
13 years ago |
Jordi Boggiano
|
a30e6109bf
|
Fix 5.4.0 interop in formatting of empty array/objects
|
13 years ago |
Martin Hasoň
|
947d429c61
|
Removed definition of global constants reserved for PHP >=5.4 and fixed tests
|
13 years ago |