48 Commits (f667c7b8de9ce11d00ff4f055d0557498c37b103)

Author SHA1 Message Date
Paolo Rossi 3add01a40b
PHPStan level 6 in src/Composer/Config (refs #10159) (#10182) 3 years ago
Jordi Boggiano d1c8a4d1b4
Lots of typing improvements 3 years ago
Jordi Boggiano 3380178798
Introduce a cross-platform safe version of is_readable to support UNC / wsl$ paths on Windows (#9861) 3 years ago
Jordi Boggiano b7d770659b
CS fixes 4 years ago
Jordi Boggiano c7da7e55c9
Fix various issues with regard to schema conformity when modifying json, fixes #9515 4 years ago
Jordi Boggiano e5a009ed80
Make sure empty objects are not left behind when removing requires/.. fixes #9462 4 years ago
Jordi Boggiano 3f8f549352
Add new flag to ConfigSourceInterface as most likely there are no implementors anyway 4 years ago
Jordi Boggiano f2f3b03fec
Fix config/create-project handling of repositories to prepend them by default as this is most likely the goal, fixes #9371 4 years ago
Simon Berger bae227ec2d Changed all substr calls used to compare fragments of text to strpos
Some additional code cleanups in those classes

Reverted change causing issues
4 years ago
Jordi Boggiano b1cbc08ec0
Allow false as well as repository value, refs #9165 4 years ago
Jordi Boggiano d63eb8179e
Merge branch 'master' into 2.0 4 years ago
Jordi Boggiano f964b83018
Add bearer support in config command and add to docs/schema, refs #8671 4 years ago
arai 766c8d448c add 'array' to document in ConfigSourceInterface.php 4 years ago
Jordi Boggiano bc002ae1fb
Merge branch 'master' into 2.0 4 years ago
Jordi Boggiano 850bfcddfa
Fix json manipulation fallback handling of empty objects, fixes #8600 4 years ago
Matthew Brown 65903aacfd Fix type issues (#7996)
* Fix type issues found by Psalm
5 years ago
Andreas Möller ea333aa134
Fix: Remove empty node 6 years ago
Jordi Boggiano 0ab843a058 Fix setting of scripts from config command, refs #7225 6 years ago
Jordi Boggiano 7aeb1b0c41 Fix conversion of repo format in config command, fixes #6245, closes #6271 7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
moyo c4ac59601f Update related docs and config definitions 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
David Zuelke cf43244f85 fix config add/remove/unset/merge for bitbucket 8 years ago
Paul Wenke 9059d70ba0 Corrected username / access token parameters for $this->io->setAuthentication when read from git config. Grant type is now only set when requesting an access token. Removed bitbucket-domains and bitbucket-protocols from config. Fixed bitbucket typo in JsonConfigSource. Removed unecessary comments. Changed visibility of Composer/Util/Bitbucket properties to private. Added https to bitbucket url. Removed unused $note variable. 8 years ago
Paul Wenke d5332a1b5c Developed bitbucket-oauth functionality. 8 years ago
Jordi Boggiano 2ff19e4c62 Fix JsonConfigSource fallback on php5.3, refs #4972 8 years ago
Niels Keurentjes 98845dca6f PHP 5.3 does not support $this in closures. Nested reuse of identical variables separated. 8 years ago
Joseph Bielawski d9d3de8861 Be sure that configuration file can be manipulated by actual user 9 years ago
Niels Keurentjes 18cd4f966b Added silencer utility to more gracefully handle error suppression without hiding errors or worse. Fixes #4203, #4683 9 years ago
Michal Gebauer 611f9dcfe2 Reordered keys gitlab comes after github 9 years ago
Michal Gebauer 7517a99b1c Could not configure gitlab-oauth via CLI #3765 9 years ago
Jordi Boggiano a57c51e8d7 Finalize platform override feature
- Added tests, docs
- Persist to lock file
- Add support in config command
- Added to json schema
9 years ago
Jordi Boggiano 94926218e8 CS fixes 10 years ago
François Pluchino 8b5c00bff0 Fix phpdoc 10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
Jordi Boggiano fc57c97f9f Merge pull request #2994 from MacDada/JsonConfigSourceFuncMadePrivate
JsonConfigSource: arrayUnshiftRef(): visibility and naming
10 years ago
Jordi Boggiano 90d1b6e08a Rename basic-auth to http-basic, add docs/schema/config support, add local auth file support, add storage to auth.json, add store-auths config option, refs #1862 10 years ago
Dawid Nowak 851082e9f4 JsonConfigSource->array_unshift_ref() set private and changed name to arrayUnshiftRef() 10 years ago
Sandy Pleyte d788ee7d99 Fixed docblock 11 years ago
Sandy Pleyte 6bdcd9266c Fixed #2601, the callback functions expect param 1 to be a reference to the $config 11 years ago
Jordi Boggiano 05ffc605f1 Ignore chmod failures, fixes #1854 11 years ago
Jordi Boggiano 8a06e461e5 Fix a few bugs, fixes #1867 11 years ago
Beau Simensen 752fa64704 Added addLink and removeLink to Configuration Source Interface
* Added addLink() and removeLink() to `ConfigSourceInterface`
 * Added addLink() and removeLink() implementations to `JsonConfigSource`
 * Added tests (+ a ton of fixtures) for `JsonConfigSource`
 * Added additional docblocks
 * Minor PSR-1/PSR-2 fixes here and there
12 years ago
Jordi Boggiano c53729793b Make sure the global config file is only readable by the owner 12 years ago
Jordi Boggiano e0ce22f7cc Fix tests 12 years ago
Jordi Boggiano cf0753e062 Initialize config if it does not exist yet 12 years ago
Jordi Boggiano fa89ef75e4 Remove unused use statements 12 years ago
Jordi Boggiano e410da786e Add ConfigSourceInterface and matching class 12 years ago