1372 Commits (fdfdee03c1cb4af7e0cbbfe9b74b8a956c7c6d2f)

Author SHA1 Message Date
SeRRg c279c7ca96 Add --no-dev option to check-platform-reqs command 6 years ago
Markus Staab 4d49fabbc4
Generating -> Generated 6 years ago
Markus Staab 766ceccd00 Print number of classes contained within the generated classmap
to give the developer a better feeling about number of dependent classes
6 years ago
Jordi Boggiano 15313209d6 Merge branch '1.7' 6 years ago
Jordi Boggiano 0181f07491 Fix create-project not updating to latest commit when cache is present, fixes #7550 6 years ago
Jordi Boggiano 020d1f88c7 Improve error reporting on global command, fixes #7556 6 years ago
Pierre du Plessis d65e1c0112
Revert composer.json changes when require process stops 6 years ago
Jordi Boggiano 0fdf746ebe Fix --no-plugins not working in certain edge cases 6 years ago
Jordi Boggiano de6432f5f0 Show overridden php version in diagnose command, fixes #7497 6 years ago
Jordi Boggiano d73aef5c8a Respect --no-plugins flag when firing pre-command-run event 6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Jordi Boggiano 3f9e85a4c3 Merge remote-tracking branch 'unglud/feature/show-tree-json' 6 years ago
Jordi Boggiano c5fa3bdde0 Migrate to repo.packagist.org for package metadata 6 years ago
Jordi Boggiano 6f56ce062c
Merge pull request #7464 from rellect/composer_i
Add `composer i` shorthand for `composer install`
6 years ago
refael iliaguyev 2f347e1347 add alias `u` to the update command 6 years ago
Jordi Boggiano 3d2b0deb6a
Merge pull request #7402 from m-jch/master
composer show options -t and -l do not work together, fixes #7210
6 years ago
refael iliaguyev b63e2de819 add alias `i` to the install command 6 years ago
Gabriel Caruso 7d9f8e2247
Improvements
Small improvements, such as remove unused imports, unecessaries casts, parentheses, etc.
6 years ago
Matrosov 7221e4ea4e Generate tree view before displaying it
Add support json tree view
6 years ago
mohsen shafiei 20e89a7621 composer show options -t and -l do not work together, fixes #7210 6 years ago
Jordi Boggiano 0f373e3249 Fix issues introduced by #7191, fixes #7263 6 years ago
Jordi Boggiano f42e6a5772 Compute keep-vcs/remove-vcs last minute to allow plugins to change the value, refs #7002 6 years ago
Jordi Boggiano 0ab843a058 Fix setting of scripts from config command, refs #7225 6 years ago
Jordi Boggiano 5aff7dff70 Merge remote-tracking branch 'swumao/feature-7208' 6 years ago
Jordi Boggiano ea78712822 Merge branch '1.6' 6 years ago
Jordi Boggiano 785aba9d82 Merge remote-tracking branch 'stof/fix_show_columns' into 1.6 6 years ago
Jordi Boggiano a8cf4a07fc Merge branch '1.6' 6 years ago
Jordi Boggiano fa539766b8 Output outdated warning on stderr, fixes #7218 6 years ago
Jordi Boggiano a51911f295 Merge commit 'b1a78b60fe552bc6e7df09cb1c0154797fea6f64' 6 years ago
Jordi Boggiano 2bd34c0534 Merge branch '1.6' 6 years ago
Jordi Boggiano 5460e5d86f Respect current PHP version when figuring out requirements for init command, fixes #7257 6 years ago
Carlos 2f56c3c334 Change status command help to make it clearer, closes #7213 6 years ago
Jordi Boggiano 78017bcbcb Fix support for uppercase package names in why/why-not commands, fixes #7198 6 years ago
Jordi Boggiano ec9ba46c5f Fix run-script --list failing to handle native script handlers, fixes #7069 6 years ago
闫兴茂 491ae0634a Fix bug for scripts for config command 6 years ago
Hector Prats 90ac5e0749 improving doc 6 years ago
Hector Prats 2413b55c60 LocalChanges for ArchiveFiles 6 years ago
Christophe Coevoet ce521e5697 Take only displayed packages into account to determine column width
The ShowCommand was taking all packages into account when determining the
max lengths used to display the width of each column. This was causing
unnecessary hiding of columns in case of using a longer name or a longer
version in a different package.
This was especially visible when using the outdated command, as it applies
filtering by default.
6 years ago
Jordi Boggiano 9f34ee9892 Merge branch '1.6' 7 years ago
Jordi Boggiano a61a8d78b1 Fix warning for packages not existing while they exist but not at the required stability, fixes #7044 7 years ago
Jordi Boggiano 71896b0777 Fix self-update regression, fixes #7045 7 years ago
Jordi Boggiano ccbbbccadb CAvoid calling PRE_COMMAND_RUN if no composer could be initialized 7 years ago
Jordi Boggiano 352aefe48c Add command name to the PreCommandRun event 7 years ago
Jordi Boggiano b1bfb9bb65 Add PRE_COMMAND_RUN event, fixes #7002 7 years ago
Jordi Boggiano 5f97eb1578 Merge branch '1.6' 7 years ago
Jordi Boggiano 0161a63a0a
Merge pull request #6956 from wsandin/master
Fix for issue 6602 - warning when running composer as another user
7 years ago
Jordi Boggiano 49068c579e
Fix indenting 7 years ago
Vladimir Reznichenko da9e00066c SCA: reduced repetitive methods references, used specialized PhpUnit assertions 7 years ago
Jordi Boggiano ad8b44a4c8 Merge branch '1.6' 7 years ago
Jordi Boggiano a5e35b9e89 Add --remove-vcs flag to create-project command to allow removing user prompts, fixes #7002 7 years ago
Jordi Boggiano ea9b7ecbb0
Merge pull request #6982 from carusogabriel/phpstan
Fixes from PHPStan level 0
7 years ago
Jordi Boggiano 1a6e3ee8c7 Show script description for custom commands in run-script --list, fixes #7009 7 years ago
Gabriel Caruso 3d262bd637 Fixes from PHPStan level 0
More fixes from PHPStan level 0
7 years ago
William Sandin 4296fe657f Adding check to confirm POSIX is defined and callable 7 years ago
Nicolas Grekas 251a347efb Fix CTRL+C handling during create-project 7 years ago
Jordi Boggiano ab8437ce06 Merge remote-tracking branch 'swumao/feature-6892' 7 years ago
Jordi Boggiano 8a50345df7 Follow ignore-platform-reqs when checking for package requirements, fixes #6859 7 years ago
William Sandin dbea825871 Raise a warning if current user and owner of deploy dir doesn't match 7 years ago
Christophe Coevoet e91505ce30 Fix the platform requirement check command
The command must validate that the current package matches the constraint, not
that any newer package matches it.
7 years ago
闫兴茂 e4bb306dfc Fix for CI 7 years ago
闫兴茂 1c0a494c72 Update findBestVersionForPackage method to support return package name 7 years ago
Jordi Boggiano c8aea719b1 CS fixes 7 years ago
Jordi Boggiano 3e1b0c88d7 Merge branch '1.5' 7 years ago
Jordi Boggiano 00f6c0a44a Fix issue when requiring multiple packages once without and once with explicit version, fixes #6859 7 years ago
Jordi Boggiano 8bc02d1aed
Merge pull request #6904 from brettsantore/doc-update
clarify optionality of package in require command
7 years ago
Jordi Boggiano a55d9ce7b0
Merge pull request #6875 from OskarStark/strategy
output used strategy
7 years ago
Jordi Boggiano b110f86aa0 Merge branch '1.5' 7 years ago
Tom Rochette c3b6c0c85e Make sure exitCode is defined in the show command. 7 years ago
Brett Santore 449ecf098d clarify optionality of package in require command 7 years ago
Oskar Stark 8b90037d7b highlight previous composer version 7 years ago
Oskar Stark e85bcc882c output used strategy 7 years ago
Jordi Boggiano 6bb3ab1868 Tweak help/description 7 years ago
Jordi Boggiano b579884e15 Tweak check-platform-reqs command to check all constraints and output more information about what requires failed, refs #6709 7 years ago
Jordi Boggiano edf561d602 Merge remote-tracking branch 'swumao/master' 7 years ago
Jordi Boggiano 224d272a0e Merge branch '1.5' 7 years ago
Jordi Boggiano 3976d9f242 Fix require command picking of specific versions, fixes #6859 7 years ago
Jordi Boggiano 755482ddb1 Merge branch '1.5' 7 years ago
Jordi Boggiano a928ffa4ee Fix require command when specifying non-stable versions, fixes #6859 7 years ago
Jordi Boggiano 6a08755c25 Merge branch '1.5' 7 years ago
Jordi Boggiano 5960f715f0 Add warning in show command if no dependencies are installed but the root package has dependencies, fixes #6820 7 years ago
Markus Staab ecb26c7b75 support COMPOSER env var in validate command (#6834)
* support COMPOSER env var in validate command
7 years ago
Jordi Boggiano b59dd23bb4 Merge branch '1.5' 7 years ago
Jordi Boggiano 0de1e21233 Make create-project install dependencies following optimize-autoloader config setting, fixes #6722 7 years ago
Jordi Boggiano e5d07fde6b
Merge pull request #6743 from zachflower/feature/init_defaults
Composer init default values
7 years ago
Jordi Boggiano fedef55362 Merge remote-tracking branch 'arjank/abandoned_package_warning' 7 years ago
Jordi Boggiano 535e7262e4 Fix php5.3 7 years ago
Jordi Boggiano a1e292d84d Let users open the homepage of the current package by doing composer home without argument, fixes #6748 7 years ago
Jordi Boggiano ec63c213f8 Allow unsetting the whole platform config key 7 years ago
Jordi Boggiano 9850621c6b
Merge pull request #6788 from GawainLynch/symfony-4
Symfony 4
7 years ago
Jordi Boggiano 0b3bc4ccb9 Merge branch '1.5' 7 years ago
Jordi Boggiano a691a179e5 Merge remote-tracking branch 'naderman/improve-not-found-error' into 1.5 7 years ago
Jordi Boggiano b4df2c9517 Avoid reverting the composer.json in case of a composer require/remove failure that is unrelated to the Solver
Fixes #6821 and adds a different fix to #3464 which is getting reverted
7 years ago
Zachary Flower a59f7399bf Use environment variables to define default values instead 7 years ago
Nils Adermann 685bc08c0a Improve the error on init/require if a package could not be found 7 years ago
Gawain Lynch f96e0e033b
Use Terminal class for dimensions post Symfony 3.2 7 years ago
Jordi Boggiano 26a50b3762 Merge branch '1.5' 7 years ago
Jordi Boggiano 14dc4b20df
Merge pull request #6746 from renanbr/diagnose-with-php-bin-info
add php version and binary to the dignose command
7 years ago
Mihai Plasoianu 02b57ff4a2 Return non-zero exit code with --strict and single package 7 years ago
Jordi Boggiano 41a9357d4b Merge remote-tracking branch 'thom8/script_help' 7 years ago
Jordi Boggiano 7c7c91344a Avoid some error paths, refs #6678 7 years ago
Jordi Boggiano b94d55d1a9 Merge remote-tracking branch 'lulco/search-similar-package' 7 years ago
Jordi Boggiano 9a99e86ebc Rename NonRoot to Transitive, refs #6674 7 years ago
Jordi Boggiano 9df22654c3 Merge remote-tracking branch 'grasmash/issue-6661-whitelist-all-deps' 7 years ago
Renan de Lima f1fb969a3a add php version and binary to the dignose command 7 years ago
Zachary Flower 9ed0a2d35f Use default configs, where applicable, in init 7 years ago
Arjan a03efa2fda Composer init - abandoned package warning
Added warning for abandoned packages in case more than one package is found for require / require-dev in composer init.
7 years ago
闫兴茂 fb306b6eb7 Update [] to array synax 7 years ago
闫兴茂 f83883b2f6 Add command check-platform-reqs 7 years ago
Thom Toogood bf880ad5e0 Allow custom script descriptions. 7 years ago
Michal Lulco c409f96353 Removed unused uses 7 years ago
Michal Lulco 1efe02f2e1 Search similar package when package could not be found 7 years ago
Matthew Grasmick 776977f597 Fixing method name. 7 years ago
Vladimir Reznichenko c8615358cb SCA with PHP Inspections (EA Extended) 7 years ago
Matthew Grasmick 2e9e7ddd99 Updating docs. 7 years ago
Matthew Grasmick 3826e51caa Renaming some methods and props. 7 years ago
Matthew Grasmick 0e192ced69 Adding `update-with-all-dependencies` option. 7 years ago
Matthew Grasmick f29e98cdf9 Fixes #6661: Allow a given package and its dependencies (including siblings) to be updated. 7 years ago
Jordi Boggiano 92458596ea Merge branch '1.5' 7 years ago
Jordi Boggiano 69ecb2403e Add upgrade alias to update, fixes #6649 7 years ago
Michal Lulco 84fed794d7 Trying to find package with similar name when package could not be found 7 years ago
闫兴茂 277f05754d Add default sort for show --tree option 7 years ago
Jordi Boggiano 0f94dcd848 Fix composer global config handling 7 years ago
David Zuelke 4f7b6a3a54 use Factory::getComposerFile in ConfigCommand 7 years ago
Jordi Boggiano c1bbb750c4 Fix composer global config handling 7 years ago
David Zuelke ae7c076a7c use Factory::getComposerFile in ConfigCommand 7 years ago
Jordi Boggiano 8e20fffda5 Merge pull request #6548 from ivanpepelko/master
Added $_SERVER['USER'] as possible value for <vendor>
7 years ago
Jordi Boggiano 23ab57c311 Merge branch '1.4' 7 years ago
Patrick Pokatilo 57ed58346a Be strict and return non-zero exit code for outdated packages when showing all 7 years ago
Ivan Pepelko 877bad7933 Added $_SERVER['USER'] as possible value for <vendor> part of package name. 7 years ago
Jordi Boggiano ef47d8bf05 Merge pull request #6486 from WilHall/feature/htaccess-protect-option
Add htaccess-protect option for disabling the creation of .htaccess files
7 years ago
Brandon Max a4ec8efa93 Update ClearCacheCommand.php 7 years ago
Brandon Max c280e16763 Change order of cache directorys 7 years ago
Brandon Max 24b8fea48a Cache: clear cache using removeDirectory 7 years ago
Wil Hall afe83a7356 Update ConfigCommand to allow setting of htaccess-protect option 7 years ago
Jordi Boggiano a86f1a8969 Merge pull request #6377 from CupOfTea696/feature/init-command-skip-interactive-require-if-set-by-option
Auto-skip interactive require when set by option.
7 years ago
Jordi Boggiano ff61ecd484 Allow accessing the ArchiveManager via the Composer object, fixes #6411 7 years ago
CupOfTea696 14adc03225 Auto-skip interactive require when set by option 7 years ago
Jordi Boggiano a2e22f7a84 Merge branch '1.4' 7 years ago
Jordi Boggiano 890baa2f89 Force remove command to have at least one package name passed, refs #6338 7 years ago
Jordi Boggiano 8b0e615232 Assume at least 80char wide terminal, fixes #6351 7 years ago
Jordi Boggiano 83798d8090 Avoid mixing stderr and stdout in outdated command as it mangles output 7 years ago
Issei.M 0856dfa084 Aligns the verb form of commands' description 7 years ago
Graham Daniels a9c0134378 make use of variable 7 years ago
Jose Miguel Pérez Ruiz 4ba3c741f5 Fix Init Command to accept author names with Unicode combining diacritical marks 7 years ago
Jose Miguel Pérez Ruiz b2f62bc06c Fix Init Command to accept author names with Unicode combining diacritical marks 7 years ago
Jordi Boggiano 92b25acce0 Fix config value used for apcu-autoloader in dump-autoload command, fixes #6237 7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
Jordi Boggiano e09c632c14 Rename a few fields in json output, refs #6228 7 years ago
Jordi Boggiano a286c39f20 Add docs about new --format, refs #6228 7 years ago
Jordi Boggiano f5e026c6c5 Merge remote-tracking branch 'xelaris/json-output-for-show-cmd' 7 years ago
Jordi Boggiano 586f4bac87 Make use of prefer-stable/minimum-stability when picking versions in require command, fixes #6219 7 years ago
Jordi Boggiano 5061d90135 Allow setting the channel without running a complete self-update 7 years ago
Alexander Schwenn 527f5b8571 Print error message when json is requested for tree or single package info 7 years ago
Alexander Schwenn 74d82a51e3 Replace latestStyle by status to get style independent json output 7 years ago
Alexander Schwenn c70aaa421d Add json output for show command 7 years ago
Alexander Schwenn 818687849d Extract view logic from data preparation 7 years ago
Alexander Schwenn 64139ba327 Move loop-independent code outside of loop 7 years ago
Alexander Schwenn 086c9d5c56 Separate package warning from view representation 7 years ago
Alexander Schwenn 52ca1bd9c5 Move command termination outside of output loop 7 years ago
Alexander Schwenn e672628565 Separate package type from view representation 7 years ago
Alexander Schwenn 308fa88746 Move $io->write calls together 7 years ago
Alexander Schwenn 77e104bd4d Fix typo in local variable name 7 years ago
Jordi Boggiano eb5495b8e4 Merge branch '1.3' 8 years ago
Jordi Boggiano d6ffe1fd1d Add support for outdated command info without ANSI colors, fixes #6070 8 years ago
Jordi Boggiano cf2838131f Merge pull request #6062 from MoT3rror/master
Add ignore filters option to archive command
8 years ago
Jordi Boggiano 9a26a9e8f8 Make sure alias packages installed with create-project end up with the correct branch checked out, fixes #6082 8 years ago
Ed Reel f29a302391 Return 1 if composer.json exists, but the package doesn't. 8 years ago
jbixler dac51c7f4b Add ignore filters option to archive command 8 years ago
Sven Luijten b4a77e1c0e Add full stop to all command descriptions 8 years ago
Jordi Boggiano ed0829fed1 Simplify code and fix path to composer.json, refs #6001 8 years ago
Ed Reel afdae9c0e2 Do not throw InvalidArgumentException with the 'show' command if the working-dir argument is set and composer.json exists
- This prevents scripts from aborting when looping through a directory of projects
8 years ago
Jordi Boggiano 5ecd9ace59 Forward --minor-only flag to show command 8 years ago
Jordi Boggiano 51cfe3ba73 Fix whitespace in selfupdate output, fixes #5980 8 years ago
Jordi Boggiano 01885777f3 Fix case insensitivity of remove command, fixes #5973 8 years ago
golodnyi 1cced223d8 Not actual parameters 8 years ago
Nicolas Grekas 6d4e60b991 Add --apcu-autoloader option to enable APCu caching of found/not-found classes 8 years ago
Pierre Rudloff 7d52bd6ed5 Non-zero status code when there are outdated packages (fixes #5901) 8 years ago
johnstevenson 379fb70ad9 Use random name for tmp ini and delete after use
Thanks to Patrick Rose for reporting this issue.
8 years ago
Jordi Boggiano 66bb195233 Add zlib warning to diagnose command 8 years ago
Jordi Boggiano 9c8617cd33 Merge branch '1.2' 8 years ago
Jordi Boggiano f7475c6ff6 Merge pull request #5830 from fabpot/logic-refactoring
Refactor some common logic in Command classes
8 years ago
Fabien Potencier 69740bbbee Refactor some common logic in Command classes 8 years ago
Fabien Potencier b823242ae3 Code simplification 8 years ago
Niels Keurentjes 6de7feeb86 Fix crash when listing root package without versions
When using certain parameters together in 'composer show', specifically '-s --outdated', the root package itself is inspected for its latest version. If the git repository it belongs to does not have any tags yet this would return FALSE, while the next call to printMeta requires a PackageInterface or NULL, causing a crash.

Refs #5808
8 years ago
Nicolas Grekas bfbcf03a6b Fix ShowCommand 8 years ago
Konstantin.Myakshin dc70b40d34 Use implode instead of join 8 years ago
Jordi Boggiano 41c3307fc5 Merge branch '1.2' 8 years ago
Jordi Boggiano f23cdf59e3 Make remove command case insensitive, fixes #5754 8 years ago
Jordi Boggiano b171c24101 Merge branch '1.2' 8 years ago
Jordi Boggiano 8e1b90bc08 Allow reading repo.0 in config command, fixes #5692 8 years ago
Jordi Boggiano 2ffa1148a9 Merge branch '1.2' 8 years ago
Den Girnyk 71e0fba216 Pass devMode from RunScriptCommand to Script\Event 8 years ago
Jordi Boggiano 754d4fa1b2 Merge branch '1.2' 8 years ago
Jordi Boggiano a04256810e Change exit code to be 1/2 for warn/fail, refs #5601 8 years ago
Jordi Boggiano b29d810d63 Only treat errors as real failures, fixes #5601 8 years ago
Jordi Boggiano cfdeb61779 Avoid warning when testing for packagist over http 8 years ago
Jordi Boggiano f63f1ff95f Merge remote-tracking branch 'davidolrik/master' 8 years ago
Jordi Boggiano 9b42f16762 Merge pull request #5575 from admonkey/master
update help page on global for COMPOSER_HOME info
8 years ago
Jordi Boggiano cada55dde6 Merge pull request #5491 from moolex/support_gitlab_private_token
Support gitlab private-token for easier access via Gitlab API
8 years ago
Jordi Boggiano 165ff07146 Merge branch '1.2' 8 years ago