85 Commits (c8aea719b145ca78a79a60913db5c312883e8ace)

Author SHA1 Message Date
Jordi Boggiano c8aea719b1 CS fixes 7 years ago
Gabriel Caruso afc9a7643e Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 7 years ago
Deamon 3d753b117b add test on remove mainkey at end of file 7 years ago
Sven Münnich d51ef83a43 Fix case insensitivity of ‘require’ command
When currently executing the `require` command for a package that is already listed in `require(-dev)`, one must use the exact same, case matching package name as written in `composer.json`. That is, if one changes the case of a character in the package name, the `require` command will add a new entry to `require(-dev)`, instead of updating the existing one.

This commit fixes the described behaviour to make it consistent with other commands like `update` that are already case insensitive.
7 years ago
Remi Collet 95d82f6fde fix test for json-schema 5.2 7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
Christophe Coevoet 1cb0ec7911 Resolve references in ComposerSchemaTest 8 years ago
Jordi Boggiano 43903a3979 Merge branch '1.2' 8 years ago
Christophe Coevoet 1882f9a502 Enhance the json schema with validation for map objects 8 years ago
Jordi Boggiano e38ebefc7e Update packagist default repo to be packagist.org 8 years ago
Jordi Boggiano d1867d5859 Merge branch '1.2' 8 years ago
Jordi Boggiano 5ee22f25ba Rework JSON matching to use a properly recursive pattern, fixes #5771 8 years ago
Jordi Boggiano 092dec9596 Add failing test for #5771 8 years ago
Jordi Boggiano 20ee689bb4 Upgrade json-schema to allow v3 and upgrade other deps 8 years ago
Jordi Boggiano 135783299a Add support for editing top level properties and extra values, replaces #2415, fixes #1411, fixes #2384 8 years ago
Daniel Iancu 3bdb0ee5fd Fix addMainKey method of JsonManipulator with content having $n
This will store correctly passwords having a dolloar sign followed by a digit in the auth.json file.
If the content variable has "$n" (where n consists of digits) it will match as a replacement reference for preg_replace and thus it will get stripped because there's no such parenthesized pattern.
8 years ago
Jordi Boggiano edebbef98a Add test and fix for very large repos, moar possessive quantifiers, fixes #5104 8 years ago
Jordi Boggiano 48420a2411 Update deps and bump json-schema requirement, fixes #4756 9 years ago
Thiago Carvalho 320533bcf9 Fixes #4610 9 years ago
Remi Collet a6c6537529 skip no more needed with jsonc 1.3.9 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Remi Collet 9b9cbfe111 fix for changes in justinrainbow/json-schema 1.4.4 9 years ago
Remi Collet c014e0882f ignore this test with 'jsonc' 9 years ago
Jordi Boggiano 27aac31970 Fix tests for autocrlf=true checkouts, fixes #4049 9 years ago
Possum 29ca21f30e PHP version checks tweaking 9 years ago
Jordi Boggiano 21e92b869e Merge pull request #4000 from SpacePossum/json_testing
On Json tests failures show more test failure details
9 years ago
Possum d7f7418243 some more test failure details 9 years ago
Possum 2e99b9fdf5 Use https where possible 9 years ago
Jordi Boggiano ab02867015 Use natural sort to sort packages, refs #3872 9 years ago
Jordi Boggiano 081e26f4d7 Merge remote-tracking branch 'localheinz/feature/sort-packages' 9 years ago
Jordi Boggiano 00ca2a91a3 Fix typo 9 years ago
Jordi Boggiano a5dfaafa02 Add a fixture for the schema validation 9 years ago
Jordi Boggiano fa398e14c7 Fix indent detection in json files when an empty line starts the object 9 years ago
Jordi Boggiano 32a479a1e7 Fix subkey manipulation when the main key does not exist yet 9 years ago
Andreas Möller 32538a21a2 Enhancement: Sort packages by importance, then alphabetically 9 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 10 years ago
Jordi Boggiano d742ffca4f Fix removal of missing keys 10 years ago