1284 Commits (14b3f09cf8ac049d0cfa91c6dbd834d0caf84f79)

Author SHA1 Message Date
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
Matthew "Juniper" Barlett 09dad8a018 Clean up regex in InitCommand::parseAuthorString
Per comments:
- https://github.com/composer/composer/pull/5638#discussion_r76972844
- https://github.com/composer/composer/pull/5638#discussion_r76973941
8 years ago
Matthew "Juniper" Barlett ac41bb0615 Fix for issue #5631
- Add " ( and ) as valid characters in author name
- Add relavent unit tests
8 years ago
Jordi Boggiano f3af3ede40 Merge pull request #5552 from fvdb/add-minor-only-option
Added minor-only option to show command to only show packages with minor updates
8 years ago
Frank van den Brink e60a7216c6
Clarified minor-only option description 8 years ago
Frank van den Brink cb7377d2cb
Added minor-only option to show command to only show packages with minor updates 8 years ago
Frank van den Brink 28851ecdca
Revert "Added minor-only option to only show packages with minor updates"
This reverts commit 4b0e40d482.
8 years ago
David Jack Wange Olrik 2c84be47c2 Add support for seamless execution of local binaries
Projects that add binaries to `vendor-bin` can now execute those via the same command as projects that consume them without installing them first.

In list overview local commands have a `(local)` tag to distinguish them from commands installed in `vendor-bin`.

Local binaries take precedence over `vendor-bin` which takes precedence over binaries in path.
8 years ago
Jesse Donat 4de11a955a Adds --no-suggest to RequireCommand 8 years ago
Jeff Puckett 9e7d1a4f9e update help page on global for COMPOSER_HOME info
default installation directory for global packages
has changed since adding support for freedesktop.org standards
per confusion from http://stackoverflow.com/q/38703915/4233593
8 years ago
Frank van den Brink 4b0e40d482
Added minor-only option to only show packages with minor updates 8 years ago
Jordi Boggiano 685ff8699b Capture output 8 years ago
Jordi Boggiano a242f7e9ba Use process component instead of passthru, fixes #5501 8 years ago
Jordi Boggiano 7bcd336c95 Disable plugins across the board when --no-plugins is specified, fixes #5509 8 years ago
moyo c4ac59601f Update related docs and config definitions 8 years ago
Jordi Boggiano e53119f806 Make use of pretty version for new references, refs #5328 8 years ago
Jordi Boggiano 44ddcf4da7 Merge remote-tracking branch 'slbmeh/feature/version-status' 8 years ago
bohwaz abcbef4a67 Add Fossil support to Composer 8 years ago
Pierre du Plessis 6a557e45b8 Added --type option to search 8 years ago
Jordi Boggiano 151ed2a0e5 Merge pull request #5392 from donatj/master
Adds --no-suggest to install and update commands
8 years ago
Steve Buzonas 576721946c show pretty version in both scenarios 8 years ago
Steve Buzonas 7b6e06c686 normalize version to provide consistent output from package version vs vcs version 8 years ago
Steve Buzonas 64afdcc2aa remove var_dump 8 years ago
Sven Gerlach 4fd35baf1f Added --no-scripts InputOption for RemoveCommand 8 years ago
Sven Gerlach 28b88dd675 Added --no-scripts InputOption for RequireCommand 8 years ago
Jesse Donat b108ed9484 Adds --no-suggest to UpdateCommand 8 years ago
Jesse Donat cbfd81dc99 Adds flag to allow suggestions to be skipped 8 years ago
Jordi Boggiano 04ae1584dc Add docs about package type to prompt, fixes #5378 8 years ago
Jordi Boggiano 57ae6d97b6 Merge branch '1.1' 8 years ago
Jordi Boggiano c47b302a3c Reset composer before loading the modified json, fixes #5346 8 years ago
Steve Buzonas d0c009edf2 fix issue where path repositories would be matched oddly 8 years ago
Steve Buzonas 758e7cab53 fixed issue where detatched head would give null output 8 years ago
Steve Buzonas 8d766c8eb2 cleaner implementation of status output with support for path repositories 8 years ago
Mathias Brodala d9909993b2 Add --prefer-stable and --prefer-lowest to "require" command
Fixes #5314
8 years ago
Bilal Amarni 92207da83a add isProxyCommand() to BaseCommand 8 years ago
Jordi Boggiano 352e467f16 Always show abandoned packages in --outdated as they are outdated in a way 8 years ago
Jordi Boggiano 2bcd723b54 Fix regression in global command, fixes #5266 8 years ago
Kamran Ahmed 78a8a02978 Ignore the unfound packages 8 years ago
Jordi Boggiano 6146f7aded Take into account prefer-stable and dev packages when computing outdated, refs #5251 8 years ago
Jordi Boggiano 2a3b56e82c Fix constraint parsing bug in outdated, fixes #5251 8 years ago
Jordi Boggiano 4319435154 Make sure the --no-plugin is documented as available everywhere and not redefined 8 years ago
Jordi Boggiano fd5f90989f Add --all to oudated command and switch it to show only outdated by default, fixes #5253 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 3186b5eeca Avoid using the full pretty version for comparisons, fixes #5247 8 years ago
Jordi Boggiano 7def8cf6e5 Refactor to use ArrayInput instead of StringInput 8 years ago
Jordi Boggiano aabe21d84d Add --direct and --outdated flags to ShowCommand & OutdatedCommand, fixes #5240 8 years ago
Jordi Boggiano 17f23f5c43 Write abandoned warning on stderr to avoid breaking the flow of the list 8 years ago
Jordi Boggiano 6c94cb89d1 Fix outdated command on linux 8 years ago
Jordi Boggiano 313dd14f1e Add coloring to the colors 8 years ago
Jordi Boggiano c5f734dbf9 Merge remote-tracking branch 'barryvdh/show-latest' 8 years ago
Jordi Boggiano e7069dd5e8 Tweak colors in the output, make sure we load the proper version according to stability flags and add outdated command, refs #5028 8 years ago
Jordi Boggiano 9206c646a2 Merge remote-tracking branch 'barryvdh/show-outdated' 8 years ago
Jordi Boggiano b6680b6f2a Fix why-not command to dig deeper when it is given a specific version it checks installed packages against that version's requirements 8 years ago
Jordi Boggiano f13e0f975f Add --no-secure-http flag to temporarily disable secure-http in create-project installation of the root package, fixes #5121 8 years ago
Jordi Boggiano 467ece15ed Skip regex engine when not necessary 8 years ago
Jordi Boggiano 21a9f21cc8 Add package filtering in show command, fixes #5212, closes #5215 8 years ago
Jordi Boggiano fc33e0835e Merge branch '1.0' 8 years ago
Michael Aherne 830644f374 Observe COMPOSER environment variable in init command 8 years ago
Jordi Boggiano 30ef73f7b2 Merge branch '1.0' 8 years ago
Peter Rehm bdd90a49c4 Show channel even if there is no new version on the current channel 8 years ago
Jordi Boggiano b31052fcde composer status now includes untracked files in git repos, fixes #2664 8 years ago
Jordi Boggiano dabad42cf9 Show channel used to perform self-update 8 years ago
Jordi Boggiano 3b0a1c6f70 Run cs fixer and update config to latest master 8 years ago
Jordi Boggiano b9ce06f46b Minor tweaks, refs #5162 8 years ago
Jordi Boggiano da9b43dcc8 Merge remote-tracking branch 'curry684/code-quality' into 1.0 8 years ago
Jordi Boggiano 6df85163f4 Make use of global platform config if available, and improve error reporting, fixes #5165 8 years ago
David Zuelke cf43244f85 fix config add/remove/unset/merge for bitbucket 8 years ago
Niels Keurentjes eb77c0b7f5 phpDoc cleanup, removed unused imports, variables and parameters. 8 years ago
Niels Keurentjes 818c3e707a Ton of phpDoc fixes. 8 years ago
Niels Keurentjes e6f21137ad Undefined or default return points fixed. 8 years ago
Jordi Boggiano 2c9326bacb Merge remote-tracking branch 'wenkepaul/master' 8 years ago
Paul.Wenke 59ae2716aa Fixed typo in exception message for Bitbucket config command. 8 years ago
Jordi Boggiano 95c263284a Merge pull request #5064 from Seldaek/update-channels
Add update channels support to self-update and diagnose
8 years ago
vlakoff 47d196f37f Fix missing argument for getLastBackupVersion() 8 years ago
Jordi Boggiano e0fa2ed9c6 Merge remote-tracking branch 'vlakoff/clean-backups' 8 years ago
Barry vd. Heuvel fd46c7e4ba Reduce line length 8 years ago
Barry vd. Heuvel 54d86ebfc9 Use latest package for deprecations, cache latest packages 8 years ago
Barry vd. Heuvel 80be9a2c98 Add deprecated notice to show command 8 years ago
Barry vd. Heuvel ac606e4dc1 Add recommended version to show command 8 years ago
Jordi Boggiano 0db8bbfda3 Add update channels support to self-update and diagnose, fixes #4960 8 years ago
Jordi Boggiano e8abc90b92 Merge pull request #5026 from curry684/issue-4392
Simulate dummy Composer when searching in uninitialized folder
8 years ago
Niels Keurentjes a2d2c4ddd5 Simulate dummy Composer when searching in uninitialized folder, fixes #4392 8 years ago
Niels Keurentjes fbbde23fb3 Improved error message when adding a package that is disallowed by PHP version, fixes #4686 8 years ago
vlakoff f7757c606d Move instruction to delete corrupted file 8 years ago
vlakoff 9532a0129c Correct error message to match actual behavior 8 years ago
vlakoff 93e08fd78e Also clean backups if no Composer update actually performed 8 years ago
vlakoff 496d29a793 Move code to new method cleanBackups() 8 years ago
vlakoff 4b79ca6ba2 Remove duplicate variable 8 years ago
Jordi Boggiano 8344c6d3d7 Merge pull request #4993 from hkdobrev/create-project-suggests
List project suggestions in create-project command
8 years ago