Jordi Boggiano
|
1bd4ccbd54
php-cs-fixer magic
|
13 éve |
Jordi Boggiano
|
f516c1de48
Add license info for code snippet we reused
|
13 éve |
Jordi Boggiano
|
a30e6109bf
Fix 5.4.0 interop in formatting of empty array/objects
|
13 éve |
Jordi Boggiano
|
69864aeb13
Make check more explicit
|
13 éve |
Jordi Boggiano
|
3bdee3aabe
Detect and report UTF8 encoding errors in json files
|
13 éve |
Jordi Boggiano
|
b14366ed08
Fix exception when a json file can not be downloaded
|
13 éve |
Jordi Boggiano
|
7f65dd7409
Use RemoteFilesystem everywhere we do http requests
|
13 éve |
Martin Hasoň
|
947d429c61
Removed definition of global constants reserved for PHP >=5.4 and fixed tests
|
13 éve |
Jordi Boggiano
|
7ceca9b789
Suppress relaxed schema and build it on the fly in php, refs #151
|
13 éve |
Jordi Boggiano
|
82dd1c1f7f
Add relaxed schema for application packages that do not need to be distributed
|
13 éve |
Jordi Boggiano
|
bd54e43d37
Rework JsonFile API slightly, avoid tokenizing in php if the syntax is valid
|
13 éve |
digitalkaoz
|
6929c42848
added schema/syntax validation for composer.json
|
13 éve |
Martin Hasoň
|
e621495c4d
Added support for JSON_UNESCAPED_SLASHES
|
13 éve |
Jordi Boggiano
|
d1d9c715c9
Add newline at the end of formatted jsons
|
13 éve |
Jordi Boggiano
|
33fcb959ea
Refactor JsonFile::encode to match json_encode
|
13 éve |
Martin Hasoň
|
ff0f833b3e
Added support for JSON_UNESCAPED_UNICODE and fixed parsing string
|
13 éve |
Jordi Boggiano
|
256bfedea1
Merge remote-tracking branch 'jalliot/proxy2'
|
13 éve |
Martin Hasoň
|
e46e1fb981
Changed method to static - JsonFile::encode
|
13 éve |
Martin Hasoň
|
76a2be5ae0
Fixed detection of missing comma and added detection of missing colon in json
|
13 éve |
Jordan Alliot
|
054faef5eb
New context at each call and possibility to add more options and params to the context
|
13 éve |
Jordan Alliot
|
9c27e38654
Moved proxy handling to a new class so that it can be reused in other parts of Composer
|
13 éve |
Jakub Zalas
|
dcdb761e17
Used strict comparision.
|
13 éve |
Jakub Zalas
|
c680ec7e51
Fixed json encoding when quoted value contained trailing backslash.
|
13 éve |
Jordi Boggiano
|
bfe28905d0
Fix formatting and make pretty-printing optional
|
13 éve |
Justin Rainbow
|
447230d77a
Extracting JsonFile additions for prettifying JSON
|
13 éve |
Fabien Potencier
|
90f2a9f406
Use JSON_PRETTY_PRINT option when dumping JSON to help debugging
|
13 éve |
Jordi Boggiano
|
293c45fabe
Fix unescaped backslash issue
|
13 éve |
Jordi Boggiano
|
066a0db752
Add detection for unescaped backslashes
|
13 éve |
Jordi Boggiano
|
f5aa3e6c79
Add detection for extra commas in arrays
|
13 éve |
Jordi Boggiano
|
c129d570e8
Add more json validation rules
|
13 éve |