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
Elan Ruusamäe
f9234222d1
add lib-imagick to show -p output ( #7762 )
6 years ago
Jérôme Deuchnord
b0b00ad1fa
Call a script recursively with extra parameters ( #7720 )
...
* Added support for calling scripts recursively (fixes #7562 )
6 years ago
Michele Locati
04098153c8
Add support for running composer with phpdbg ( #7798 )
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
Mathias Brodala
38a34159ef
Dispatch "post-package-update" event after writing lock ( #7766 )
...
Fixes #7765
6 years ago
Jordi Boggiano
856df56bdd
Revert #7755
6 years ago
Jordi Boggiano
ceb3a7a8e8
Merge branch '1.7'
6 years ago
Jordi Boggiano
1898ad12ce
Make sure we chdir back in case update dir is relative, refs #7519
6 years ago
Jordi Boggiano
2528654c53
Merge branch '1.7'
6 years ago
Jérôme Tanghe
a51563300c
Warning about the UNIX permissions lost if unzip command is not installed.
...
Some packages provide (such as Symfony Panther or Dusk) executable files, but
as PHP's unzip extension does not handle UNIX permissions, those files will
lose their executable ones.
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
Seven Du
148e503b31
Modified comment block ( #7700 )
...
* Modified comment block
6 years ago
Raffael Comi
3c543b2752
Report "same as actual" version if override package matches actual
6 years ago
Michele Locati
41458c7518
Don't call Symfony ProcessUtils::escapeArgument
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
Jordi Boggiano
ac524e9bf3
Merge pull request #7760 from deguif/1.7
...
Fix ini_get() for boolean values
6 years ago
Jordi Boggiano
9e6a0bff71
Merge pull request #7658 from fooman/fix-non-zip-file-with-zip-ext
...
Fix regression for artifact repository
6 years ago
Jordi Boggiano
8bead93343
Merge pull request #7648 from NickWilde1990/allow-plugin-commands-from-child-folders
...
Allow plugin commands to be run from child folders like core commands
6 years ago
Jordi Boggiano
359d1318f2
Merge pull request #7703 from glaubinix/t/composer-version-cache
...
Vcs Repository: add option to cache/reuse entire versions
6 years ago
François-Xavier de Guillebon
114217c6e3
Fix ini_get() for boolean values
6 years ago
Jordi Boggiano
11752864eb
Merge pull request #7735 from glaubinix/t/bitbucket-v1-API-deprecation
...
Bitbucket: switch to v2 API
6 years ago
Gabriel Caruso
2805a69e58
Simplify conditions and inline temp variables
6 years ago
Gabriel Caruso
a64b652a6b
Use func_num_args instead of counting on func_get_args
6 years ago
Alexey Kopytko
20107dbf77
Ensure that a missing SSL/TLS protection warning does not pollute STDOUT
...
Fixes #7737
6 years ago
Markus Staab
67e6d6d8a4
diagnose: write warning on stderr
6 years ago
Jordi Boggiano
5d92eea170
Merge pull request #7756 from glaubinix/f/undefined-index-preprocess
...
VcsRepository: fix undefined index notice in preProcess
6 years ago
Stephan Vock
105477218d
VcsRepository: fix undefined index notice in preProcess
6 years ago
Stephan Vock
8b8df01336
Bitbucket: fix redirect behaviour
6 years ago
Stephan Vock
23d37eebe6
Fix: undefined index name in VcsRepository
6 years ago
Stephan Vock
819f487b38
Bitbucket: switch to v2 API
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
David Manners
96347fbea1
composer/composer#7384 : add chat to support options
...
- update schema documents to note that chat is allowed,
- validate that chat must be a string and a url similar to forum options
6 years ago
Stephan Vock
5f2eefb49b
Vcs Repository: add option to cache/reuse entire versions
6 years ago
Kristof Ringleff, Fooman
2ed573b22d
Combine open zip call with conditional
6 years ago
Kristof Ringleff, Fooman
bcf4e94e8a
Ensure opening the zip was successful before proceeding
6 years ago
Max
4d86414dd1
Use a case insenstive method to check that SHA384 is a supported openssl algorithm
6 years ago
Nick Wilde
14c6c2c99f
Allow plugin commands to be run from child folders as well as core commands
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
Jordi Boggiano
af677553cc
Merge branch '1.7'
6 years ago
Jordi Boggiano
0124e7b553
Revert "add removePackage() to RepositoryInterface"
...
This reverts commit cfb0d33c45
.
Fixes #7634
6 years ago
Jordi Boggiano
b441176f21
Merge remote-tracking branch 'origin/1.7'
6 years ago
Stephan Vock
896d801a30
Fix: Bitbucket getChangeDate throws exception for branches containing a slash
6 years ago
Gabriel Caruso
71c8735e11
Use combined assignment operators
6 years ago
Jordi Boggiano
490f3ccd95
Merge remote-tracking branch 'origin/1.7'
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
a1ead0e868
Merge pull request #7565 from alcohol/add-remove-to-pkgrepointerface
...
add removePackage() to RepositoryInterface
6 years ago
Jordi Boggiano
92dc2cd9ad
Merge branch '1.7'
6 years ago
Jordi Boggiano
29434a22c2
Merge pull request #7612 from xuanquynh/unify_composer_concept
...
Unify Composer concept
6 years ago
Jordi Boggiano
987bd5dd7c
Merge pull request #7590 from staabm/dump-nbclasses
...
Print number of classes contained within the generated classmap
6 years ago
Jordi Boggiano
95840a0ab9
Remove useless curly braces around svn args
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
df2f2dc113
Merge branch '1.7'
6 years ago
Christophe Coevoet
e5b948c683
Refactor the handling of conflict rules in the solver
...
Conflict rules are not added in the solver based on the packages loaded in the
solver by require rules, instead of loading remote metadata for them. This has
2 benefits:
- it reduces the number of conflict rules in the solver in case of conflict
rules targetting packages which are not required
- it fixes the behavior of replaces, which is meant to conflict with all
versions of the replaced package, without introducing a performance
regression (this behavior was changed when optimizing composer in the past).
6 years ago
Jordi Boggiano
734735c691
Merge pull request #7574 from seferov/patch-1
...
Remove github API request retries as it is not needed anymore
6 years ago
Pierre du Plessis
33341130a9
Fix typo in variable name in GitHubDriver
6 years ago
Jordi Boggiano
d100620987
Merge branch '1.7'
6 years ago
Jordi Boggiano
bf125295df
Fix escaping of URLs in Perforce and Subversion drivers
6 years ago
Farhad Safarov
4014c914ab
remove Github 404 retries
6 years ago
Jordi Boggiano
0f6b305bd9
Merge branch '1.7'
6 years ago
Jordi Boggiano
3d01ef28fa
Revert "Do not dump source and dist for metapackages"
...
The source/dist reference is needed to operate composer outdated and other functionality
Fixes #7546
This reverts commit 42739e7959
.
6 years ago
Rob Bast
cfb0d33c45
add removePackage() to RepositoryInterface
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
Daniel Karl
849f4eda56
Using cwd for 2nd process-execution (auth) in HgUtils
6 years ago
Alexander Kurilo
5a22a4f1f3
Make surrogate sequences in JSON work on PHP 5.3
...
Fixes #7510
6 years ago
Jordi Boggiano
e718f34ba4
Properly detect rate limit errors on github before outputting messages, fixes #6621
6 years ago
Jordi Boggiano
e7a9bd3362
Attempt workaround for repo.packagist.org domain SSL on very old PHP, fixes #7530
6 years ago
Jordi Boggiano
a74b63985e
Avoid filtering dev-require packages when loading plugins/scripts, fixes #7516
6 years ago
Jordi Boggiano
0fdf746ebe
Fix --no-plugins not working in certain edge cases
6 years ago
Jordi Boggiano
73f14c0c7c
Fix output when loading zips from cache, fixes #7498
6 years ago
Rafael Kassner
42739e7959
Do not dump source and dist for metapackages
6 years ago
Jordi Boggiano
de6432f5f0
Show overridden php version in diagnose command, fixes #7497
6 years ago
Nicolas Grekas
a3bbcf9c77
Make RemoteFilesystem::getRemoteContents() report response headers also on exceptions
6 years ago
Jordi Boggiano
9bc578e24a
Fix warning tag name, fixes #7494
6 years ago
Jordi Boggiano
d73aef5c8a
Respect --no-plugins flag when firing pre-command-run event
6 years ago
Jordi Boggiano
8eae15182c
Merge pull request #7487 from staabm/patch-1
...
Fixed typo
6 years ago
Markus Staab
eb94f8346a
Fixed typo
6 years ago
Markus Staab
76bf6bdf97
Fixed typo
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
2f69739c1a
Merge remote-tracking branch 'origin/1.6'
6 years ago
Rob Bast
0db48b4f2e
addendum to #7428
6 years ago
Jordi Boggiano
d5a9d86ee4
Undo reformatting from #7441
6 years ago
Jordi Boggiano
1983a450b4
Use rawurldecode instead of urldecode, fixes #7407
6 years ago
Jordi Boggiano
145db9ff52
Merge pull request #7478 from staabm/patch-1
...
prevent preg_replace() calls when cache is not enabled
6 years ago