Armando Miani
82d939d7f7
Validate composer show with --tree and --path options set ( #8390 )
5 years ago
Jordi Boggiano
eea4098f98
Merge branch '1.9'
5 years ago
Jordi Boggiano
4fc6479837
Fix require command to allow working on network mounts, fixes #8231
5 years ago
xy2z
1a0d5dfacd
Now using findPackage() instead of HasPackageName()
5 years ago
Jordi Boggiano
78b8c365cd
Merge branch '1.9'
5 years ago
Jordi Boggiano
b311b2c077
Merge pull request #8375 from mathiasdonoso/feature/add-homepage-to-package-information-command
...
added package homepage information to the command 'show'
5 years ago
Jordi Boggiano
f2700bbd98
Merge pull request #8377 from TysonAndre/misc-nit
...
Fix misc phpdoc and strpos arg order nits for suggestions
5 years ago
Jordi Boggiano
d73cef3fb4
Avoid calling findPackage for non-platform packages
5 years ago
Cédric Anne
9c9ca87537
Fix composer outdated command on PHP 7.4; fixes #8346
5 years ago
Arnout Boks
7c5e5e3ede
Add option to disable the lock file
...
When the `lock` option is set to false, composer will not write a
`composer.lock` file to disk. This signals that the package is meant
to be developed with unlocked and always updated dependencies. At the
moment, both `install` and `update` are allowed to install the
dependencies for such a package. If #6822 is implemented, only `update`
should be used for packages without a lockfile.
https://github.com/composer/composer/issues/8354
5 years ago
Tyson Andre
4c8e41d9a9
Fix misc phpdoc and strpos arg order nits
...
https://www.php.net/strpos has the signature
`strpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int`
(The needle is usually the constant)
`strpos('/', $suggestion)` would only be `false` for `''` and `'/'`
So the existing check would just not suggest **anything** that was
already installed (from pecl, built-in, or composer).
The intent seems to be to not suggest non-vendored php packages
that were already installed. (b20cc22ebb
)
5 years ago
Mathías Donoso
07ec3bda3e
changed homepage information position
5 years ago
Mathías Donoso
14b3f09cf8
added package homepage information to the command 'show'
5 years ago
xy2z
a8abdd9639
Hide installed packages from suggestions when package is not found
5 years ago
Alexander M. Turek
146aa4938f
Command::execute() should always return an integer.
5 years ago
Nikita Konstantinov
e3b6c67a44
Provide `--fixed` option for the `require` command, fixes #8303
5 years ago
Jordi Boggiano
5ddc40e93c
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058
5 years ago
Jordi Boggiano
3f5e4f0399
Add support for defining a {"packagist.org":false} repo in composer init, fixes #8210
5 years ago
Jordi Boggiano
1a391b572c
Prevent require command from allowing a package to require itself, fixes #8247
5 years ago
Jordi Boggiano
33759d02c4
Fix require command to allow working on network mounts, fixes #8231
5 years ago
Jordi Boggiano
45591597f6
Clarify how check-platform-reqs works, fixes #8191
5 years ago
Jordi Boggiano
3d88108dea
Merge branch '1.8'
5 years ago
Jordi Boggiano
b4e5db1c70
Revert "Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET"
...
Revert "Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151"
This reverts commit e7eecc6901
.
This reverts commit faa7c5eea2
.
5 years ago
Jordi Boggiano
79a300eaac
Merge branch '1.8'
5 years ago
Jordi Boggiano
4afd50fec6
Merge pull request #8151 from naderman/self-update-target
...
Allow overriding self-update target file with env var COMPOSER_SELF_UPDATE_TARGET
5 years ago
Jordi Boggiano
fbb964888d
Merge branch '1.8'
5 years ago
Jordi Boggiano
659c72f9c8
Read classmap-authoritative and apcu-autoloader from project config when installing via create-project, fixes #8155
5 years ago
Nils Adermann
faa7c5eea2
Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET
...
Useful if Composer is provided on a read-only filesystems, to allow
self-update to work with a different destination
5 years ago
Jordi Boggiano
2b421a94cb
Merge branch '1.8'
5 years ago
Jordi Boggiano
17810b2621
Revert composer.json changes if update process throws, fixes #8062
5 years ago
Jordi Boggiano
522ea033a3
Merge branch '1.8'
5 years ago
Markus Staab
c876613d5c
Added "Read more at" links to all commands ( #8019 )
5 years ago
Jordi Boggiano
e3f68016ac
Merge branch '1.8'
5 years ago
Jordi Boggiano
d96d046209
Fix require of platform packages with --ignore-platform-reqs, fixes #8012
5 years ago
Jordi Boggiano
ff246e3e85
Merge branch '1.8'
5 years ago
Jordi Boggiano
94df554255
Make sure config command output is also output on --quiet so that warnings can be hidden, fixes #7963
5 years ago
Michael Telgmann
eee98018f7
Soften hard exit after revert of composer file
5 years ago
Jordi Boggiano
19ba2edd5c
Add warning/info msg when tweaking disable-tls setting to avoid confusion, fixes #7935
6 years ago
Jordi Boggiano
11bfe9970f
Merge pull request #7912 from kathyoungaligent/feature/no-api-config
...
Feature/no api config
6 years ago
Kath Young
fbb9d20c33
Adjusted config name to be more descriptive, added documentation
6 years ago
Jordi Boggiano
f1297b11bc
Merge branch '1.8'
6 years ago
Jordi Boggiano
abcde19022
Document --no-check-all better, fixes #7889
6 years ago
Jordi Boggiano
66a77ed210
Merge branch '1.8'
6 years ago
Jordi Boggiano
02ceb74151
Tweak --no-cache option to be available globally and to not break VCS drivers relying on it, refs #7880 , refs #6650
6 years ago
Jordi Boggiano
61bd9f83f1
Merge remote-tracking branch 'Dzhuneyt/6650-disable-cache-argument'
6 years ago
Jordi Boggiano
a9aaa25d4c
Fix compat with Symfony Process 4.2, fixes #7923
6 years ago
Kath Young
8b1f8a4629
Add no-api in the config as an acceptable config
6 years ago
Nguyễn Xuân Quỳnh
bcff704bc5
Add alias of run-script command
6 years ago
Dzhuneyt Ahmed
8c30b12bd9
Added no-cache argument to "composer install" and "composer update"
6 years ago
Dzhuneyt Ahmed
750692227f
Added no-cache argument to "composer install"
6 years ago
Jordi Boggiano
66d84f60c6
Fix pattern matching for remove wildcard, refs #7715
6 years ago
Jordi Boggiano
dc6027a0ad
Merge remote-tracking branch 'dmanners/remove-all-from-one-vendor'
6 years ago
Jordi Boggiano
736c05f66b
Merge remote-tracking branch 'yassine-ah/patch-1'
6 years ago
Jordi Boggiano
b3cbfea36e
Merge branch '1.7'
6 years ago
Jordi Boggiano
acdf8f83f1
Bypass version check for explicitly versioned packages in require command when --no-update is given, fixes #7800
6 years ago
Jordi Boggiano
6e6fb844dd
Avoid validating package name if it has a newline at the end
6 years ago
Shalvah
42e88ac27a
Add interactive option to install dependencies after running init command ( #7521 )
...
* Add interactive option to install dependencies after running init command
* Only ask to install dependencies when dependencies where defined
6 years ago
Gabriel Caruso
2a13bb2649
Fixes from PHPStan ( #7687 )
...
* fix docblocks
* remove redundant conditional
* fix wrong variable name
* fix wrong namespaces
* add missing private members
* remove unused/redundant arguments
* move testcase class
* exclude TestCase.php
* Tweak RuleWatchGraph type hints
* Tweak doc comment
6 years ago
Jordi Boggiano
856df56bdd
Revert #7755
6 years ago
Jordi Boggiano
2528654c53
Merge branch '1.7'
6 years ago
Jordi Boggiano
284da1487c
Avoid downgrading from error to warning
6 years ago
Ahammar Yassine
da94e4b619
Skip all network-based checks ( #7641 )
...
* Skip all network-based checks
Change the warnings in diagnose to a friendly messages when allow_url_fopen is disabled.
Issue: #7622
6 years ago
Grzegorz Korba
0ee0138bed
Support for ignoring packages in `outdated` command ( #7682 )
...
* Support for ignoring packages in `outdated` command. Fixes #7656
6 years ago
Jordi Boggiano
38a63ba05a
Only show path for installed packages, refs #7698
6 years ago
Mariusz Zarzycki
f72e2312dc
Ran php-cs-fixer
6 years ago
Mariusz Zarzycki
77457ca474
Show command respects --path flag
...
Path added to package meta output
6 years ago
François-Xavier de Guillebon
114217c6e3
Fix ini_get() for boolean values
6 years ago
Markus Staab
67e6d6d8a4
diagnose: write warning on stderr
6 years ago
David Manners
a1ab75a703
composer/composer#7159 : make the remove command to a regex lookup on package name
...
- if you have multiple vendor modules installed you should be able to do composer remove vendor/* to remove all
- update remove and also remove from alternative type to also do a preg_grep for what the user has inputed
6 years ago
Max
4d86414dd1
Use a case insenstive method to check that SHA384 is a supported openssl algorithm
6 years ago
Ahammar Yassine
4a8c416a02
Update ValidateCommand.php
...
Skip publish and lock check even in strict check mode when the user want so.
Example : `composer validate --no-check-lock --strict composer.json`.
Issue : #7624
6 years ago
Gabriel Caruso
71c8735e11
Use combined assignment operators
6 years ago
Jordi Boggiano
a25d6f6c35
Use local repo for platform checks when possible to avoid surprises, refs #7605
6 years ago
Jordi Boggiano
b99ac8505b
Merge pull request #7605 from lamp-of-god/check-requirements-no-dev
...
Add --no-dev option to check-platform-reqs command (#7314 )
6 years ago
Jordi Boggiano
29434a22c2
Merge pull request #7612 from xuanquynh/unify_composer_concept
...
Unify Composer concept
6 years ago
Nguyen Xuan Quynh
1191bbc5f4
Unify Composer concept
6 years ago
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