147 Commits (29761cf78d2a85986c53c802b2a38c412689d437)

Author SHA1 Message Date
Jordi Boggiano 4ce3836f51
Fix creation of a php: dir when running create-project, fixes #8849 4 years ago
Adam Žurek 25cd2382cb
Raise phpstan level to 1 (#8027) 4 years ago
Jordi Boggiano 8584d15e8c
Merge branch 'master' into 2.0 4 years ago
Жаков Виталий a4dc076dc8 fix file load errors 5 years ago
Жаков Виталий 8429a48dac Change only modified files 5 years ago
Jordi Boggiano a5b178084c
Merge branch 'master' into 2.0 5 years ago
Adriano Ferreira 607d491921 Implemented way to add packages into suggest through CLI 5 years ago
Jordi Boggiano 6c4357a7ed
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 14f2a6dd9a
Fix remove command not working with escaped slashes (e.g. foo\/bar), fixes #8249 5 years ago
Nils Adermann d2fa1e1319 Merge branch 'master' into 2.0
* master: (48 commits)
  SVN: hide passwords for debug output
  Free $solver asap
  fixes #8179
  [minor] Fixed a typo in the CHANGELOG.md.
  Update deps
  Update changelog
  Revert "Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET" Revert "Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151"
  Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151
  Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138
  Read classmap-authoritative and apcu-autoloader from project config when installing via create-project, fixes #8155
  Use possessive quantifiers
  Update xdebug-handler to 1.3.3
  fixes #8159
  Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET
  flag should come before script name
  use full command name, not abbreviated/alias
  modify text
  Document the alternatives to disable the default script timeout
  Anchor pattern
  Fix URL resolution for Composer repositories
  ...
5 years ago
Jordi Boggiano fbb964888d
Merge branch '1.8' 5 years ago
Rob Bast 51753bc08c fixes #8131 5 years ago
Jordi Boggiano 0b928b2a42 Merge branch 'master' into 2.0 6 years ago
Jordi Boggiano f946d8eb5a More RemoteFilesystem usage removals and some repository/vcs driver refactorings 6 years ago
Raphaël Aurières 6725d1d244 Fix docblock. 6 years ago
Raphaël Aurières a8f27bf097 Fix constant usage to be compatible with PHP 5.3 6 years ago
Raphaël Aurières 3c01faf0e2 Use parameter with default value to set schema file path. 6 years ago
Alexander Kurilo 5a22a4f1f3 Make surrogate sequences in JSON work on PHP 5.3
Fixes #7510
6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Gabriel Caruso 7d9f8e2247
Improvements
Small improvements, such as remove unused imports, unecessaries casts, parentheses, etc.
6 years ago
Jordi Boggiano 0ab843a058 Fix setting of scripts from config command, refs #7225 6 years ago
Gabriel Caruso 3d262bd637 Fixes from PHPStan level 0
More fixes from PHPStan level 0
7 years ago
Andreas Möller de07f588c1
Fix: Use array_key_exists() instead of isset() 7 years ago
Vladimir Reznichenko c8615358cb SCA with PHP Inspections (EA Extended) 7 years ago
Jordi Boggiano 802849d52c Wording tweaks 7 years ago
Deamon 5b29b7c8e3 delete last coma if deleting last element before 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
Jordi Boggiano d7b2e42fa9 Do not split repo names on dots, fixes #6424 7 years ago
Christophe Coevoet 6daa2afdd3 Fix the handling of references in JSON schemas when validating
References must be resolved when loading the schema, otherwise they will fail
when using them.
The easiest way is actually to let the JsonSchema library load the file itself.
8 years ago
Jordi Boggiano 5ee22f25ba Rework JSON matching to use a properly recursive pattern, fixes #5771 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
Jordi Boggiano a5f86b6ea0 Fix all other instances of addcslashes that might have issues with $ signs in strings, refs #5221 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 3b0a1c6f70 Run cs fixer and update config to latest master 8 years ago
Niels Keurentjes 818c3e707a Ton of phpDoc fixes. 8 years ago
Jordi Boggiano edebbef98a Add test and fix for very large repos, moar possessive quantifiers, fixes #5104 8 years ago
Jordi Boggiano 2217f4e09e Add support for PREG_JIT_STACKLIMIT_ERROR, refs #5104 8 years ago
Jordi Boggiano cb53bd04cb Remove a few instances of RemoteFilesystem that were not needed 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Possum 29ca21f30e PHP version checks tweaking 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 06fb00bfe5 Fix handling of platform packages to be future proof, refs #3872 9 years ago
Jordi Boggiano 081e26f4d7 Merge remote-tracking branch 'localheinz/feature/sort-packages' 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
Hugo Fonseca e79d067690 Make parseJson safer 9 years ago
Hugo Fonseca 1bb871dca8 Add docBlock and fix CS 9 years ago
Jordi Boggiano d9b5c884ba Detect and warn JSON encoding failures, refs #3786 9 years ago