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
76a2c63bf8
Show best possible version in diagnose command
5 years ago
Jordi Boggiano
b5014e9aed
Fix use of decodeJson
5 years ago
Jordi Boggiano
6c4357a7ed
Merge branch 'master' into 2.0
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
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
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
0317199507
Merge branch 'master' into 2.0
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
Matthew Brown
65903aacfd
Fix type issues ( #7996 )
...
* Fix type issues found by Psalm
5 years ago
Nils Adermann
287419f6a0
Merge branch 'master' into 2.0
...
* master:
Follow up to #7946 test: add solver flag to assert path execution
Fix tests
Make sure config command output is also output on --quiet so that warnings can be hidden, fixes #7963
Recognize composer-plugin-api as a platform package, fixes #7951
Quote wildcards to avoid issues in some shells, fixes #7960
Avoid dumping null values for dist reference/shasum and source reference, fixes #7955
Soften hard exit after revert of composer file
Make unixy proxy code POSIX compatible
Update aliases.md
Same but for Problem.php
Better error message for present but incompatible versions
Fix inconsistent casing
Don't do (new Foo())->bar() - not 5.3-compatible
Support identifying the HHVM version when not running with HHVM
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
Nils Adermann
728e57b9e0
Merge branch 'master' into 2.0
...
* master:
Fix solver problem exceptions with unexpected contradictory "Conclusions"
Also load config into IO if not freshly created
Only load configuration into IO if IO is available
Fix defaultRepos fallback does not use auth config
Add warning/info msg when tweaking disable-tls setting to avoid confusion, fixes #7935
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
4517c00d40
Merge branch 'master' into 2.0
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
b89720b52a
Merge branch 'master' into 2.0
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
Jordi Boggiano
0b928b2a42
Merge branch 'master' into 2.0
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
Jordi Boggiano
549ccd8f79
Remote outputProgress concept from downloaders as it does not make sense when things happen in parallel, refs #7901
6 years ago
Jordi Boggiano
3dfcae99a9
Add parallel download capability to FileDownloader and derivatives
6 years ago
Jordi Boggiano
b47330adf1
Refactor ComposerRepository to work with combined repos having lazy providers and partial packages
6 years ago
Jordi Boggiano
e67030076a
Fix show command
6 years ago
Jordi Boggiano
346de47af2
Small fixes
6 years ago
Jordi Boggiano
f946d8eb5a
More RemoteFilesystem usage removals and some repository/vcs driver refactorings
6 years ago
Jordi Boggiano
713bc4de1d
Minor fixes and updated the rest of the code/tests to use HttpDownloader
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
411dd51f20
Merge branch 'master' into 2.0
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
Jordi Boggiano
2e0f31106a
Merge remote-tracking branch 'origin/master' into 2.0
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
Nils Adermann
5c491ecc9b
Merge pull request #7625 from naderman/repository-set
...
Separate RepositorySet from Package Pool, load only metadata of packages directly required
6 years ago
Nils Adermann
1747df97e7
Create pool in show command to use policy, remove todos
6 years ago
Nils Adermann
7036f99999
RepositorySet::findPackages now has an exactMatch option
...
Allows search for providers/replacers, or exact name search
6 years ago
Nils Adermann
1228bcdffc
Internalize pool creation in repository set, store root aliases in set
...
The pool is still exposed too early in a few places which will require
further refactoring
6 years ago
Nils Adermann
6ef65e5319
Add a new RepositorySet class and restrict pool usage to the solver
...
Breaking change for the plugin interface so bumping the version of
composer-plugin-api to 2.0.0
First step for a refactoring of the package metadata loading mechanism
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