Jordi Boggiano
4940009f83
Bump phpstan to level 3 ( #9734 )
...
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
4 years ago
Nicolas Grekas
7d4501816c
Allow querying InstalledVersions::isInstalled() for no-dev packages
4 years ago
Jordi Boggiano
6035e462d8
Fix test when on feature branch
4 years ago
Jordi Boggiano
902174d2a7
Improve error reporting when failing to load a package, fixes #9680
4 years ago
Jordi Boggiano
07b8c23f02
Merge branch '1.10'
4 years ago
Nicolas Grekas
725b33ee5a
Handle "versions" option in PathRepository, remove support for "branch-version"
4 years ago
Nicolas Grekas
079e501ac8
Revert "Merge pull request #9273 from nicolas-grekas/dev-version"
...
This reverts commit d2d606ced2
, reversing
changes made to 4a8dbcd145
.
4 years ago
Jordi Boggiano
b7d770659b
CS fixes
4 years ago
Andrés De la Cruz
480a6439fd
Fix phpstan phpdocs issues ( #9478 )
4 years ago
Jordi Boggiano
56c65a58e2
Make platform-check only check non-dev requires, refs #9412
4 years ago
Jordi Boggiano
4797d4afc8
Fix tests
4 years ago
Jordi Boggiano
28e591dcd4
Merge pull request #9387 from studioromeo/fix-git-non-master-default-failing-tests
...
Fix git init -b being unavailable for older versions
4 years ago
Robert Rhoades
2ced7b0bf8
Fix git init -b being unavailable for older versions
...
On older versions of git init doesn't have the -b flag. That
was introduced in v2.28.0.
Instead switch to using git checkout -b which has much
wider support (2.4.12 was as far back as I could check on
the docs).
4 years ago
Jordi Boggiano
372af31d23
Fix tests
4 years ago
Robert Rhoades
e6c7ab693e
Fix running tests with non standard default branch
...
When the global git config has init.defaultbranch set to
something other than master the tests fail. This is because
the tests assume that the default branch is called master
but that may not be the case.
This fixes the tests by ensuring that when running git init
we ensure the default branch is called master regardless of
how git is configured.
4 years ago
Jordi Boggiano
528030716e
Fix tests
4 years ago
Jordi Boggiano
bafdf9f705
Merge branch '1.10'
4 years ago
Nicolas Grekas
893fbfcb89
Add support for "extra.branch-version"
4 years ago
Jordi Boggiano
03b8c3db3f
Merge branch '1.10'
4 years ago
Nicolas Grekas
f9913205dd
Fix VcsRepositoryTest
4 years ago
Jordi Boggiano
1593b67230
Fix warnings on higher phpunit versions
4 years ago
Jordi Boggiano
9a04ecefbf
Merge branch 'master' into filter-packages
4 years ago
Lars Strojny
3e750b69f4
Fix name
4 years ago
Lars Strojny
a83588f568
The proper fix
4 years ago
Lars Strojny
99fd5c7b49
Add tests
4 years ago
Jordi Boggiano
7e1ef19a5a
Expand library version checking capabilities ( closes #9093 )
4 years ago
Wissem Riahi
657ae5519e
Add support for TAR in Artifact packages ( #9105 )
4 years ago
Jordi Boggiano
00f712a7c4
Revert "Allow specifying a version requirement for CLDR"
4 years ago
Lars Strojny
5a02ea6a96
Check that class exists
4 years ago
Lars Strojny
404dea61c2
Allow specifying a version requirement for the relevant CLDR
4 years ago
Jordi Boggiano
942562c382
Clean up Zip Util to be more strict about what is a valid package archive, fixes #8931
4 years ago
Yanick Witschi
ea0ce9dd7d
Merge branch 'master' into filter-packages
4 years ago
Jordi Boggiano
0dad963cd8
Add executeAsync to ProcessExecutor and allow Loop class to wait on it in addition to HttpDownloader
4 years ago
Jordi Boggiano
67a88880ec
Get rid of EmptyConstraint
4 years ago
Yanick Witschi
bde9502473
Made the constraint argument in Link mandatory
4 years ago
Jordi Boggiano
a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks
4 years ago
Jordi Boggiano
b72ac2d01a
Oops
4 years ago
Jordi Boggiano
863e7076ba
Bump to use composer/semver 3.x
4 years ago
Jordi Boggiano
22622372bc
Fix complete test suite for v2
4 years ago
Jordi Boggiano
0d1922dc27
Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions
4 years ago
Jordi Boggiano
44a4429978
Remove PEAR installer/downloader/repos/..., fixes #8778
4 years ago
Jordi Boggiano
62fda2ed85
Reorg ComposerRepository to fix tests
5 years ago
Jordi Boggiano
b6bad4eef6
Add options to configure repository priorities
5 years ago
Graham Campbell
fd63588dce
Fixed up tests
5 years ago
Jordi Boggiano
7a05286f55
Fix build
5 years ago
Jordi Boggiano
9cab8c10cc
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
bc002ae1fb
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
2d8a8ed7e3
Add InstalledRepository to clean up some concepts and usages, remove BaseRepository
5 years ago
Jordi Boggiano
02433c3659
Merge pull request #8565 from glaubinix/t/create-project-add-repository
...
Create project: add option to add the repository to the composer.json
5 years ago
Stephan Vock
2a564a9f36
Create project: add option to add the repository to the composer.json
5 years ago
Jordi Boggiano
589abb06a3
PHPStan fixes
5 years ago
Jordi Boggiano
45ecbae8f5
Merge branch 'master' into 2.0
5 years ago
Ion Bazan
58b34d13e8
fix risky tests (without any assertion)
5 years ago
Ion Bazan
a2137d5263
use Symfony PHPUnit Bridge
5 years ago
Jordi Boggiano
4a7d42604f
Fix tests
5 years ago
Jordi Boggiano
40f5806a7c
Fix ComposerRepo issue
5 years ago
Jordi Boggiano
a5b178084c
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
a902279a5b
Merge branch '1.9'
5 years ago
Maximilian Bösing
3791a574a2
Provide partial packages names if available, closes #8516 , fixes #8526
5 years ago
Stephan Vock
731d94a2a3
VcsRepositories: mark archived repositories as abandoned
5 years ago
Jordi Boggiano
bc2a1d762a
Merge branch 'master' into 2.0
5 years ago
Mike van Rooyen
6b56ddae2a
Remove unused variable
5 years ago
Mike van Rooyen
daedb4a74f
Remove extra line in method following CS-Fixer
5 years ago
Mike van Rooyen
e62478ab89
Test to check there is a RuntimeException thrown when a path repository doesn't exist
5 years ago
Jordi Boggiano
63da7c6b2d
Add install-path to the installed.json for every package, fixes #2174 , closes #2424
5 years ago
Jordi Boggiano
3ef27cabd6
Merge pull request #7999 from Seldaek/store_dev
...
Store dev mode in installed.json, fixes #3008
5 years ago
Jordi Boggiano
0fe200d6d9
Fix origin computation
5 years ago
Jordi Boggiano
6c4357a7ed
Merge branch 'master' into 2.0
5 years ago
Gabriel Caruso
1d05d4171c
Remove unused private methods
5 years ago
Adam Žurek
b935d1c812
fixed phpstan error
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
pfofi
c751914410
Fix URL resolution for Composer repositories
...
Composer was unable canonicalize URLs in non-HTTP(S) Composer
repositories. For example it was not possible to use a `providers-url`
in a repository loaded via the `file://` scheme.
See also: #8115
5 years ago
Jordi Boggiano
60df892517
Store dev mode in installed.json, fixes #3008
6 years ago
Jordi Boggiano
8fe2b9ec69
Fix test
6 years ago
Jordi Boggiano
799717f102
Tweak and fix some more phpstan reports
6 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
6 years ago
Fred Emmott
bac2ef3dfd
Don't do (new Foo())->bar() - not 5.3-compatible
6 years ago
Fred Emmott
1b196720bf
Support identifying the HHVM version when not running with HHVM
...
hhvm-nightly (and the next release) are no longer able to execute
Composer. Support executing Composer with PHP to install dependencies
for hack projects.
The goal is for this to be temporary, until Hack identifies a new
package manager, given that Composer does not aim to be a multi-language
package manager.
fixes #7734
6 years ago
Jordi Boggiano
f54237159d
Cleanups
6 years ago
Jordi Boggiano
fd5c5ff6bc
Fix implementation of whatProvides for older provider-only repos
6 years ago
Jordi Boggiano
b47330adf1
Refactor ComposerRepository to work with combined repos having lazy providers and partial packages
6 years ago
Jordi Boggiano
e8c6948770
Deduplicate link instances between versions of a given package
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
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
42dca2aff5
Remove weird binary file from repo
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
Stephan Vock
819f487b38
Bitbucket: switch to v2 API
6 years ago
Kristof Ringleff, Fooman
add71388ca
Add failing artifact
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
Jordi Boggiano
ff59bbdab0
CS fixer
6 years ago
Jordi Boggiano
43e33be79f
Fix regression in 036fc44c25
, fixes #7268
6 years ago
Jordi Boggiano
066351c5b9
Remove use of deprecated getMock method
7 years ago
Jordi Boggiano
036fc44c25
Make sure aliased packages are removed correctly from the repository, fixes #7167
7 years ago
Jean-Baptiste
595cf4432c
Fix Test RepositoryFactory
7 years ago
Jordi Boggiano
c8aea719b1
CS fixes
7 years ago
Jordi Boggiano
0a9abeef88
Merge branch '1.5'
7 years ago
Renoir Boulanger
9f723ba381
Support GitLab repositories w/ port over HTTPs
...
When we have self-hosted GitLab, over HTTPs, on a different port.
rel composer/composer#6894
7 years ago
Gabriel Caruso
885da4c8ef
Refactoring tests
7 years ago